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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
8c7bafd | 1 2 3 4 5 6 7 8 | {
"_from_model_config": true,
"bos_token_id": 98,
"eos_token_id": 98,
"pad_token_id": 98,
"transformers_version": "4.55.4"
}
|