HuggingFaceH4/ultrafeedback_binarized
Viewer • Updated • 187k • 15.9k • 335
How to use hbin0701/Mistral_VStar_iter1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="hbin0701/Mistral_VStar_iter1") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("hbin0701/Mistral_VStar_iter1")
model = AutoModelForCausalLM.from_pretrained("hbin0701/Mistral_VStar_iter1")How to use hbin0701/Mistral_VStar_iter1 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "hbin0701/Mistral_VStar_iter1"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "hbin0701/Mistral_VStar_iter1",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/hbin0701/Mistral_VStar_iter1
How to use hbin0701/Mistral_VStar_iter1 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "hbin0701/Mistral_VStar_iter1" \
--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": "hbin0701/Mistral_VStar_iter1",
"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 "hbin0701/Mistral_VStar_iter1" \
--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": "hbin0701/Mistral_VStar_iter1",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use hbin0701/Mistral_VStar_iter1 with Docker Model Runner:
docker model run hf.co/hbin0701/Mistral_VStar_iter1
This model is a fine-tuned version of /home/hyeonbin/self_train/Verifiers/models/mistral_7b_gsm8k_ep2_1e-5_rft_round1 on the GSM8K Train Set. It achieves the following results on the evaluation set (=GSM8K Train subset):
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.014 | 1.0 | 7066 | 0.0005 | -1.7120 | -14.3548 | 1.0 | 12.6428 | -1466.6733 | -208.2280 | -3.2168 | -2.3996 |
Base model
mistralai/Mistral-7B-v0.1