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/_config.py from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/_config.py
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/ko/_config.py
-
curl -L -o _config.py https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/_config.py
552 Bytes
| # docstyle-ignore | |
| INSTALL_CONTENT = """ | |
| # Transformers ์ค์น ๋ฐฉ๋ฒ | |
| ! pip install transformers datasets evaluate accelerate | |
| # ๋ง์ง๋ง ๋ฆด๋ฆฌ์ค ๋์ ์์ค์์ ์ค์นํ๋ ค๋ฉด, ์ ๋ช ๋ น์ ์ฃผ์์ผ๋ก ๋ฐ๊พธ๊ณ ์๋ ๋ช ๋ น์ ํด์ ํ์ธ์. | |
| # ! pip install git+https://github.com/huggingface/transformers.git | |
| """ | |
| notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}] | |
| black_avoid_patterns = { | |
| "{processor_class}": "FakeProcessorClass", | |
| "{model_class}": "FakeModelClass", | |
| "{object_class}": "FakeObjectClass", | |
| } | |