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 templates/adding_a_new_example_script/cookiecutter.json from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/templates/adding_a_new_example_script/cookiecutter.json
- Command line
-
hf download hf://AbdulElahGwaith/transformers/templates/adding_a_new_example_script/cookiecutter.json
-
curl -L -o cookiecutter.json https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/templates/adding_a_new_example_script/cookiecutter.json
328 Bytes
| { | |
| "example_name": "text classification", | |
| "directory_name": "{{cookiecutter.example_name|lower|replace(' ', '-')}}", | |
| "example_shortcut": "{{cookiecutter.directory_name}}", | |
| "model_class": "AutoModel", | |
| "authors": "The HuggingFace Team", | |
| "can_train_from_scratch": ["True", "False"], | |
| "with_trainer": ["True", "False"] | |
| } |