Spaces:
Sleeping
Sleeping
| library_name: evaluate | |
| emoji: 🤗 | |
| colorFrom: blue | |
| colorTo: red | |
| datasets: | |
| - raptorkwok/cantonese-traditional-chinese-parallel-corpus-gen3 | |
| tags: | |
| - nlp | |
| - translation | |
| - chinese | |
| - meteor | |
| - jieba | |
| description: A BLEU implementation dedicated for Chinese sentences | |
| sdk: gradio | |
| sdk_version: 3.19.1 | |
| app_file: app.py | |
| pinned: false | |
| # # Metric Card for ChineseMETEOR | |
| Chinese METEOR Implementation | |
| ```python | |
| import evaluate | |
| meteor = evaluate.load("raptorkwok/chinesemeteor") | |
| results = meteor.compute( | |
| predictions=["我在這裡吃飯"], | |
| references=["我在這裡吃飯"] | |
| ) | |
| print(results) | |
| # {'meteor': 1.0} | |