Instructions to use pravinbhat1/distilgpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pravinbhat1/distilgpt2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pravinbhat1/distilgpt2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 108 Bytes
479c23e | 1 2 3 4 5 6 | {
"do_sample": true,
"eos_token_id": 50256,
"max_new_tokens": 50,
"transformers_version": "4.34.1"
} |