Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
open-r1
trl
grpo
conversational
text-generation-inference
Instructions to use Blancy/Qwen3-1.7B-Open-R1-GRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Blancy/Qwen3-1.7B-Open-R1-GRPO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Blancy/Qwen3-1.7B-Open-R1-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("Blancy/Qwen3-1.7B-Open-R1-GRPO") model = AutoModelForCausalLM.from_pretrained("Blancy/Qwen3-1.7B-Open-R1-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 Blancy/Qwen3-1.7B-Open-R1-GRPO with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Blancy/Qwen3-1.7B-Open-R1-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": "Blancy/Qwen3-1.7B-Open-R1-GRPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Blancy/Qwen3-1.7B-Open-R1-GRPO
- SGLang
How to use Blancy/Qwen3-1.7B-Open-R1-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 "Blancy/Qwen3-1.7B-Open-R1-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": "Blancy/Qwen3-1.7B-Open-R1-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 "Blancy/Qwen3-1.7B-Open-R1-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": "Blancy/Qwen3-1.7B-Open-R1-GRPO", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Blancy/Qwen3-1.7B-Open-R1-GRPO with Docker Model Runner:
docker model run hf.co/Blancy/Qwen3-1.7B-Open-R1-GRPO
Commit History
-
Training in progress, epoch 1
Verified signature86ec069 -
Training in progress, epoch 1
Verified signatureda710fd -
Training in progress, epoch 1
Verified signature6fea02c
-
Training in progress, epoch 1
Verified signatured31c114 -
Training in progress, epoch 1
Verified signature68fc2dd
-
Training in progress, step 63
Verified signature3f07070 -
Training in progress, step 61
Verified signature0cc05fd -
Training in progress, step 60
Verified signature442ea94 -
Training in progress, step 59
Verified signature09e1b47 -
Training in progress, step 58
Verified signaturedf07354 -
Training in progress, step 57
Verified signature9b38380 -
Training in progress, step 56
Verified signaturee976385 -
Training in progress, step 55
Verified signature63f345d -
Training in progress, step 54
Verified signatureb457c2d -
Training in progress, step 53
Verified signatured81b71c -
Training in progress, step 52
Verified signatureb435b7a -
Training in progress, step 51
Verified signature15dc5fc -
Training in progress, step 50
Verified signature601fadf -
Training in progress, step 48
Verified signature3b556ad -
Training in progress, step 47
Verified signature3798dce -
Training in progress, step 46
Verified signaturef8cc0ad -
Training in progress, step 45
Verified signature6a8c466 -
Training in progress, step 44
Verified signature07f84b7 -
Training in progress, step 42
Verified signature1647a97 -
Training in progress, step 39
Verified signature43c8933 -
Training in progress, step 38
Verified signature78d0fb5 -
Training in progress, step 37
Verified signature98bc901 -
Training in progress, step 35
Verified signaturef2c67f4
-
Training in progress, step 34
Verified signature2a740e1 -
Training in progress, step 33
Verified signature3692760 -
Training in progress, step 32
Verified signature6983a06 -
Training in progress, step 31
Verified signatured78c592 -
Training in progress, step 30
Verified signaturec289ba6 -
Training in progress, step 29
Verified signatureb498b21 -
Training in progress, step 28
Verified signature05da2de -
Training in progress, step 27
Verified signatureda7f415 -
Training in progress, step 26
Verified signature494a56a -
Training in progress, step 25
Verified signature251d5cb -
Training in progress, step 24
Verified signature77c9eae -
Training in progress, step 23
Verified signature096ae09 -
Training in progress, step 22
Verified signature7e8f64e -
Training in progress, step 21
Verified signature90a8041 -
Training in progress, step 20
Verified signature4d24bdf -
Training in progress, step 19
Verified signature9a52529 -
Training in progress, step 18
Verified signatureac0380e -
Training in progress, step 17
Verified signature955a767 -
Training in progress, step 16
Verified signaturef397b9a -
Training in progress, step 15
Verified signaturea152092 -
Training in progress, step 14
Verified signature09028f3 -
Training in progress, step 13
Verified signaturec1f8217