Instructions to use openmodelai/GPT-2-Lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use openmodelai/GPT-2-Lite with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download generation_config.json from openmodelai/GPT-2-Lite: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/openmodelai/GPT-2-Lite/resolve/main/generation_config.json
- Command line
-
hf download hf://openmodelai/GPT-2-Lite/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/openmodelai/GPT-2-Lite/resolve/main/generation_config.json
247 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "do_sample": true, | |
| "eos_token_id": 2, | |
| "max_new_tokens": 120, | |
| "pad_token_id": 2, | |
| "repetition_penalty": 1.12, | |
| "temperature": 0.8, | |
| "top_p": 0.92, | |
| "transformers_version": "4.49.0" | |
| } | |