Instructions to use marella/gpt-2-ggml-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marella/gpt-2-ggml-example with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("marella/gpt-2-ggml-example", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_type": "gpt2", | |
| "task_specific_params": { | |
| "text-generation": { | |
| "top_k": 40, | |
| "top_p": 0.95, | |
| "temperature": 0.8, | |
| "repetition_penalty": 1.1, | |
| "last_n_tokens": 64 | |
| } | |
| } | |
| } |