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
Created: 2024-06-21
Updated: 2024-06-21
View on Hugging Face