princeton-nlp/llama3-ultrafeedback
Viewer • Updated • 61.8k • 239 • 18
How to use RAY2L/pythia-410m-deduped-SimPOW-0 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="RAY2L/pythia-410m-deduped-SimPOW-0") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("RAY2L/pythia-410m-deduped-SimPOW-0")
model = AutoModelForCausalLM.from_pretrained("RAY2L/pythia-410m-deduped-SimPOW-0")How to use RAY2L/pythia-410m-deduped-SimPOW-0 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "RAY2L/pythia-410m-deduped-SimPOW-0"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "RAY2L/pythia-410m-deduped-SimPOW-0",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/RAY2L/pythia-410m-deduped-SimPOW-0
How to use RAY2L/pythia-410m-deduped-SimPOW-0 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "RAY2L/pythia-410m-deduped-SimPOW-0" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "RAY2L/pythia-410m-deduped-SimPOW-0",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "RAY2L/pythia-410m-deduped-SimPOW-0" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "RAY2L/pythia-410m-deduped-SimPOW-0",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use RAY2L/pythia-410m-deduped-SimPOW-0 with Docker Model Runner:
docker model run hf.co/RAY2L/pythia-410m-deduped-SimPOW-0
This model is a fine-tuned version of EleutherAI/pythia-410m-deduped on the princeton-nlp/llama3-ultrafeedback dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Original Losses | Weight | Abs Diff | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | All Logps 1 | All Logps 1 Values | All Logps 2 | All Logps 2 Values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.9612 | 0.0385 | 1 | 1.7894 | 1.8125 | 1.0 | 0.4492 | -4.9062 | -5.0938 | 0.4405 | 0.1895 | -2.0312 | -1.9688 | 5.6875 | 5.7188 | -657.8339 | -657.8338 | 434.6329 | 434.6329 |
| 1.9612 | 0.0769 | 2 | 1.7887 | 1.8125 | 1.0 | 0.4531 | -4.9062 | -5.0938 | 0.4444 | 0.1895 | -2.0312 | -1.9609 | 5.6875 | 5.6875 | -657.5561 | -657.5560 | 434.6329 | 434.6329 |
| 1.9612 | 0.1154 | 3 | 1.7887 | 1.8203 | 1.0 | 0.4512 | -4.9375 | -5.125 | 0.4444 | 0.1885 | -2.0469 | -1.9688 | 5.6875 | 5.7188 | -657.2574 | -657.2574 | 434.6329 | 434.6329 |
| 1.9612 | 0.1538 | 4 | 1.7891 | 1.8125 | 1.0 | 0.4512 | -4.9375 | -5.0938 | 0.4365 | 0.1807 | -2.0469 | -1.9688 | 5.6875 | 5.7188 | -657.5514 | -657.5513 | 434.6329 | 434.6329 |
| 1.868 | 0.1923 | 5 | 1.7881 | 1.8125 | 1.0 | 0.4473 | -4.9062 | -5.0938 | 0.4325 | 0.1816 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -656.7651 | -656.7651 | 434.6329 | 434.6329 |
| 1.868 | 0.2308 | 6 | 1.7911 | 1.8203 | 1.0 | 0.4512 | -4.9375 | -5.0938 | 0.4524 | 0.1670 | -2.0469 | -1.9766 | 5.6875 | 5.7188 | -658.1024 | -658.1024 | 434.6329 | 434.6329 |
| 1.868 | 0.2692 | 7 | 1.7870 | 1.8125 | 1.0 | 0.4512 | -4.9062 | -5.0938 | 0.4484 | 0.1846 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.3370 | -657.3370 | 434.6329 | 434.6329 |
| 1.868 | 0.3077 | 8 | 1.7835 | 1.8203 | 1.0 | 0.4473 | -4.9062 | -5.0938 | 0.4405 | 0.1729 | -2.0312 | -1.9688 | 5.6562 | 5.6875 | -657.3589 | -657.3589 | 434.6329 | 434.6329 |
| 1.868 | 0.3462 | 9 | 1.7860 | 1.8125 | 1.0 | 0.4453 | -4.9062 | -5.0938 | 0.4405 | 0.1855 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.4703 | -657.4702 | 434.6329 | 434.6329 |
| 1.886 | 0.3846 | 10 | 1.7897 | 1.8125 | 1.0 | 0.4453 | -4.9062 | -5.0938 | 0.4325 | 0.1855 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.2245 | -657.2244 | 434.6329 | 434.6329 |
| 1.886 | 0.4231 | 11 | 1.7852 | 1.8125 | 1.0 | 0.4473 | -4.9062 | -5.0938 | 0.4484 | 0.1807 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.7448 | -657.7448 | 434.6329 | 434.6329 |
| 1.886 | 0.4615 | 12 | 1.7827 | 1.8203 | 1.0 | 0.4492 | -4.9062 | -5.0938 | 0.4603 | 0.1797 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.9037 | -657.9037 | 434.6329 | 434.6329 |
| 1.886 | 0.5 | 13 | 1.7844 | 1.8203 | 1.0 | 0.4512 | -4.9062 | -5.0625 | 0.4365 | 0.1689 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.7488 | -657.7488 | 434.6329 | 434.6329 |
| 1.886 | 0.5385 | 14 | 1.7828 | 1.8047 | 1.0 | 0.4395 | -4.875 | -5.0625 | 0.4405 | 0.1885 | -2.0312 | -1.9531 | 5.6875 | 5.7188 | -657.5707 | -657.5707 | 434.6329 | 434.6329 |
| 1.8572 | 0.5769 | 15 | 1.7852 | 1.8125 | 1.0 | 0.4453 | -4.9062 | -5.0625 | 0.4365 | 0.1768 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.2753 | -657.2753 | 434.6329 | 434.6329 |
| 1.8572 | 0.6154 | 16 | 1.7798 | 1.8125 | 1.0 | 0.4414 | -4.9062 | -5.0625 | 0.4246 | 0.1709 | -2.0156 | -1.9531 | 5.6875 | 5.7188 | -657.5228 | -657.5228 | 434.6329 | 434.6329 |
| 1.8572 | 0.6538 | 17 | 1.7797 | 1.8047 | 1.0 | 0.4414 | -4.875 | -5.0625 | 0.4484 | 0.1816 | -2.0312 | -1.9531 | 5.6875 | 5.7188 | -657.8073 | -657.8073 | 434.6329 | 434.6329 |
| 1.8572 | 0.6923 | 18 | 1.7830 | 1.8125 | 1.0 | 0.4375 | -4.9062 | -5.0625 | 0.4405 | 0.1631 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.4370 | -657.4370 | 434.6329 | 434.6329 |
| 1.8572 | 0.7308 | 19 | 1.7831 | 1.8047 | 1.0 | 0.4414 | -4.875 | -5.0625 | 0.4524 | 0.1787 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.5411 | -657.5412 | 434.6329 | 434.6329 |
| 1.8374 | 0.7692 | 20 | 1.7812 | 1.8047 | 1.0 | 0.4512 | -4.9062 | -5.0938 | 0.4524 | 0.1973 | -2.0312 | -1.9531 | 5.6875 | 5.7188 | -657.5830 | -657.5831 | 434.6329 | 434.6329 |
| 1.8374 | 0.8077 | 21 | 1.7850 | 1.8125 | 1.0 | 0.4414 | -4.875 | -5.0625 | 0.4444 | 0.1719 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.6910 | -657.6910 | 434.6329 | 434.6329 |
| 1.8374 | 0.8462 | 22 | 1.7851 | 1.8047 | 1.0 | 0.4434 | -4.9062 | -5.0625 | 0.4405 | 0.1836 | -2.0312 | -1.9531 | 5.6875 | 5.7188 | -657.1679 | -657.1679 | 434.6329 | 434.6329 |
| 1.8374 | 0.8846 | 23 | 1.7782 | 1.8047 | 1.0 | 0.4375 | -4.9062 | -5.0625 | 0.4365 | 0.1748 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -658.0194 | -658.0193 | 434.6329 | 434.6329 |
| 1.8374 | 0.9231 | 24 | 1.7800 | 1.8047 | 1.0 | 0.4375 | -4.9062 | -5.0625 | 0.4524 | 0.1709 | -2.0312 | -1.9609 | 5.6875 | 5.7188 | -657.4482 | -657.4482 | 434.6329 | 434.6329 |
| 1.8714 | 0.9615 | 25 | 1.7788 | 1.7969 | 1.0 | 0.4375 | -4.875 | -5.0625 | 0.4325 | 0.1816 | -2.0312 | -1.9531 | 5.6875 | 5.7188 | -657.4512 | -657.4511 | 434.6329 | 434.6329 |
| 1.8714 | 1.0 | 26 | 1.7801 | 1.7969 | 1.0 | 0.4453 | -4.875 | -5.0625 | 0.4405 | 0.2002 | -2.0312 | -1.9453 | 5.6875 | 5.7188 | -656.8973 | -656.8973 | 434.6329 | 434.6329 |
Base model
EleutherAI/pythia-410m-deduped