Model reference · open weights

git-large-coco

LLMs microsoft Image→text 1 build Open weights 2k dl/mo

git-large-coco is an open-weight language model from microsoft. git-large-coco (FP32) weighs 788 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • git-large-coco is a 394M parameter image-to-text model developed by Microsoft.
  • It is a Transformer decoder that uses CLIP image tokens and text tokens to generate captions, answer visual questions, or classify images.
  • The model supports a context length of 1024 tokens, operates in English, and is released under the MIT licence.

Summary of the microsoft/git-large-coco model card, 2026-10-01

What it is

Released bymicrosoft
Released2023-01-02
Parameters394M
VRAM788 MB for the weights

What it runs on

Memory and cards for git-large-coco (FP32)

788 MBweights, file size
18 MBcache per 1K tokens
1.8 GBruntime overhead, at least
1,024 tokenscontext max
CardRequests at onceContext maxMemory
1K each
RTX 3060 12 GB479all 1K11.6 GB
RTX 4060 Ti 16 GB680all 1K15.4 GB
RTX 3090 24 GB1000+all 1K23.4 GB
RTX 4090 24 GB1000+all 1K23.4 GB
RTX 5090 32 GB1000+all 1K31.0 GB
L40S 48 GB1000+all 1K44.0 GB
A100 80 GB1000+all 1K78.2 GB
H100 80 GB1000+all 1K78.1 GB
RTX PRO 6000 Blackwell 96 GB1000+all 1K93.8 GB
DGX Spark (GB10) 128 GB unified1000+all 1K107 GB
H200 141 GB1000+all 1K138 GB
B200 180 GB1000+all 1K176 GB
Memory needed at each load
Requests at once1K tokens each
12.6 GB
52.7 GB
82.7 GB
162.9 GB
323.2 GB
643.8 GB

One card, with vLLM's small-card settings.

From the model card

What microsoft says about git-large-coco

Read the model card

GIT (short for GenerativeImage2Text) model, large-sized version, fine-tuned on COCO. It was introduced in the paper GIT: A Generative Image-to-text Transformer for Vision and Language by Wang et al. and first released in this repository.

Disclaimer: The team releasing GIT did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

GIT is a Transformer decoder conditioned on both CLIP image tokens and text tokens. The model is trained using "teacher forcing" on a lot of (image, text) pairs.

The goal for the model is simply to predict the next text token, giving the image tokens and previous text tokens.

The model has full access to (i.e. a bidirectional attention mask is used for) the image patch tokens, but only has access to the previous text tokens (i.e. a causal attention mask is used for the text tokens) when predicting the next text token.

This allows the model to be used for tasks like:

  • image and video captioning
  • visual question answering (VQA) on images and videos
  • even image classification (by simply conditioning the model on the image and asking it to generate a class for it in text).

Intended uses & limitations

You can use the raw model for image captioning. See the model hub to look for fine-tuned versions on a task that interests you.

How to use

For code examples, we refer to the documentation.

Training data

From the paper:

We collect 0.8B image-text pairs for pre-training, which include COCO (Lin et al., 2014), Conceptual Captions (CC3M) (Sharma et al., 2018), SBU (Ordonez et al., 2011), Visual Genome (VG) (Krishna et al., 2016), Conceptual Captions (CC12M) (Changpinyo et al., 2021), ALT200M (Hu et al., 2021a), and an extra 0.6B data following a similar collection procedure in Hu et al. (2021a).

=> however this is for the model referred to as "GIT" in the paper, which is not open-sourced.

This checkpoint is "GIT-large", which is a smaller variant of GIT trained on 20 million image-text pairs.

Next, the model was fine-tuned on COCO.

See table 11 in the paper for more details.

Preprocessing

We refer to the original repo regarding details for preprocessing during training.

During validation, one resizes the shorter edge of each image, after which center cropping is performed to a fixed-size resolution. Next, frames are normalized across the RGB channels with the ImageNet mean and standard deviation.

Evaluation results

For evaluation results, we refer readers to the paper.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms