Instructions to use zhongweixie/claw-rl-v13-gdpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhongweixie/claw-rl-v13-gdpo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="zhongweixie/claw-rl-v13-gdpo") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("zhongweixie/claw-rl-v13-gdpo") model = AutoModelForMultimodalLM.from_pretrained("zhongweixie/claw-rl-v13-gdpo", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zhongweixie/claw-rl-v13-gdpo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zhongweixie/claw-rl-v13-gdpo" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zhongweixie/claw-rl-v13-gdpo", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/zhongweixie/claw-rl-v13-gdpo
- SGLang
How to use zhongweixie/claw-rl-v13-gdpo 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 "zhongweixie/claw-rl-v13-gdpo" \ --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": "zhongweixie/claw-rl-v13-gdpo", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "zhongweixie/claw-rl-v13-gdpo" \ --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": "zhongweixie/claw-rl-v13-gdpo", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use zhongweixie/claw-rl-v13-gdpo with Docker Model Runner:
docker model run hf.co/zhongweixie/claw-rl-v13-gdpo
qwen3vl-8b-claw-rl-gdpo-v13-iter560
ๅจๅ ้จ agent ไปปๅก้ไธๅ RL ๅพฎ่ฐๅพๅฐ็ Qwen3-VL-8B ๆจกๅใ
่ฟไธๆฏ Qwen3-VL-8B-Instruct ๆฌ่บซ๏ผไธๆธธ้ฃไปฝๆจกๅๅก้็ไปปไฝ่ทๅ้ฝไธ้็จไบๆฌๆจกๅใ ๆฌไปๆญคๅ่ฏฏๆไบไธๆธธ Qwen ็ๆจกๅๅก๏ผ็ฐๅทฒๆดๆญฃใ
่ฎญ็ป้ ็ฝฎ
| ้กน | ๅผ |
|---|---|
| ๅฎ้ชๅ | exp_rl_v5_v13_gdpo |
| ็ฎๆณ | GDPO |
| ๅไฝ | ๅทๅฏๅจๅบ็บฟใๆ rubric overlay๏ผๆ dim scoringใ |
| ่ตท็น | ๅๅง Qwen3-VL-8B-Instruct(ๅทๅฏๅจ๏ผ้ SFT checkpoint) |
| ๆ็ป checkpoint | iter_0000560 |
| ่ฎญ็ป้ | 561 ไธช rollout step๏ผ็บฆ 3 ไธช epoch๏ผ187 ๆก prompt |
| samples / prompt | 8 |
| rollout batch | 1 |
| global batch | 8 |
| ็กฌไปถ | 8xH800๏ผTP=8๏ผcolocate |
| ๅฅๅฑ judge | qwen/qwen-2.5-72b-instruct (OpenRouter) |
ๅญฆไน ็ใKL ็ณปๆฐ็ญ็ฑ slime ็ formal profile ๆไพ๏ผๆชๅจๅฏๅจ่ๆฌไธญๆพๅผ่ฎพ็ฝฎ๏ผ
ๆ
ๆญคๅคไธๅๅบ๏ผไปฅๅ
็ปๅบๆช็ปๆ ธๅฎ็ๆฐๅผใ
ไธๅๆ 5 ไธช *_stage3 ๆจกๅ็ๅบๅซ๏ผ้ฃไบไปฅ stage3 SFT checkpoint
(exp_stage3_v2_merged) ไธบ่ตท็น๏ผๆฌๆจกๅๆฏไปๅๅง instruct ๅทๅฏๅจ็ใ
่ฏๆต็ถๆ
็ฎๅๆฒกๆๅฏไฟก็ held-out ่ฏๆตๆฐๅญใ ไธ่ฆๆๆฌๆจกๅๅฝไฝๅทฒ้ช่ฏไผไบๅ ถ่ตท็นใ
ๅๅ ๏ผ
- cold-start ๅบ็บฟไฝไธ(373736)ๅ sglang JIT ็ผบ
ninjaๆช่ฝๅฏๅจ๏ผ็ผบๅฐๅฏๆฏๅบ็บฟใ - held-out ้ฉฑๅจ่ๆฌไผไธปๅจๆ็ปไธ้จๅไปปๅก(ๆฒ็ฎฑๅฟซ็ ง็ฑปใๅคๆจกๆ่พๅ ฅ็ฑป)๏ผ ่ฆ็็ไธ่ถณ 30 ้ขๅ จ้๏ผๅ ถๆปๅไธ่ฝๅฝไฝๅ จ้ๅๆฐๅผ็จใ
็จๆณ
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
model = Qwen3VLForConditionalGeneration.from_pretrained(
"zhongweixie/qwen3vl-8b-claw-rl-gdpo-v13-iter560", dtype="auto", device_map="auto"
)
processor = AutoProcessor.from_pretrained("zhongweixie/qwen3vl-8b-claw-rl-gdpo-v13-iter560")
ๆฅๆบ
็ฑ slime/tools/convert_torch_dist_to_hf.py ไป Megatron ๅๅธๅผ checkpoint
/aifs4su/hansirui_3rd/rl-checkpoints/exp_rl_v5_v13_gdpo/iter_0000560
่ฝฌๆข่ๆฅ๏ผ็ผบๅคฑๆ้ไธ tokenizer/config ๅ่ชๅๅง Qwen3-VL-8B-Instructใ
- Downloads last month
- 7
Model tree for zhongweixie/claw-rl-v13-gdpo
Base model
Qwen/Qwen3-VL-8B-Instruct