Skip to content

Commit 386401e

Browse files
fabxoeahnjjnuatmochoi
authored
🌐 [i18n-KO] Translated main_classes/onnx.md to Korean (#33601)
* docs: ko: main_classes/onnx.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <[email protected]> * fix: resolve suggestions * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: SeongWooChoi <[email protected]> * fix: resolve suggestions Co-authored-by: SeongWooChoi <[email protected]> * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <[email protected]> --------- Co-authored-by: Ahnjj_DEV <[email protected]> Co-authored-by: SeongWooChoi <[email protected]>
1 parent db5f117 commit 386401e

File tree

2 files changed

+52
-2
lines changed

2 files changed

+52
-2
lines changed

docs/source/ko/_toctree.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@
288288
title: (번역중) Models
289289
- local: in_translation
290290
title: (번역중) Text Generation
291-
- local: in_translation
292-
title: (번역중) ONNX
291+
- local: main_classes/onnx
292+
title: ONNX
293293
- local: in_translation
294294
title: (번역중) Optimization
295295
- local: in_translation
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!--Copyright 2020 The HuggingFace Team. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4+
the License. You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9+
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10+
specific language governing permissions and limitations under the License.
11+
12+
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
13+
rendered properly in your Markdown viewer.
14+
15+
-->
16+
17+
# 🤗 Transformers 모델을 ONNX로 내보내기[[exporting--transformers-models-to-onnx]]
18+
19+
🤗 트랜스포머는 `transformers.onnx` 패키지를 제공하며, 이 패키지는 설정 객체를 활용하여 모델 체크포인트를 ONNX 그래프로 변환할 수 있게 합니다.
20+
21+
🤗 Transformers에 대한 자세한 내용은 [이 가이드](../serialization)를 참조하세요.
22+
23+
## ONNX 설정[[onnx-configurations]]
24+
25+
내보내려는(export) 모델 아키텍처의 유형에 따라 상속받아야 할 세 가지 추상 클래스를 제공합니다:
26+
27+
* 인코더 기반 모델은 [`~onnx.config.OnnxConfig`]을 상속받습니다.
28+
* 디코더 기반 모델은 [`~onnx.config.OnnxConfigWithPast`]을 상속받습니다.
29+
* 인코더-디코더 기반 모델은 [`~onnx.config.OnnxSeq2SeqConfigWithPast`]을 상속받습니다.
30+
31+
### OnnxConfig[[transformers.onnx.OnnxConfig]]
32+
33+
[[autodoc]] onnx.config.OnnxConfig
34+
35+
### OnnxConfigWithPast[[transformers.onnx.OnnxConfigWithPast]]
36+
37+
[[autodoc]] onnx.config.OnnxConfigWithPast
38+
39+
### OnnxSeq2SeqConfigWithPast[[OnnxSeq2SeqConfigWithPast]]
40+
41+
[[autodoc]] onnx.config.OnnxSeq2SeqConfigWithPast
42+
43+
## ONNX 특징[[onnx-features]]
44+
45+
각 ONNX 설정은 다양한 유형의 토폴로지나 작업에 대해 모델을 내보낼 수 있게(exporting) 해주는 _features_ 세트와 연관되어 있습니다.
46+
47+
### FeaturesManager[[transformers.onnx.FeaturesManager]]
48+
49+
[[autodoc]] onnx.features.FeaturesManager
50+

0 commit comments

Comments
 (0)