Views
No views yet
| Path | Role |
|---|---|
lora_adapter/ | PEFT LoRA weights (adapter_model.safetensors, adapter_config.json) |
huggingface/ | AutoProcessor / tokenizer assets (config.json matches Qwen3VLForConditionalGeneration), chat_template.jinja, video + image preprocessor configs |
*.pt | Trainer checkpoints (optimizer, sharded full weights, extra state). Large; usually omitted when publishing only LoRA + huggingface/ to the Hub (see upload script --skip-trainer-artifacts). |
lora_adapter/adapter_config.json)peft_type: LORA, task_type: CAUSAL_LM)r=64, lora_alpha=128q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj, …)exclude_modules: ".*visual.*" — LoRA does not target vision tower modules.adapter_config.json as base_model_name_or_path). For a public Hub repo you typically either (a) point that field at your published merged-SFT model, or (b) document that consumers must load your private merged base before attaching this adapter.1import torch
2from transformers import AutoModelForVision2Seq, AutoProcessor
3from peft import PeftModel
4
5# 1) Load the same base you used for GRPO (merged SFT dir or Qwen/Qwen3-VL-8B-Instruct).
6base_id = "Qwen/Qwen3-VL-8B-Instruct" # replace with your merged SFT repo/path if applicable
7actor_dir = "." # or absolute path to this `actor` folder
8
9dtype = torch.float16
10base = AutoModelForVision2Seq.from_pretrained(
11 base_id,
12 torch_dtype=dtype,
13 device_map="auto",
14 trust_remote_code=True,
15)
16model = PeftModel.from_pretrained(base, f"{actor_dir}/lora_adapter", is_trainable=False)
17processor = AutoProcessor.from_pretrained(f"{actor_dir}/huggingface", trust_remote_code=True)Qwen3VLForConditionalGeneration via AutoModelForVision2Seq with the same trust_remote_code / dtype settings your stack expects.cine_cogito/cardiac_qwen3vl8b_grpo_from_sft, global step: 9.Qwen3VLForConditionalGeneration (model_type: qwen3_vl, FP16 in saved config).experiment_config.json under the checkpoint tree.1@misc{cardiac_qwen3vl8b_grpo_actor_gs9,
2 title = {Cardiac Qwen3-VL-8B GRPO actor checkpoint (global step 9)},
3 howpublished = {Local EasyR1 actor export},
4 year = {2026},
5 note = {LoRA adapter + Hugging Face processor bundle},
6}