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
10.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
whitphx's picture
whitphx
Add/update the quantized ONNX model files and README.md for Transformers.js v3
031d25f verified 11 months ago
  • onnx
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 11 months ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.23 kB
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 11 months ago
  • config.json
    4.89 kB
    Upload folder using huggingface_hub over 2 years ago
  • generation_config.json
    184 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • merges.txt
    456 kB
    Upload folder using huggingface_hub almost 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 over 2 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 almost 3 years ago
  • tokenizer_config.json
    456 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • vocab.json
    798 kB
    Upload 16 files about 3 years ago