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/es/_config.py from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/es/_config.py
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/es/_config.py
-
curl -L -o _config.py https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/es/_config.py
534 Bytes
| # docstyle-ignore | |
| INSTALL_CONTENT = """ | |
| # Transformers installation | |
| ! pip install transformers datasets evaluate accelerate | |
| # To install from source instead of the last release, comment the command above and uncomment the following one. | |
| # ! 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", | |
| } | |