ONNX Model Zoo

MrPoloM/vit-gpt2-op19

By MrPoloM · ↓ 3 · ♥ 0 · Updated 2024-11-01

What's in this repo

This page lists the files in MrPoloM/vit-gpt2-op19, including decoder_model.onnx, decoder_model_merged.onnx, decoder_model_merged_fp16.onnx and more.

  • 13 ONNX models (.onnx files)
  • 26 files, including 13 .onnx, 8 .json, 1 .md, 1 .txt
  • Last updated 2024-11-01

ONNX files

File Size Download
onnx/backup/decoder_model.onnx — Download
onnx/backup/decoder_model_merged.onnx — Download
onnx/backup/decoder_model_merged_fp16.onnx — Download
onnx/backup/decoder_model_merged_quantized.onnx — Download
onnx/backup/decoder_model_quantized.onnx — Download
onnx/backup/decoder_with_past_model.onnx — Download
onnx/backup/decoder_with_past_model_quantized.onnx — Download
onnx/backup/encoder_model.onnx — Download
onnx/backup/encoder_model_fp16.onnx — Download
onnx/backup/encoder_model_quantized.onnx — Download

Showing 10 of 13 .onnx files — see the full file list on the right.

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

https://huggingface.co/nlpconnect/vit-gpt2-image-captioning with ONNX weights to be compatible with Transformers.js.

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Model info

image-to-text transformers.js
transformers.js onnx vision-encoder-decoder image-text-to-text image-captioning image-to-text base_model:nlpconnect/vit-gpt2-image-captioning base_model:quantized:nlpconnect/vit-gpt2-image-captioning region:us
↓ 3 ♥ 0

Created: 2024-10-31

Updated: 2024-11-01

View on Hugging Face

Files (26)

.gitattributes
README.md
config.json
generation_config.json
gitattributes
merges.txt
onnx/.DS_Store
onnx/backup/decoder_model.onnx ONNX
onnx/backup/decoder_model_merged.onnx ONNX
onnx/backup/decoder_model_merged_fp16.onnx ONNX
onnx/backup/decoder_model_quantized.onnx ONNX
onnx/backup/decoder_with_past_model.onnx ONNX
onnx/backup/decoder_with_past_model_quantized.onnx ONNX
onnx/backup/encoder_model.onnx ONNX
onnx/backup/encoder_model_fp16.onnx ONNX
onnx/backup/encoder_model_quantized.onnx ONNX
onnx/decoder_model.onnx ONNX
onnx/decoder_model_merged.onnx ONNX
onnx/encoder_model.onnx ONNX
preprocessor_config.json
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json

Related models