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

Question answering model finetuned from GPT4All-J v1.3 with Direct Preference Optimization.
Dataset: Dahoas/instruct-synthetic-prompt-responses.

The model was finetuned with the following promt:
"Answer the following question in context:\n\nQuestion: " + samples["prompt"] + " Answer: "
It should be benefical to use the same or a similar prompt for inference.

An increase in performance compared to GPT4All-J v1.3 was observed when using two-shot Chain-of-Thought prompting.

HellaSwag WinoGrande BooLQ ARC-c
62.37% 63.3% 65.2% 32.76%
Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train Z3R6X/gpt4all_dpo_instruct

Paper for Z3R6X/gpt4all_dpo_instruct