Instructions to use asfafaaf3434/MyAwesomeModel-TestRepository with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asfafaaf3434/MyAwesomeModel-TestRepository with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="asfafaaf3434/MyAwesomeModel-TestRepository")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("asfafaaf3434/MyAwesomeModel-TestRepository") model = AutoModel.from_pretrained("asfafaaf3434/MyAwesomeModel-TestRepository", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from asfafaaf3434/MyAwesomeModel-TestRepository: direct link, hf CLI and curl.
- Browser
- Download file 66 Bytes
-
https://huggingface.co/asfafaaf3434/MyAwesomeModel-TestRepository/resolve/main/config.json
- Command line
-
hf download hf://asfafaaf3434/MyAwesomeModel-TestRepository/config.json
-
curl -L -o config.json https://huggingface.co/asfafaaf3434/MyAwesomeModel-TestRepository/resolve/main/config.json
66 Bytes
| { | |
| "model_type": "bert", | |
| "architectures": ["BertModel"] | |
| } |