Release fengluoqiuwu/Object-Vision-Text-Only-7B-SFT (lfs+curl, no xet)
Browse filesFiles changed (3)
- README.mdAdded+49
- config.jsonAdded+62
- model.ptAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849---license: otherlibrary_name: pytorchpipeline_tag: image-text-to-texttags:- qwen2.5-vl- object-vision- vision-language- pytorchbase_model: Qwen/Qwen2.5-VL-7B-Instruct---# Text-only 7B SFT
Weights from **Object Vision** in *Re-encode the Mention* (text-only control after SFT (still receives the image; no regional visual insertions)).
- Paper checkpoint step: **12000**- Base model: [`Qwen/Qwen2.5-VL-7B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct)- Source package name: `baseline-qwen2.5-7b-full`- Files: `model.pt`, `config.json`
## Method (short)
Object Vision triggers on object mentions during generation, selects a region from mention attention, re-encodes that region with a frozen vision encoder in isolation, and inserts the features back with original M-RoPE indices. Training updates the language model only (SFT, then GRPO).
## Load / inference
These files are **project-native** weights (`model.pt` + `config.json`), not a Transformers `from_pretrained()` checkpoint.
```pythonfrom models.object_vision.generate import load_engine_from_checkpoint
engine = load_engine_from_checkpoint( "path/to/this/folder", expect_model="qwen", expect_plan="baseline",)```
Default evaluation setting in the paper: region budget **K=100**. Set `record_pastes=True` to inspect inserted regions.
Standard `transformers.AutoModel` / `generate()` is **not** the entry point for this package. Public inference helpers will be linked here when released; until then this Hub repo provides weights and config only.
## License / attribution
This release is fine-tuned from [`Qwen/Qwen2.5-VL-7B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct) (base model card lists Apache-2.0). Training data includes Visual-CoT / ZwZ-RL-VQA; please review those dataset terms before redistributing or commercial use. This repository does **not** redistribute training images. We do **not** claim unconditional Apache-2.0 for these weights.
## Citation
If you use these weights, please cite the paper *Re-encode the Mention* (Object Vision).1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "model": "qwen", "plan": "baseline", "type": "qwen25-7b-full", "run": "qwen/baseline/qwen25-7b-full", "dataset": "visual-cot-key", "max_steps": 12000, "global_batch_size": 8, "task_cfg": { "_doc": "普通拼接 · qwen25-7b-full", "base_model": "Qwen2.5-VL-7B-Instruct", "dataset": [ "visual-cot-key" ], "seed": 42, "init_ckpt": null, "train_llm_only": true, "optimizer": { "dtype": "bf16", "learning_rate": 1e-05, "weight_decay": 0.01, "beta1": 0.9, "beta2": 0.999, "grad_clip": 1.0, "ema_decay": 0, "adam_8bit": true }, "batch": { "batch_size": 1, "global_batch_size": 8 }, "schedule": { "max_steps": 12000, "warmup_ratio": 0.03, "min_lr_ratio": 1.0, "log_plot_step": 40, "resume": true, "gradient_checkpointing": true, "max_samples": 0, "save_step": 2000, "eval_step": 2000 }, "eval": { "skip": false, "eval_sample_seed": 42, "forward_samples": 32, "vstar_samples": 0, "sample_seed": 42, "max_new_tokens": 256, "eval_sample_count": 32 }, "generate": { "insert_latent": false }, "arch": { "hub": "Qwen/Qwen2.5-VL-7B-Instruct", "arch": "qwen2.5-vl", "name": "qwen25-7b" }, "size": "qwen25-7b" }}123version https://git-lfs.github.com/spec/v1oid sha256:b4e5ed7b58fc6d1fd5054f94f116e785ebf0889032c9262a846916f5b987f67esize 16578891053README.mdAdded+49
config.jsonAdded+62
model.ptAdded+3