Run this model with HF Jobs
Run MingZhong/unieval-sum 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/MingZhong/unieval-sum. 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/MingZhong/unieval-sum 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 MingZhong/unieval-sum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MingZhong/unieval-sum with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("MingZhong/unieval-sum") model = AutoModelForSeq2SeqLM.from_pretrained("MingZhong/unieval-sum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Pre-trained evaluator in EMNLP 2022 paper
Towards a Unified Multi-Dimensional Evaluator for Text Generation
Introduction
Multi-dimensional evaluation is the dominant paradigm for human evaluation in Natural Language Generation (NLG), i.e., evaluating the generated text from multiple explainable dimensions, such as coherence and fluency.
However, automatic evaluation in NLG is still dominated by similarity-based metrics (e.g., ROUGE, BLEU), but they are not sufficient to portray the difference between the advanced generation models.
Therefore, we propose UniEval to bridge this gap so that a more comprehensive and fine-grained evaluation of NLG systems can be achieved.
Pre-trained Evaluator
unieval-sum is the pre-trained evaluator for the text summarization task. It can evaluate the model output from four dimensions:
- coherence
- consistency
- fluency
- relevance
It can also be transferred to the new dimensions and generation tasks, such as naturalness and informativeness for data-to-text.
Usage
Please refer to our GitHub repository.
- Downloads last month
- 1,232
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("MingZhong/unieval-sum") model = AutoModelForSeq2SeqLM.from_pretrained("MingZhong/unieval-sum", device_map="auto")