CoolFace
Apppublic

morgankavanagh/post_editing_evaluator

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Translation Post-Editing Evaluator

This Space evaluates machine translations using BLEU, COMET, and ChrF metrics, with ChatGPT integration for post-editing.

πŸ“ Post-Editing Evaluation Tool

This project is a web-based evaluation tool that scores machine translation (MT) output against human-edited references using BLEU, CHRF, and COMET metrics. It is packaged as a Gradio interface and deployable via Hugging Face Spaces.


πŸš€ Features

  • β€”πŸ“Š Evaluate MT output with:
  • β€”BLEU
  • β€”CHRF
  • β€”COMET (requires OpenAI API key)
  • β€”πŸ–₯️ Simple, interactive web UI via Gradio
  • β€”πŸ³ Hugging Face Spaces–compatible Docker deployment

πŸ§ͺ Example Use

Paste or upload:

  • β€”Source text
  • β€”Machine translation output
  • β€”Post-edited reference

Then click "Evaluate" to see automatic quality scores.


πŸ“¦ Installation (for local development)

bash
git clone https://github.com/yourusername/post_editing_evaluator.git
cd post_editing_evaluator
python -m venv venv
source venv/bin/activate  # or .\venv\Scripts\activate on Windows
pip install -r requirements.txt
python interface.py