Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Xenova
/
vit-gpt2-image-captioning

Image-to-Text
Transformers.js
ONNX
vision-encoder-decoder
image-text-to-text
image-captioning
Model card Files Files and versions
xet
Community
3

Instructions to use Xenova/vit-gpt2-image-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use Xenova/vit-gpt2-image-captioning with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('image-to-text', 'Xenova/vit-gpt2-image-captioning');
vit-gpt2-image-captioning
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
Xenova's picture
Xenova HF Staff
Upload fp16 ONNX weights
786e3bb verified about 2 years ago
  • onnx
    Upload fp16 ONNX weights about 2 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    569 Bytes
    Update README.md almost 3 years ago
  • config.json
    4.89 kB
    Upload folder using huggingface_hub almost 3 years ago
  • generation_config.json
    184 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • merges.txt
    456 kB
    Upload folder using huggingface_hub about 3 years ago
  • preprocessor_config.json
    378 Bytes
    Upload 16 files about 3 years ago
  • quantize_config.json
    3.11 kB
    Upload folder using huggingface_hub almost 3 years ago
  • special_tokens_map.json
    131 Bytes
    Upload 16 files about 3 years ago
  • tokenizer.json
    2.11 MB
    Upload folder using huggingface_hub about 3 years ago
  • tokenizer_config.json
    456 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • vocab.json
    798 kB
    Upload 16 files about 3 years ago