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 / onnx
3.23 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Xenova's picture
Xenova HF Staff
Upload fp16 ONNX weights
918fd85 verified about 2 years ago
  • decoder_model.onnx
    613 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • decoder_model_merged.onnx
    615 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • decoder_model_merged_fp16.onnx
    310 MB
    xet
    Upload fp16 ONNX weights about 2 years ago
  • decoder_model_merged_quantized.onnx
    159 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • decoder_model_quantized.onnx
    156 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • decoder_with_past_model.onnx
    613 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • decoder_with_past_model_quantized.onnx
    156 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • encoder_model.onnx
    343 MB
    xet
    Upload folder using huggingface_hub about 3 years ago
  • encoder_model_fp16.onnx
    172 MB
    xet
    Upload fp16 ONNX weights about 2 years ago
  • encoder_model_quantized.onnx
    87.5 MB
    xet
    Upload folder using huggingface_hub about 3 years ago