Practical overview
When it fits
Use Grit when you want code, training procedures, and pretrained checkpoints for experimenting with reasoning that identifies supporting image regions.
Who it is for
- Researchers studying multimodal reasoning and visual grounding.
- Developers building image question-answering systems that need outputs tied to image regions.
- Teams running training and evaluation experiments with InternVL- or Qwen-based models.
Documented uses
- Train a multimodal model to associate its reasoning with explicit image-region coordinates.
- Explore image question-answering that exposes regions relevant to an answer.
- Evaluate trained models using the repository's evaluation instructions.
Requirements & limits
The code repository is public and lists the MIT license. Pretrained models are identified on Hugging Face.
- The documented training scripts target InternVL and Qwen model families.
- Working with the project involves repository setup, Hugging Face dataset access, and dataset-specific preparation.
- The README includes inference examples that request coordinates in a
bbox_2dfield and separate reasoning and answer sections. - The method description says it can use as few as 20 training samples; this is a stated capability, not a result guaranteed for every use.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the GRIT repository and data
Set up the code and acquire the image dataset needed before training or evaluation.
Before you start
- A Linux environment with Python; the README gives Python 3.12 as an optional Conda environment.
- Git with submodule support, Git LFS, and a Hugging Face account for CLI login.
- Weights & Biases and API credentials are described in the setup instructions for experiment tracking and API access.
Steps
Create and activate the optional Conda environment with Python 3.12, if desired.
Clone the repository with submodules and enter its directory.
Run the command below.
bash setup.shInstall and log in to Weights & Biases, then create
gpt_credentials.pywith the API settings described in the README.Install Git LFS, clone the GRIT_data dataset, follow its README to obtain and place the image data, and log in with the Hugging Face CLI.
Expected outcome
The repository setup and dataset acquisition stages described for subsequent GRIT work are complete.
Guide limitations
- These steps cover setup and data preparation, not a verified training run.
- The dataset README contains further instructions for obtaining and placing image data.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- UCSB-AI/GRIT · Official homepage title · retained in its source language

