Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐ŸŒ [i18n-KO] Translated main_classes/onnx.md to Korean #33601

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/ko/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@
title: (๋ฒˆ์—ญ์ค‘) Models
- local: in_translation
title: (๋ฒˆ์—ญ์ค‘) Text Generation
- local: in_translation
title: (๋ฒˆ์—ญ์ค‘) ONNX
- local: main_classes/onnx
title: ONNX
- local: in_translation
title: (๋ฒˆ์—ญ์ค‘) Optimization
- local: in_translation
Expand Down
50 changes: 50 additions & 0 deletions docs/source/ko/main_classes/onnx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!--Copyright 2020 The HuggingFace Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

โš ๏ธ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.

-->

# ๐Ÿค— ํŠธ๋žœ์Šคํฌ๋จธ ๋ชจ๋ธ์„ ONNX๋กœ ๋‚ด๋ณด๋‚ด๊ธฐ[[exporting--transformers-models-to-onnx]]

๐Ÿค— ํŠธ๋žœ์Šคํฌ๋จธ๋Š” `transformers.onnx` ํŒจํ‚ค์ง€๋ฅผ ์ œ๊ณตํ•˜๋ฉฐ, ํŒจํ‚ค์ง€๋ฅผ ํ†ตํ•ด ์„ค์ • ๊ฐ์ฒด๋ฅผ ํ™œ์šฉํ•จ์œผ๋กœ์จ ๋ชจ๋ธ ์ฒดํฌํฌ์ธํŠธ๋ฅผ ONNX ๊ทธ๋ž˜ํ”„๋กœ ๋ณ€ํ™˜ํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿค— ํŠธ๋žœ์Šคํฌ๋จธ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ [์ด ๊ฐ€์ด๋“œ](../serialization)๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

## ONNX ์„ค์ •[[onnx-configurations]]

๋‚ด๋ณด๋‚ด๊ณ ์ž ํ•˜๋Š” ๋ชจ๋ธ ์•„ํ‚คํ…์ฒ˜์˜ ์œ ํ˜•์— ๋”ฐ๋ผ ์ƒ์†๋ฐ›์•„์•ผ ํ•  ์„ธ ๊ฐ€์ง€ ์ถ”์ƒ ํด๋ž˜์Šค๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค:

* ์ธ์ฝ”๋” ๊ธฐ๋ฐ˜ ๋ชจ๋ธ์€ [`~onnx.config.OnnxConfig`]์—์„œ ์ƒ์†๋ฐ›์Šต๋‹ˆ๋‹ค.
* ๋””์ฝ”๋” ๊ธฐ๋ฐ˜ ๋ชจ๋ธ์€ [`~onnx.config.OnnxConfigWithPast`]์—์„œ ์ƒ์†๋ฐ›์Šต๋‹ˆ๋‹ค.
* ์ธ์ฝ”๋”-๋””์ฝ”๋” ๊ธฐ๋ฐ˜ ๋ชจ๋ธ์€ [`~onnx.config.OnnxSeq2SeqConfigWithPast`]์—์„œ ์ƒ์†๋ฐ›์Šต๋‹ˆ๋‹ค.

### OnnxConfig[[transformers.onnx.OnnxConfig]]

[[autodoc]] onnx.config.OnnxConfig

### OnnxConfigWithPast[[transformers.onnx.OnnxConfigWithPast]]

[[autodoc]] onnx.config.OnnxConfigWithPast

### OnnxSeq2SeqConfigWithPast[[OnnxSeq2SeqConfigWithPast]]

[[autodoc]] onnx.config.OnnxSeq2SeqConfigWithPast

## ONNX ํŠน์ง•[[onnx-features]]

๊ฐ ONNX ์„ค์ •์€ ๋‹ค์–‘ํ•œ ์œ ํ˜•์˜ ํ† ํด๋กœ์ง€๋‚˜ ์ž‘์—…์— ๋Œ€ํ•ด ๋ชจ๋ธ์„ ๋‚ด๋ณด๋‚ผ ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” _features_ ์„ธํŠธ์™€ ์—ฐ๊ด€๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

### FeaturesManager[[transformers.onnx.FeaturesManager]]

[[autodoc]] onnx.features.FeaturesManager