Summarization
Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run autoevaluate/summarization 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/autoevaluate/summarization. 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/autoevaluate/summarization 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 autoevaluate/summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use autoevaluate/summarization with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="autoevaluate/summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("autoevaluate/summarization") model = AutoModelForSeq2SeqLM.from_pretrained("autoevaluate/summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add evaluation results on xsum
#2
by lewtun HF Staff - opened
19 unmodified lines20212223242519 unmodified lines- name: Rouge1type: rougevalue: 23.9405---<!-- This model card has been generated automatically according to the information the Trainer had access to. You19 unmodified lines2021222324252627282930313233343536373839404142434445464748495019 unmodified lines- name: Rouge1type: rougevalue: 23.9405- task:name: Summarizationtype: summarizationdataset:type: xsumname: xsumconfig: defaultsplit: testmetrics:- name: ROUGE-1type: rougevalue: 18.0961verified: true- name: ROUGE-2type: rougevalue: 3.3941verified: true- name: ROUGE-Ltype: rougevalue: 14.3571verified: true- name: ROUGE-LSUMtype: rougevalue: 14.4809verified: true---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
README.md+25