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
| { | |
| "model_type": "gpt2", | |
| "architectures": ["GPT2LMHeadModel"], | |
| "n_layer": 24, | |
| "n_head": 16, | |
| "n_embd": 1024 | |
| } | |