File size: 661 Bytes
534a3f8 e3f9170 534a3f8 e3f9170 52c6cb9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
---
title: iBLEU
emoji: π
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: 3.16.1
app_file: app.py
pinned: false
---
iBLEU measures the adequacy and dissimilarity of generated paraphrases.
Example:
```
>>> inputs = ["greetings general kenobi", "foo foo bar bar"]
>>> predictions = ["hello there general kenobi", "foo bar foobar"]
>>> references = [["hello there general kenobi", "hello there !"], ["foo bar foobar", "foo bar foobar"]]
>>> ibleu = evaluate.load("rahular/ibleu")
>>> results = ibleu.compute(inputs=inputs, predictions=predictions, references=references)
>>> print(results)
{'score': 60.41585343630594}
``` |