How to use from
vLLMUse Docker
docker model run hf.co/Alistair-R/EncodeHackathonLevelGenQuick Links
Model created for the Encode Hackathon Virtual Protocol Bounty. The model is a fine-tuned version of distilgpt2 designed to output level schematics for a platform when given the prompt "LevelSchematic:". For further details on the project, please go here.
- Downloads last month
- 3
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "Alistair-R/EncodeHackathonLevelGen"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Alistair-R/EncodeHackathonLevelGen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'