Instructions to use ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1") model = AutoModelForMultimodalLM.from_pretrained("ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", "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/ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1
- SGLang
How to use ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1 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 "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1" \ --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": "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", "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 "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1" \ --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": "ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", "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 ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1 with Docker Model Runner:
docker model run hf.co/ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1
vlatents-qwen25vl7b-stage3-upstream-baseline-v1
One-line identity: Stage 1 NTP SFT fine-tune of Qwen/Qwen2.5-VL-7B-Instruct on the ohjoonhee/visual-cot-50k-poc dataset (Monet-SFT-125K Visual_CoT subset). Trains the model to emit <observation> and other Monet special tokens fluently before Stage 2's alignment objective layers in latent slots. Baseline reference for downstream Stage 2 / Pivot A runs.
Recipe
- Stage: 1 (NTP SFT; no alignment, no latent slots)
- Base model:
Qwen/Qwen2.5-VL-7B-Instruct - Init checkpoint:
(none) - Dataset:
ohjoonhee/visual-cot-50k-poc(Monet-SFT-125K Visual_CoT subset, eval-200 excluded) - Hardware: 4ร H100 80GB, DeepSpeed ZeRO-2 + CPU optim offload, bf16
- (no config available)
Notes
Pure NTP SFT โ no Monet Stage 2 alignment loss, no latent-mode forward.
The Monet special tokens (<observation>, <abs_vis_token>, etc.) ARE
registered in the tokenizer and embedded so the model learns to produce
them, but the architectural latent-slot mechanism is unused at this stage.
This revision (step-1500)
No training log row available.
Notes
Faithful upstream Monet Stage 3 reproduction (lambda_reg=0). Init: Monet-SFT-7B/stage1. Teacher: upstream-precomputed (124K latents). Trained ~1942 step target, walltime-cut at step ~1728 (epoch 1.77). Final: loss=0.19 alignment_loss=0.032 obs_acc=0.97 โ collapse signature.
Other revisions: see the revisions dropdown on this page.
How to load
from transformers import AutoModelForVision2Seq, AutoProcessor
m = AutoModelForVision2Seq.from_pretrained(
"ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", revision="step-1500", torch_dtype="bfloat16")
p = AutoProcessor.from_pretrained("ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1", revision="step-1500")
Limitations
Research checkpoint, eval-only. Mid-training step (1500/?). Not for production.
Card generated 2026-06-01 from training_log.jsonl + the run's training config.
- Downloads last month
- 5
Model tree for ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1
Base model
Qwen/Qwen2.5-VL-7B-Instruct
docker model run hf.co/ohjoonhee/vlatents-qwen25vl7b-stage3-upstream-baseline-v1