From 98386dcee94655b20d9a1b1c9b9e63019e249db4 Mon Sep 17 00:00:00 2001 From: Minseo Kim <75977640+luckyvickyricky@users.noreply.github.com> Date: Wed, 30 Jul 2025 00:03:17 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20[i18n-KO]=20Translated=20`main?= =?UTF-8?q?=5Fclasses/peft.md`=20(#39515)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: ko: main_classes/peft.md * feat: nmt draft * docs: add missing TOC to documentation for `PeftAdapterMixin` section Added a table of contents (TOC) to the documentation, specifically for the `transformers.integrations.PeftAdapterMixin` section, following the structure and content outlined in [this link](https://huggingface.co/docs/transformers/main/en/main_classes/peft#transformers.integrations.PeftAdapterMixin). * fix: Improve naturalness of purpose expression in Korean Changed '관리하기 위한' to '관리할 수 있도록' for more natural Korean expression when describing the purpose of providing functions. * fix: Simplify plural form and make expression more concise Changed '~할 수 없기 때문에' to '~할 수 없어' for more concise expression while maintaining clarity. * fix: Replace technical term '주입' with more natural '적용' Changed '주입할 수 없어' to '적용할 수 없어' for better readability. Considered alternatives: '삽입': Too literal translation of 'inject' '입력': Could be misunderstood as data input '통합': Implies merging two systems '추가': Simple but less precise '적용' was chosen as it's the most natural and widely used term in Korean technical documentation for this context. * fix: update toctree path for PEFT to lowercase Changed the toctree path from 'PEFT' (uppercase) to 'peft' (lowercase) to match the correct directory naming convention and prevent broken links. * docs: update as per reviewer feedback after rebase --- docs/source/ko/_toctree.yml | 4 ++-- docs/source/ko/main_classes/peft.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 docs/source/ko/main_classes/peft.md diff --git a/docs/source/ko/_toctree.yml b/docs/source/ko/_toctree.yml index 05031b3178..c8332d9bb2 100644 --- a/docs/source/ko/_toctree.yml +++ b/docs/source/ko/_toctree.yml @@ -332,8 +332,8 @@ title: (번역중) Optimization - local: main_classes/output title: 모델 출력 - - local: in_translation - title: (번역중) PEFT + - local: main_classes/peft + title: PEFT - local: in_translation title: (번역중) Pipelines - local: in_translation diff --git a/docs/source/ko/main_classes/peft.md b/docs/source/ko/main_classes/peft.md new file mode 100644 index 0000000000..662b4b495f --- /dev/null +++ b/docs/source/ko/main_classes/peft.md @@ -0,0 +1,23 @@ + + +# PEFT[[transformers.integrations.PeftAdapterMixin]] + +[`~integrations.PeftAdapterMixin`]은 Transformers 라이브러리와 함께 어댑터를 관리할 수 있도록 [PEFT](https://huggingface.co/docs/peft/index) 라이브러리의 함수들을 제공합니다. 이 믹스인은 현재 LoRA, IA3, AdaLora를 지원합니다. 프리픽스 튜닝 방법들(프롬프트 튜닝, 프롬프트 학습)은 torch 모듈에 삽입할 수 없는 구조이므로 지원되지 않습니다. + +[[autodoc]] integrations.PeftAdapterMixin + - load_adapter + - add_adapter + - set_adapter + - disable_adapters + - enable_adapters + - active_adapters + - get_adapter_state_dict