source code git add
Browse files- parapluie.py +5 -5
parapluie.py
CHANGED
|
@@ -88,14 +88,14 @@ class Parapluie(evaluate.Metric):
|
|
| 88 |
inputs_description=_KWARGS_DESCRIPTION,
|
| 89 |
# This defines the format of each prediction and reference
|
| 90 |
features=datasets.Features({
|
| 91 |
-
'Source': datasets.Value(
|
| 92 |
-
'Hypothese': datasets.Value(
|
| 93 |
}),
|
| 94 |
# Homepage of the module for documentation
|
| 95 |
-
homepage="http://module.homepage",
|
| 96 |
# Additional links to the codebase or references
|
| 97 |
-
codebase_urls=["
|
| 98 |
-
reference_urls=["http://path.to.reference.url/new_module"]
|
| 99 |
)
|
| 100 |
|
| 101 |
def _download_and_prepare(self, dl_manager):
|
|
|
|
| 88 |
inputs_description=_KWARGS_DESCRIPTION,
|
| 89 |
# This defines the format of each prediction and reference
|
| 90 |
features=datasets.Features({
|
| 91 |
+
'Source': datasets.Value("string"),
|
| 92 |
+
'Hypothese': datasets.Value("string"),
|
| 93 |
}),
|
| 94 |
# Homepage of the module for documentation
|
| 95 |
+
# homepage="http://module.homepage",
|
| 96 |
# Additional links to the codebase or references
|
| 97 |
+
codebase_urls=["https://gitlab.inria.fr/expression/paraphrase-generation-evaluation-powered-by-an-llm-a-semantic-metric-not-a-lexical-one-coling-2025"],
|
| 98 |
+
# reference_urls=["http://path.to.reference.url/new_module"]
|
| 99 |
)
|
| 100 |
|
| 101 |
def _download_and_prepare(self, dl_manager):
|