From b5a95f0b8057748d9dfa7620851fb13d80549217 Mon Sep 17 00:00:00 2001 From: Sungmin Oh Date: Thu, 25 Apr 2024 23:22:58 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20[i18n-KO]=20Translated=20`packag?= =?UTF-8?q?e=5Freference/mixins.md`=20to=20Korean=20(#2166)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: ko: package_reference/mixins.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: Chulhwa (Evan) Han * fix: resolve suggestions Co-authored-by: Seoyoung Kim <79852630+seoyoung-3060@users.noreply.github.com> * fix: resolve suggestions --------- Co-authored-by: Chulhwa (Evan) Han Co-authored-by: Seoyoung Kim <79852630+seoyoung-3060@users.noreply.github.com> Co-authored-by: Lucain --- docs/source/ko/_toctree.yml | 4 +-- docs/source/ko/package_reference/mixins.md | 37 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 docs/source/ko/package_reference/mixins.md diff --git a/docs/source/ko/_toctree.yml b/docs/source/ko/_toctree.yml index a0c2fcf33c..817ef264fa 100644 --- a/docs/source/ko/_toctree.yml +++ b/docs/source/ko/_toctree.yml @@ -54,8 +54,8 @@ title: 허깅페이스 Hub API - local: package_reference/file_download title: 파일 다운로드하기 - - local: in_translation - title: (번역 중) Mixins & serialization methods + - local: package_reference/mixins + title: 믹스인 & 직렬화 메소드 - local: package_reference/inference_types title: 추론 타입 - local: package_reference/inference_client diff --git a/docs/source/ko/package_reference/mixins.md b/docs/source/ko/package_reference/mixins.md new file mode 100644 index 0000000000..53aaf9303a --- /dev/null +++ b/docs/source/ko/package_reference/mixins.md @@ -0,0 +1,37 @@ + + +# 믹스인 & 직렬화 메소드[[mixins--serialization-methods]] + +## 믹스인[[mixins]] + +`huggingface_hub` 라이브러리는 객체에 함수들의 업로드 및 다운로드 기능을 손쉽게 제공하기 위해서, 부모 클래스로 사용될 수 있는 다양한 믹스인을 제공합니다. +ML 프레임워크를 Hub와 통합하는 방법은 [통합 가이드](../guides/integrations)를 통해 배울 수 있습니다. + +### 제네릭[[huggingface_hub.ModelHubMixin]] + +[[autodoc]] ModelHubMixin + - all + - _save_pretrained + - _from_pretrained + +### PyTorch[[huggingface_hub.PyTorchModelHubMixin]] + +[[autodoc]] PyTorchModelHubMixin + +### Keras[[huggingface_hub.KerasModelHubMixin]] + +[[autodoc]] KerasModelHubMixin + +[[autodoc]] from_pretrained_keras + +[[autodoc]] push_to_hub_keras + +[[autodoc]] save_pretrained_keras + +### Fastai[[huggingface_hub.from_pretrained_fastai]] + +[[autodoc]] from_pretrained_fastai + +[[autodoc]] push_to_hub_fastai