Spaces:
Running
Running
johngiorgi
commited on
Commit
•
f984a79
1
Parent(s):
7a877e3
Add import statement for load method
Browse files
README.md
CHANGED
@@ -35,6 +35,7 @@ BLEURT is intended to be used for evaluating text produced by language models.
|
|
35 |
This metric takes as input lists of predicted sentences and reference sentences:
|
36 |
|
37 |
```python
|
|
|
38 |
>>> predictions = ["hello there", "general kenobi"]
|
39 |
>>> references = ["hello there", "general kenobi"]
|
40 |
>>> bleurt = load("bleurt", module_type="metric")
|
|
|
35 |
This metric takes as input lists of predicted sentences and reference sentences:
|
36 |
|
37 |
```python
|
38 |
+
>>> from evaluate import load
|
39 |
>>> predictions = ["hello there", "general kenobi"]
|
40 |
>>> references = ["hello there", "general kenobi"]
|
41 |
>>> bleurt = load("bleurt", module_type="metric")
|