Instructions to use AbdulElahGwaith/transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbdulElahGwaith/transformers with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AbdulElahGwaith/transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download docs/source/ko/internal/file_utils.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/internal/file_utils.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/ko/internal/file_utils.md
-
curl -L -o file_utils.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/internal/file_utils.md
1.6 kB
์ผ๋ฐ ์ ํธ๋ฆฌํฐ (General Utilities) [[general-utilities]]
์ด ํ์ด์ง๋ utils.py ํ์ผ์ ์๋ Transformers์ ์ผ๋ฐ ์ ํธ๋ฆฌํฐ ํจ์๋ค์ ๋์ดํฉ๋๋ค.
์ด ํจ์๋ค ๋๋ถ๋ถ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ผ๋ฐ์ ์ธ ์ฝ๋๋ฅผ ์ฐ๊ตฌํ ๋๋ง ์ ์ฉํฉ๋๋ค.
Enums ๋ฐ namedtuples [[transformers.utils.ExplicitEnum]]
[[autodoc]] utils.ExplicitEnum
[[autodoc]] utils.PaddingStrategy
[[autodoc]] utils.TensorType
ํน์ ๋ฐ์ฝ๋ ์ดํฐ (Special Decorators) [[transformers.add_start_docstrings]]
[[autodoc]] utils.add_start_docstrings
[[autodoc]] utils.add_start_docstrings_to_model_forward
[[autodoc]] utils.add_end_docstrings
[[autodoc]] utils.add_code_sample_docstrings
[[autodoc]] utils.replace_return_docstrings
๊ธฐํ ์ ํธ๋ฆฌํฐ [[transformers.utils._LazyModule]]
[[autodoc]] utils._LazyModule