Transformers
PyTorch
TensorFlow
ONNX
Safetensors
English
t5
text2text-generation
summary
summarizer
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run shorecode/t5-efficient-tiny-summarizer-general-purpose-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/shorecode/t5-efficient-tiny-summarizer-general-purpose-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/shorecode/t5-efficient-tiny-summarizer-general-purpose-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 lines282930313233342 unmodified lines373839404142432 unmodified lines464748495051522 unmodified lines555657585960612 unmodified lines646566676869702 unmodified lines737475767778792 unmodified lines828384858687882 unmodified lines9192939495969727 unmodified linesmetrics:- name: f1 Scoretype: f1 Scorevalue: 0.308- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Faithfullness (facebook/bart-large-cnn)type: facebook/bart-large-cnnvalue: 2.91- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Compressiontype: Lighteval extractivenessvalue: 7.48- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Coveragetype: Lighteval extractivenessvalue: 0.90- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Densitytype: Lighteval extractivenessvalue: 5.78- task:type: Summarizationdataset:2 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 costs27 unmodified lines282930313233342 unmodified lines373839404142432 unmodified lines464748495051522 unmodified lines555657585960612 unmodified lines646566676869702 unmodified lines737475767778792 unmodified lines828384858687882 unmodified lines91929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312427 unmodified linesmetrics:- name: f1 Scoretype: f1 Scorevalue: 0.323- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Faithfullness (facebook/bart-large-cnn)type: facebook/bart-large-cnnvalue: 2.56- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Compressiontype: Lighteval extractivenessvalue: 6.91- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Coveragetype: Lighteval extractivenessvalue: 0.89- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: Summarization Densitytype: Lighteval extractivenessvalue: 4.95- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL precisiontype: Lightevalvalue: 0.51- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL recalltype: Lightevalvalue: 0.13- task:type: Summarizationdataset:2 unmodified linesmetrics:- name: rougeL fmeasuretype: Lightevalvalue: 0.20- task:type: Summarizationdataset:name: shorecode/summary-collection-60k-rowstype: shorecode/summary-collection-60k-rowsmetrics:- name: rouge1 precisiontype: Lightevalvalue: 0.71- task:type: Summarizationdataset:name: shorecode/summary-collection-60k-rowstype: shorecode/summary-collection-60k-rowsmetrics:- name: rouge1 recalltype: Lightevalvalue: 0.18- task:type: Summarizationdataset:name: shorecode/summary-collection-60k-rowstype: shorecode/summary-collection-60k-rowsmetrics:- name: rouge1 fmeasuretype: Lightevalvalue: 0.28---# This model was built to shorten text to be injected into LLM prompts to reduce API calling costs
README.md+35-8