Instructions to use dusersad12/BestCheckpoint-ExpRepo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dusersad12/BestCheckpoint-ExpRepo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dusersad12/BestCheckpoint-ExpRepo")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("dusersad12/BestCheckpoint-ExpRepo") model = AutoModelForCausalLM.from_pretrained("dusersad12/BestCheckpoint-ExpRepo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from dusersad12/BestCheckpoint-ExpRepo: direct link, hf CLI and curl.
- Browser
- Download file 128 Bytes
-
https://huggingface.co/dusersad12/BestCheckpoint-ExpRepo/resolve/main/config.json
- Command line
-
hf download hf://dusersad12/BestCheckpoint-ExpRepo/config.json
-
curl -L -o config.json https://huggingface.co/dusersad12/BestCheckpoint-ExpRepo/resolve/main/config.json
128 Bytes
| { | |
| "model_type": "gpt2", | |
| "architectures": ["GPT2LMHeadModel"], | |
| "n_layer": 24, | |
| "n_head": 16, | |
| "n_embd": 1024 | |
| } | |