Transformers
PyTorch
TensorFlow
ONNX
Safetensors
English
t5
text2text-generation
summary
summarizer
Eval Results (legacy)
text-generation-inference
Instructions to use shorecode/t5-efficient-tiny-summarizer-general-purpose-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shorecode/t5-efficient-tiny-summarizer-general-purpose-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("shorecode/t5-efficient-tiny-summarizer-general-purpose-v2") model = AutoModelForSeq2SeqLM.from_pretrained("shorecode/t5-efficient-tiny-summarizer-general-purpose-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files27 unmodified lines2829303132333435363738394041424329 unmodified lines737475767778792 unmodified lines828384858687882 unmodified lines9192939495969727 unmodified linesmetrics:- name: f1 Scoretype: f1 Scorevalue: 0.295- task:type: Summarizationdataset:name: shorecode/summary-collection-60k-rowstype: shorecode/summary-collection-60k-rowsmetrics:- name: Faithfullnesstype: facebook/bart-large-cnnvalue: 2.12- task:type: Summarizationdataset:29 unmodified linesmetrics:- name: rougeL precisiontype: Lightevalvalue: 0.67- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL recalltype: Lightevalvalue: 0.15- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL fmeasuretype: Lightevalvalue: 0.25---# This model was built to shorten text to be injected into LLM prompts to reduce API calling costs27 unmodified lines2829303132333435363738394041424329 unmodified lines737475767778792 unmodified lines828384858687882 unmodified lines9192939495969727 unmodified linesmetrics:- name: f1 Scoretype: f1 Scorevalue: 0.308- task:type: Summarizationdataset:name: shorecode/summary-collection-60k-rowstype: shorecode/summary-collection-60k-rowsmetrics:- name: Faithfullness (facebook/bart-large-cnn)type: facebook/bart-large-cnnvalue: 2.91- task:type: Summarizationdataset:29 unmodified linesmetrics:- name: rougeL precisiontype: Lightevalvalue: 0.56- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL recalltype: Lightevalvalue: 0.12- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL fmeasuretype: Lightevalvalue: 0.19---# This model was built to shorten text to be injected into LLM prompts to reduce API calling costs
README.md+6-6