ONNX Model Zoo

tarekziade/deit-tiny-distilgpt2

By tarekziade · ↓ 11 · ♥ 2 · Updated 2024-03-25

What's in this repo

This page lists the files in tarekziade/deit-tiny-distilgpt2, including decoder_model.onnx, decoder_model_merged.onnx, decoder_model_merged_quantized.onnx and more.

  • 8 ONNX models (.onnx files)
  • 21 files, including 8 .json, 8 .onnx, 1 .md, 1 .txt, 1 .safetensors, 1 .bin
  • Last updated 2024-03-25

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

Variation of https://huggingface.co/tarekziade/distilvit

Trained on 270k images from Flickr10k and COCO. Training source code: https://github.com/tarekziade/distilvit

Results:

  • eval_loss: 0.2305169701576233
  • eval_rouge1: 39.511
  • eval_rouge2: 14.7798
  • eval_rougeL: 35.9476
  • eval_rougeLsum: 35.9497
  • eval_gen_len: 11.695219762592236

Model info

image-to-text transformers
transformers onnx safetensors vision-encoder-decoder image-text-to-text image-to-text image-captioning base_model:distilbert/distilgpt2 base_model:quantized:distilbert/distilgpt2 license:apache-2.0 endpoints_compatible region:us
↓ 11 ♥ 2

Created: 2024-03-25

Updated: 2024-03-25

View on Hugging Face

Files (21)

.gitattributes
README.md
config.json
generation_config.json
merges.txt
model.safetensors
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
preprocessor_config.json
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
training_args.bin
vocab.json

Related models