Instructions to use optimum-intel-internal-testing/ov-tiny-random-gpt2-without-cache with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use optimum-intel-internal-testing/ov-tiny-random-gpt2-without-cache with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("optimum-intel-internal-testing/ov-tiny-random-gpt2-without-cache", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +7 -0
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 98,
|
| 4 |
+
"eos_token_id": 98,
|
| 5 |
+
"pad_token_id": 98,
|
| 6 |
+
"transformers_version": "4.55.4"
|
| 7 |
+
}
|