Instructions to use hf-internal-testing/tiny-random-gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-gpt2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-gpt2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +1 -2
generation_config.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"transformers_version": "4.31.0.dev0"
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"transformers_version": "foo"
|
|
|
|
| 3 |
}
|