Text Generation
Transformers
PyTorch
TensorBoard
gpt2
Generated from Trainer
text-generation-inference
How to use from
vLLMUse Docker
docker model run hf.co/under-tree/choice-question-generatorQuick Links
choice-question-generator
This model is a fine-tuned version of distilgpt2 on the None dataset.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 40
- eval_batch_size: 40
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Framework versions
- Transformers 4.27.3
- Pytorch 2.0.0+cpu
- Datasets 2.10.1
- Tokenizers 0.13.2
- Downloads last month
- 7
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "under-tree/choice-question-generator"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "under-tree/choice-question-generator", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'