From 47da2c528bb74317627d4629d83b222c53c45a93 Mon Sep 17 00:00:00 2001 From: Sungmin Oh Date: Wed, 9 Oct 2024 09:11:02 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20[i18n-KO]=20Translated=20`main?= =?UTF-8?q?=5Fclasses/configuration.md`=20to=20Korean=20=20(#33952)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: ko: main_classes/configuration.md * feat: nmt draft --- docs/source/ko/_toctree.yml | 4 +-- docs/source/ko/main_classes/configuration.md | 28 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 docs/source/ko/main_classes/configuration.md diff --git a/docs/source/ko/_toctree.yml b/docs/source/ko/_toctree.yml index 2bceac0402..bbe39a262f 100644 --- a/docs/source/ko/_toctree.yml +++ b/docs/source/ko/_toctree.yml @@ -276,8 +276,8 @@ title: (번역중) Backbones - local: in_translation title: (번역중) Callbacks - - local: in_translation - title: (번역중) Configuration + - local: main_classes/configuration + title: 구성 - local: in_translation title: (번역중) Data Collator - local: in_translation diff --git a/docs/source/ko/main_classes/configuration.md b/docs/source/ko/main_classes/configuration.md new file mode 100644 index 0000000000..6c6278a025 --- /dev/null +++ b/docs/source/ko/main_classes/configuration.md @@ -0,0 +1,28 @@ + + +# 구성[[configuration]] + +기본 클래스 [`PretrainedConfig`]는 로컬 파일이나 디렉토리, 또는 라이브러리에서 제공하는 사전 학습된 모델 구성(HuggingFace의 AWS S3 저장소에서 다운로드됨)으로부터 구성을 불러오거나 저장하는 공통 메서드를 구현합니다. 각 파생 구성 클래스는 모델별 특성을 구현합니다. + +모든 구성 클래스에 존재하는 공통 속성은 다음과 같습니다: `hidden_size`, `num_attention_heads`, `num_hidden_layers`. 텍스트 모델은 추가로 `vocab_size`를 구현합니다. + + +## PretrainedConfig[[transformers.PretrainedConfig]] + +[[autodoc]] PretrainedConfig + - push_to_hub + - all