Instructions to use openai/imagegpt-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/imagegpt-small with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("openai/imagegpt-small", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Remove eos token id
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
"activation_function": "quick_gelu",
|
| 3 |
"attn_pdrop": 0.1,
|
| 4 |
"embd_pdrop": 0.1,
|
| 5 |
-
"eos_token_id": 50256,
|
| 6 |
"initializer_range": 0.02,
|
| 7 |
"layer_norm_epsilon": 1e-05,
|
| 8 |
"model_type": "imagegpt",
|
|
|
|
| 2 |
"activation_function": "quick_gelu",
|
| 3 |
"attn_pdrop": 0.1,
|
| 4 |
"embd_pdrop": 0.1,
|
|
|
|
| 5 |
"initializer_range": 0.02,
|
| 6 |
"layer_norm_epsilon": 1e-05,
|
| 7 |
"model_type": "imagegpt",
|