OctoPack: Instruction Tuning Code Large Language Models Paper • 2308.07124 • Published Aug 14, 2023 • 33
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "bigcode/santacoder-ldf"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bigcode/santacoder-ldf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'