microsoft / git-base

huggingface.co
Total runs: 32.4K
24-hour runs: 0
7-day runs: 1.4K
30-day runs: 12.6K
Model's Last Updated: April 24 2023
image-to-text

Introduction of git-base

Model Details of git-base

GIT (GenerativeImage2Text), base-sized

GIT (short for GenerativeImage2Text) model, base-sized version. 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.

GIT architecture

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-base", which is a smaller variant of GIT trained on 10 million image-text pairs.

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 .

Runs of microsoft git-base on huggingface.co

32.4K
Total runs
0
24-hour runs
-508
3-day runs
1.4K
7-day runs
12.6K
30-day runs

More Information About git-base huggingface.co Model

More git-base license Visit here:

https://choosealicense.com/licenses/mit

git-base huggingface.co

git-base huggingface.co is an AI model on huggingface.co that provides git-base's model effect (), which can be used instantly with this microsoft git-base model. huggingface.co supports a free trial of the git-base model, and also provides paid use of the git-base. Support call git-base model through api, including Node.js, Python, http.

microsoft git-base online free

git-base huggingface.co is an online trial and call api platform, which integrates git-base's modeling effects, including api services, and provides a free online trial of git-base, you can try git-base online for free by clicking the link below.

microsoft git-base online free url in huggingface.co:

https://huggingface.co/microsoft/git-base

git-base install

git-base is an open source model from GitHub that offers a free installation service, and any user can find git-base on GitHub to install. At the same time, huggingface.co provides the effect of git-base install, users can directly use git-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

git-base install url in huggingface.co:

https://huggingface.co/microsoft/git-base

Url of git-base

Provider of git-base huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 374.6K
Run Growth: -135.7K
Growth Rate: -36.22%
Updated:September 26 2022
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:February 14 2024
huggingface.co

Total runs: 198.1K
Run Growth: -111.0K
Growth Rate: -56.05%
Updated:February 12 2022
huggingface.co

Total runs: 131.2K
Run Growth: 7.9K
Growth Rate: 6.05%
Updated:May 12 2026
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 103.1K
Run Growth: -7.2K
Growth Rate: -7.09%
Updated:February 03 2023
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 52.0K
Run Growth: 26.0K
Growth Rate: 50.00%
Updated:December 23 2021
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026