Instructions to use QwenQKing/Prompt-R1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QwenQKing/Prompt-R1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QwenQKing/Prompt-R1")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QwenQKing/Prompt-R1", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use QwenQKing/Prompt-R1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QwenQKing/Prompt-R1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QwenQKing/Prompt-R1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/QwenQKing/Prompt-R1
- SGLang
How to use QwenQKing/Prompt-R1 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 "QwenQKing/Prompt-R1" \ --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": "QwenQKing/Prompt-R1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "QwenQKing/Prompt-R1" \ --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": "QwenQKing/Prompt-R1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use QwenQKing/Prompt-R1 with Docker Model Runner:
docker model run hf.co/QwenQKing/Prompt-R1
Remote rename and move folders to checkpoint/ using compatibility API.
Browse filesThis view is limited to 50 files because it contains too many changes. Β See raw diff
- .gitattributes +2 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_0.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_1.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_2.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_3.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_4.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_5.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_6.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_7.pt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/added_tokens.json +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/chat_template.jinja +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/config.json +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/merges.txt +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/special_tokens_map.json +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/tokenizer.json +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/tokenizer_config.json +0 -0
- {Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/vocab.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_0.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_1.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_2.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_3.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_4.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_5.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_6.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_7.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_0.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_1.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_2.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_3.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_4.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_5.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_6.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_7.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/data.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_0.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_1.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_2.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_3.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_4.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_5.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_6.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_7.pt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/added_tokens.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/chat_template.jinja +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/config.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/merges.txt +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/special_tokens_map.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/tokenizer.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/tokenizer_config.json +0 -0
- {grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
grpo-qwen3-4b-gpt-4o-mini/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
grpo-qwen3-4b-gpt-4o-mini/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint/4o-mini/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b/global_step_320/actor/huggingface/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_0.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_1.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_2.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_3.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_4.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_5.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_6.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/extra_state_world_size_8_rank_7.pt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/added_tokens.json
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/chat_template.jinja
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/config.json
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/merges.txt
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/special_tokens_map.json
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/tokenizer.json
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/tokenizer_config.json
RENAMED
|
File without changes
|
{Prompt-R1-gpt-oss/grpo-qwen3-4b-gpt-oss-20b β checkpoint/4o-mini}/global_step_320/actor/huggingface/vocab.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_0.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_1.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_2.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_3.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_4.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_5.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_6.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/model_world_size_8_rank_7.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_0.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_1.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_2.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_3.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_4.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_5.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_6.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/actor/optim_world_size_8_rank_7.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/4o-mini}/global_step_320/data.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_0.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_1.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_2.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_3.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_4.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_5.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_6.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/extra_state_world_size_8_rank_7.pt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/added_tokens.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/chat_template.jinja
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/config.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/merges.txt
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/special_tokens_map.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/tokenizer.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/tokenizer_config.json
RENAMED
|
File without changes
|
{grpo-qwen3-4b-gpt-4o-mini β checkpoint/oss/grpo-qwen3-4b-gpt-oss-20b}/global_step_320/actor/huggingface/vocab.json
RENAMED
|
File without changes
|