T5
Collection
Originally from Google: Text-To-Text Transfer Transformer (T5)
•
4 items
•
Updated
This is an INT8 PyTorch model quantized with huggingface/optimum-intel through the usage of Intel® Neural Compressor.
The original fp32 model comes from the fine-tuned model flax-community/t5-base-cnn-dm.
INT8 | FP32 | |
---|---|---|
Accuracy (eval-rougeLsum) | 36.5661 | 36.5959 |
Model size | 326M | 892M |
from optimum.intel import INCModelForSeq2SeqLM
model_id = "Intel/t5-base-cnn-dm-int8-dynamic"
int8_model = INCModelForSeq2SeqLM.from_pretrained(model_id)