How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "quintic/codegen-diff-6B-gptj"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "quintic/codegen-diff-6B-gptj",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/quintic/codegen-diff-6B-gptj
Quick Links

This is a conversion of https://huggingface.co/CarperAI/diff-codegen-350m-v2 into GPT-J implementation via the script https://gist.github.com/moyix/7896575befbe1b99162ccfec8d135566

For details, please refer to Carper's model card. Anyone can do this conversion easily. Uploaded here simply for easy access without moving stuff back-and-forth.

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support