Instructions to use moussaKam/frugalscore_small_bert-base_mover-score with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moussaKam/frugalscore_small_bert-base_mover-score with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="moussaKam/frugalscore_small_bert-base_mover-score")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("moussaKam/frugalscore_small_bert-base_mover-score") model = AutoModelForSequenceClassification.from_pretrained("moussaKam/frugalscore_small_bert-base_mover-score", device_map="auto") - Notebooks
- Google Colab
- Kaggle
FrugalScore
FrugalScore is an approach to learn a fixed, low cost version of any expensive NLG metric, while retaining most of its original performance
Paper: https://arxiv.org/abs/2110.08559?context=cs
Project github: https://github.com/moussaKam/FrugalScore
The pretrained checkpoints presented in the paper :