Spaces:
Runtime error
Runtime error
davebulaval
commited on
Commit
β’
df39cd4
1
Parent(s):
9db8db7
fix typos
Browse files- app.py +1 -1
- meaningbert.py +1 -1
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
4 |
-
module = evaluate.load("meaningbert")
|
5 |
launch_gradio_widget(module)
|
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
4 |
+
module = evaluate.load("davebulaval/meaningbert")
|
5 |
launch_gradio_widget(module)
|
meaningbert.py
CHANGED
@@ -111,7 +111,7 @@ class MeaningBERTScore(evaluate.Metric):
|
|
111 |
verbose: bool = False,
|
112 |
) -> Dict:
|
113 |
assert len(documents) == len(
|
114 |
-
simplifications), "The number of document is different of the number of
|
115 |
hashcode = _HASH
|
116 |
|
117 |
# We load the MeaningBERT pretrained model
|
|
|
111 |
verbose: bool = False,
|
112 |
) -> Dict:
|
113 |
assert len(documents) == len(
|
114 |
+
simplifications), "The number of document is different of the number of simplifications."
|
115 |
hashcode = _HASH
|
116 |
|
117 |
# We load the MeaningBERT pretrained model
|