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