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 reference/inference_endpoints.md to Korean #2180

Merged
2 changes: 2 additions & 0 deletions docs/source/ko/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
title: (๋ฒˆ์—ญ ์ค‘) Mixins & serialization methods
- local: package_reference/inference_client
title: ์ถ”๋ก  ํด๋ผ์ด์–ธํŠธ
- local: package_reference/inference_endpoints
title: ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ
- local: in_translation
title: (๋ฒˆ์—ญ ์ค‘) HfFileSystem
- local: in_translation
Expand Down
42 changes: 42 additions & 0 deletions docs/source/ko/package_reference/inference_endpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ [[inference-endpoints]]

Hugging Face๊ฐ€ ๊ด€๋ฆฌํ•˜๋Š” ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ๋Š” ์šฐ๋ฆฌ๊ฐ€ ๋ชจ๋ธ์„ ์‰ฝ๊ณ  ์•ˆ์ „ํ•˜๊ฒŒ ๋ฐฐํฌํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ๋„๊ตฌ์ž…๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ๋Š” [Hub](https://huggingface.co/models)์— ์žˆ๋Š” ๋ชจ๋ธ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์„ค๊ณ„๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์„œ๋Š” `huggingface_hub`์™€ ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ ํ†ตํ•ฉ์— ๊ด€ํ•œ ์ฐธ์กฐ ํŽ˜์ด์ง€์ด๋ฉฐ, ๋”์šฑ ์ž์„ธํ•œ ์ •๋ณด๋Š” [๊ณต์‹ ๋ฌธ์„œ](https://huggingface.co/docs/inference-endpoints/index)๋ฅผ ํ†ตํ•ด ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

<Tip>

'huggingface_hub'๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ๋ฅผ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋ฐฉ์‹์œผ๋กœ ๊ด€๋ฆฌํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ๊ณ  ์‹ถ๋‹ค๋ฉด, [๊ด€๋ จ ๊ฐ€์ด๋“œ](../guides/inference_endpoints)๋ฅผ ํ™•์ธํ•ด ๋ณด์„ธ์š”.

</Tip>

์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ๋Š” API๋กœ ์‰ฝ๊ฒŒ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ์—”๋“œํฌ์ธํŠธ๋“ค์€ [Swagger](https://api.endpoints.huggingface.cloud/)๋ฅผ ํ†ตํ•ด ๋ฌธ์„œํ™”๋˜์–ด ์žˆ๊ณ , [`InferenceEndpoint`] ํด๋ž˜์Šค๋Š” ์ด API๋ฅผ ์‚ฌ์šฉํ•ด ๋งŒ๋“  ๊ฐ„๋‹จํ•œ ๋ž˜ํผ์ž…๋‹ˆ๋‹ค.

## ๋งค์†Œ๋“œ [[methods]]

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ถ”๋ก  ์—”๋“œํฌ์ธํŠธ์˜ ๊ธฐ๋Šฅ์ด [`HfApi`]์•ˆ์— ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค:

- [`get_inference_endpoint`]์™€ [`list_inference_endpoints`]๋ฅผ ์‚ฌ์šฉํ•ด ์—”๋“œํฌ์ธํŠธ ์ •๋ณด๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
- [`create_inference_endpoint`], [`update_inference_endpoint`], [`delete_inference_endpoint`]๋กœ ์—”๋“œํฌ์ธํŠธ๋ฅผ ๋ฐฐํฌํ•˜๊ณ  ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
- [`pause_inference_endpoint`]์™€ [`resume_inference_endpoint`]๋กœ ์—”๋“œํฌ์ธํŠธ๋ฅผ ์ž ์‹œ ๋ฉˆ์ถ”๊ฑฐ๋‚˜ ๋‹ค์‹œ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
- [`scale_to_zero_inference_endpoint`]๋กœ ์—”๋“œํฌ์ธํŠธ์˜ ๋ณต์ œ๋ณธ์„ 0๊ฐœ๋กœ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

## InferenceEndpoint [[huggingface_hub.InferenceEndpoint]]

๊ธฐ๋ณธ ๋ฐ์ดํ„ฐ ํด๋ž˜์Šค๋Š” [`InferenceEndpoint`]์ž…๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์—๋Š” ๊ตฌ์„ฑ ๋ฐ ํ˜„์žฌ ์ƒํƒœ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๋ฐฐํฌ๋œ `InferenceEndpoint`์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐฐํฌ ํ›„์—๋Š” [`InferenceEndpoint.client`]์™€ [`InferenceEndpoint.async_client`]๋ฅผ ์‚ฌ์šฉํ•ด ์—”๋“œํฌ์ธํŠธ์—์„œ ์ถ”๋ก  ์ž‘์—…์„ ํ•  ์ˆ˜ ์žˆ๊ณ , ์ด๋•Œ [`InferenceClient`]์™€ [`AsyncInferenceClient`] ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

[[autodoc]] InferenceEndpoint
- from_raw
- client
- async_client
- all

## InferenceEndpointStatus [[huggingface_hub.InferenceEndpointStatus]]

[[autodoc]] InferenceEndpointStatus

## InferenceEndpointType [[huggingface_hub.InferenceEndpointType]]

[[autodoc]] InferenceEndpointType

## InferenceEndpointError [[huggingface_hub.InferenceEndpointError]]

[[autodoc]] InferenceEndpointError
Loading