Run this model with HF Jobs
Run google/seahorse-large-q5 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/google/seahorse-large-q5. 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/google/seahorse-large-q5 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 google/seahorse-large-q5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/seahorse-large-q5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/seahorse-large-q5") model = AutoModelForSeq2SeqLM.from_pretrained("google/seahorse-large-q5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
This is model based on mT5-L that predicts a binary label for a given article and summary for Q5 (main idea(s)), as defined in the SEAHORSE paper (Clark et al., 2023).
It is trained similarly to the TRUE paper (Honovich et al, 2022) on human ratings from the SEAHORSE dataset in 6 languages:
- German
- English
- Spanish
- Russian
- Turkish
- Vietnamese
The input format for the model is: "premise: ARTICLE hypothesis: SUMMARY", where ARTICLE is the document being summarized and SUMMARY is the candidate summary.
There is also an XXL version of this model, as well as metrics trained for each of the other 5 dimensions described in the original paper.
The full citation for the SEAHORSE paper is:
@misc{clark2023seahorse,
title={SEAHORSE: A Multilingual, Multifaceted Dataset for Summarization Evaluation},
author={Elizabeth Clark and Shruti Rijhwani and Sebastian Gehrmann and Joshua Maynez and Roee Aharoni and Vitaly Nikolaev and Thibault Sellam and Aditya Siddhant and Dipanjan Das and Ankur P. Parikh},
year={2023},
eprint={2305.13194},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Contact: seahorse-authors@google.com
- Downloads last month
- 193