Spaces:
Running
Running
Add import statement for load method
#5
by
johngiorgi
- opened
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")
|