Instructions to use Winmodel/custom-gpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Winmodel/custom-gpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Winmodel/custom-gpt", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Winmodel/custom-gpt", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "GPT" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "hf_configuration.ExGPTConfig", | |
| "AutoModel": "hf_modeling.GPT" | |
| }, | |
| "block_size": 1024, | |
| "model_type": "ExGPT", | |
| "n_embd": 768, | |
| "n_head": 12, | |
| "n_layer": 12, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.48.3", | |
| "vocab_size": 50304 | |
| } | |