Run this model with HF Jobs

Run zmli/G-Substrate-Qwen3-VL-2B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/zmli/G-Substrate-Qwen3-VL-2B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/zmli/G-Substrate-Qwen3-VL-2B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/zmli/G-Substrate-Qwen3-VL-2B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/zmli/G-Substrate-Qwen3-VL-2B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

G-Substrate (Qwen3-VL-2B)

Multi-task fine-tuned model from the paper "Graph is a Substrate Across Data Modalities" (ICML 2026).

[Paper] [Code] [Dataset]

Model Description

This model is fine-tuned from Qwen3-VL-2B-Instruct using the G-Substrate framework. G-Substrate treats graph structure as a persistent structural substrate that accumulates knowledge across heterogeneous data modalities and tasks. It employs a unified structural schema for compatibility and an interleaved role-based training strategy.

Training Details

  • Base model: Qwen3-VL-2B-Instruct
  • Training method: Full fine-tuning (SFT) with multi-task learning
  • Training data: Scene graphs, event graphs, molecular graphs, graph algorithmic tasks, and interleaved role-based data
  • Epochs: 2
  • Learning rate: 8e-6 (cosine schedule, warmup 10%)
  • Batch size: 1 per device, 32 gradient accumulation steps
  • GPUs: 2x NVIDIA A100 (DeepSpeed ZeRO-3)

Supported Tasks

Task Domain Input Output
Scene Graph Generation Visual Image Graph triplets
Event Relation Extraction Text Document + events Event relation graph
Molecular Graph Description Scientific SMILES + graph Natural language description
Graph Algorithmic Reasoning Algorithmic Graph description Algorithm answer

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("zmli/G-Substrate-Qwen3-VL-2B", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("zmli/G-Substrate-Qwen3-VL-2B", trust_remote_code=True)

For batch inference with vLLM, see the G-Substrate repository.

Results

CT CD SP BM BLEU-4 ROUGE-L PCIs R@50 MA-S F1 MA-T F1 MA-C F1 HiE F1
98.41 96.97 48.59 94.54 51.53 68.47 25.38 52.20 42.68 40.91 25.15

Citation

@inproceedings{li2026gsubstrate,
  title={Graph is a Substrate Across Data Modalities},
  author={Li, Ziming and Wu, Xiaoming and Wang, Zehong and Li, Jiazheng and Tian, Yijun and Bi, Jinhe and Ma, Yunpu and Ye, Yanfang and Zhang, Chuxu},
  booktitle={ICML},
  year={2026}
}
Downloads last month
18
Safetensors
Model size
2B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for zmli/G-Substrate-Qwen3-VL-2B

Finetuned
(332)
this model
Quantizations
1 model

Paper for zmli/G-Substrate-Qwen3-VL-2B