Text Generation
Transformers
Safetensors
qwen2
Generated from Trainer
open-r1
trl
grpo
conversational
text-generation-inference
Instructions to use EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6") 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("EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6") model = AutoModelForCausalLM.from_pretrained("EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6", 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 EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6
- SGLang
How to use EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6 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 "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6" \ --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": "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6", "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 "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6" \ --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": "EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6 with Docker Model Runner:
docker model run hf.co/EricLabile/DeepSeek-R1-Distill-Qwen-1.5B-GRPO_generation_num_6
Commit History
-
End of training
Verified signaturefe0ff61 -
Model save
Verified signatured21292e -
Training in progress, step 468
Verified signature81d222b -
Training in progress, step 460
Verified signatured75e5b1 -
Training in progress, step 450
Verified signature3456854 -
Training in progress, step 440
Verified signature20e5e4e -
Training in progress, step 430
Verified signature63bfc44 -
Training in progress, step 420
Verified signature14aa25d -
Training in progress, step 410
Verified signature6004b5d -
Training in progress, step 400
Verified signature62335d6 -
Training in progress, step 390
Verified signature0346431 -
Training in progress, step 380
Verified signaturea50cdd7 -
Training in progress, step 370
Verified signature397a027 -
Training in progress, step 360
Verified signature669580e -
Training in progress, step 350
Verified signaturefba7a62 -
Training in progress, step 340
Verified signature8f011a9 -
Training in progress, step 330
Verified signature373164e -
Training in progress, step 320
Verified signature696da4c -
Training in progress, step 310
Verified signature43b4104 -
Training in progress, step 300
Verified signatured0e2c44 -
Training in progress, step 290
Verified signatured4ccffa -
Training in progress, step 280
Verified signaturefcf1e23 -
Training in progress, step 270
Verified signature3d93803 -
Training in progress, step 260
Verified signature4defc91 -
Training in progress, step 250
Verified signature9ace7a0 -
Training in progress, step 240
Verified signature2dcb815 -
Training in progress, step 230
Verified signature28efe68 -
Training in progress, step 220
Verified signature1ea0f5c -
Training in progress, step 210
Verified signature2d50a1d -
Training in progress, step 200
Verified signaturead6aebd -
Training in progress, step 190
Verified signaturea2cbf08 -
Training in progress, step 180
Verified signatureae2b4f0 -
Training in progress, step 170
Verified signature0a9f9a3 -
Training in progress, step 160
Verified signature2c4e753 -
Training in progress, step 150
Verified signaturee433a47 -
Training in progress, step 140
Verified signature6aafd49 -
Training in progress, step 130
Verified signature82f0c0b -
Training in progress, step 120
Verified signaturebb10c2f -
Training in progress, step 110
Verified signature7dd3b62 -
Training in progress, step 100
Verified signature8acb674 -
Training in progress, step 90
Verified signature5f61f26 -
Training in progress, step 80
Verified signatureb020559 -
Training in progress, step 70
Verified signature1d1554a -
Training in progress, step 60
Verified signaturef8444ee -
Training in progress, step 50
Verified signatured0946fd -
Training in progress, step 40
Verified signature1982c95 -
Training in progress, step 30
Verified signature3335f85 -
Training in progress, step 20
Verified signaturec1b88cc -
Training in progress, step 10
Verified signaturec3b3f21 -
initial commit
Verified signature9f043c4