Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
open-r1
trl
grpo
conversational
text-generation-inference
Instructions to use sonicdog00/OpenRS-GRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sonicdog00/OpenRS-GRPO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sonicdog00/OpenRS-GRPO") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sonicdog00/OpenRS-GRPO") model = AutoModelForCausalLM.from_pretrained("sonicdog00/OpenRS-GRPO", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sonicdog00/OpenRS-GRPO with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sonicdog00/OpenRS-GRPO" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sonicdog00/OpenRS-GRPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sonicdog00/OpenRS-GRPO
- SGLang
How to use sonicdog00/OpenRS-GRPO with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "sonicdog00/OpenRS-GRPO" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sonicdog00/OpenRS-GRPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
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 "sonicdog00/OpenRS-GRPO" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sonicdog00/OpenRS-GRPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use sonicdog00/OpenRS-GRPO with Docker Model Runner:
docker model run hf.co/sonicdog00/OpenRS-GRPO
Commit History
-
Training in progress, step 200
Verified signature0847389 -
Training in progress, step 100
Verified signatureec47876
-
Training in progress, step 400
Verified signature992508b -
Training in progress, step 300
Verified signature3bff6bf -
Training in progress, step 200
Verified signaturefc1233f -
Training in progress, step 100
Verified signaturead57091
-
End of training
Verified signaturec50b830 -
Model save
Verified signatured6c9c50 -
Training in progress, step 500
Verified signatureedd17b1 -
Training in progress, step 400
Verified signature06c5475 -
Training in progress, step 300
Verified signaturec9f50a4 -
Training in progress, step 200
Verified signature7eb0f70 -
Training in progress, step 100
Verified signature95a030f -
End of training
Verified signaturef0423ea -
Model save
Verified signatureef96d63 -
Training in progress, step 500
Verified signature801a851 -
Training in progress, step 400
Verified signaturecc1a6be -
Training in progress, step 300
Verified signature84865d4 -
Training in progress, step 200
Verified signature16b72ab -
Training in progress, step 100
Verified signaturea2d92a5
-
End of training
Verified signature1a1d9ba -
Model save
Verified signature6a060ec -
Training in progress, step 100
Verified signature0c255da -
End of training
Verified signature6dcbb65 -
Model save
Verified signatured80c1b5 -
Training in progress, step 101
Verified signature232f3e1 -
End of training
Verified signaturea6d4032 -
Model save
Verified signatureae25198 -
Training in progress, step 100
Verified signaturebb9f91c -
End of training
Verified signatureab54ed0 -
Model save
Verified signaturebc87120 -
Training in progress, step 100
Verified signaturec093168
-
End of training
Verified signature49e2154 -
Model save
Verified signaturedb7e352 -
Training in progress, step 100
Verified signature3d4021e -
End of training
Verified signatured6c6722 -
Model save
Verified signaturee2bf5c1 -
Training in progress, step 100
Verified signaturefd74576
-
End of training
Verified signature80a5ca4 -
Model save
Verified signature4a3926b -
Training in progress, step 100
Verified signatured15a93a -
End of training
Verified signaturea38d30c -
Model save
Verified signature0e71171 -
Training in progress, step 100
Verified signatureb1aeeaf
-
End of training
Verified signatureadab05f -
Model save
Verified signature53db09e -
Training in progress, step 100
Verified signaturea27716c
-
End of training
Verified signature688f7c6 -
Model save
Verified signatureb84091b -
Training in progress, step 100
Verified signatureab35423