Model reference · open weights

v-gpt2-image-captioning

v-gpt2-image-captioning is an open-weight language model from nlpconnect, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs nlpconnect 1 variants 103k downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What v-gpt2-image-captioning is

nlpconnect/vit-gpt2-image-captioning This is an image captioning model trained by @ydshieh in flax this is pytorch version of this. The Illustrated Image Captioning using transformers https://ankur3107.github.io/blogs/the-illustrated-image-captioning-using-transformers/ Sample running code Sample running code using transformers pipeline Contact for any help https://huggingface.co/ankur310794 https://twitter.com/ankur310794 http://github.com/ankur3107 https://www.linkedin.com/in/ankur310794

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makernlpconnect
TypeLanguage models
Variants1
Runs withtransformers
Released2022-03-02
Popularity103k downloads / month
Likes934
LicenceOpen weights

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
vit-gpt2-image-captioningBF16Weights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys v-gpt2-image-captioning for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (v-gpt2-image-captioning below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"v-gpt2-image-captioning","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Tags

transformers pytorch vision-encoder-decoder image-text-to-text image-to-text image-captioning doi:10.57967/hf/0222 endpoints_compatible

Licence

Open weights

Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want v-gpt2-image-captioning on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

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