ONNX Model Zoo

tarekziade/test-push

By tarekziade · ↓ 9 · ♥ 0 · Updated 2024-06-21

What's in this repo

This page lists the files in tarekziade/test-push, including decoder_model.onnx, decoder_model_merged.onnx, decoder_model_merged_quantized.onnx and more.

  • 8 ONNX models (.onnx files)
  • 24 files, including 8 .json, 8 .onnx, 2 .txt, 2 .bin, 1 .md, 1 .csv
  • Last updated 2024-06-21

ONNX files

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

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

distilvit

This model is a work in progress. Fine-tuned version of those base models:

  • a VIT model for the image encoder: https://huggingface.co/google/vit-base-patch16-224-in21k
  • a Distilled GPT-2 model for the text decoder: https://huggingface.co/distilbert/distilgpt2

This model was trained on:

  • Flickr30k : https://huggingface.co/datasets/nlphuji/flickr30k
  • COCO 2017: https://cocodataset.org

You can get that checkpoint using the 3083a3cef6e3c8dd90df3f088074bbe836b0f403 commit.

It was then further fine-tuned on :

  • Flickr30k debiased: https://huggingface.co/datasets/Mozilla/flickr30k-transformed-captions
  • DocOrNot: https://huggingface.co/datasets/Mozilla/docornot

You can find the code used to create the model here: https://github.com/mozilla/distilvit

Framework versions

  • Transformers 4.40.2
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1

Model info

image-to-text transformers
transformers pytorch onnx vision-encoder-decoder image-text-to-text image-to-text image-captioning dataset:nlphuji/flickr30k base_model:google/vit-base-patch16-224-in21k base_model:quantized:google/vit-base-patch16-224-in21k license:apache-2.0 model-index
↓ 9 ♥ 0

Created: 2024-06-21

Updated: 2024-06-21

View on Hugging Face

Files (24)

.DS_Store
.gitattributes
README.md
codecarbon.csv
config.json
generation_config.json
merges.txt
onnx/decoder_model.onnx ONNX
onnx/decoder_model_merged.onnx ONNX
onnx/decoder_model_quantized.onnx ONNX
onnx/decoder_with_past_model.onnx ONNX
onnx/decoder_with_past_model_quantized.onnx ONNX
onnx/encoder_model.onnx ONNX
onnx/encoder_model_quantized.onnx ONNX
powermetrics_log.txt
preprocessor_config.json
pytorch_model.bin
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
training_args.bin
vocab.json

Related models