Spaces:
Runtime error
Runtime error
Minor
Browse files
README.md
CHANGED
|
@@ -34,12 +34,12 @@ Sem-F1 takes 2 mandatory arguments:
|
|
| 34 |
```python
|
| 35 |
from evaluate import load
|
| 36 |
predictions = [
|
| 37 |
-
|
| 38 |
-
|
| 39 |
]
|
| 40 |
references = [
|
| 41 |
-
|
| 42 |
-
|
| 43 |
]
|
| 44 |
metric = load("nbansal/semf1")
|
| 45 |
results = metric.compute(predictions=predictions, references=references)
|
|
|
|
| 34 |
```python
|
| 35 |
from evaluate import load
|
| 36 |
predictions = [
|
| 37 |
+
"I go to School. You are stupid.",
|
| 38 |
+
"I love adventure sports.",
|
| 39 |
]
|
| 40 |
references = [
|
| 41 |
+
"I go to School. You are stupid.",
|
| 42 |
+
"I love outdoor sports.",
|
| 43 |
]
|
| 44 |
metric = load("nbansal/semf1")
|
| 45 |
results = metric.compute(predictions=predictions, references=references)
|