Kosuke-Yamada
commited on
Commit
•
65eb960
1
Parent(s):
aad7138
add jamp
Browse files- llm-jp-eval.py +2 -1
llm-jp-eval.py
CHANGED
@@ -6,6 +6,7 @@ from typing import Generator
|
|
6 |
|
7 |
import datasets
|
8 |
|
|
|
9 |
from .chabsa import ChabsaDatasetProcessor
|
10 |
from .coreference import WikipediaCoreferenceDatasetProcessor
|
11 |
from .dependency import WikipediaDependencyDatasetProcessor
|
@@ -129,7 +130,7 @@ class LlmJpEval(datasets.GeneratorBasedBuilder):
|
|
129 |
elif dataset_name == "jsts":
|
130 |
processor = JSTSDatasetProcessor
|
131 |
|
132 |
-
output_dir = "./data_llm-jp-eval"
|
133 |
processor(output_dir, version_name).pipeline()
|
134 |
|
135 |
eval_dir = output_dir / version_name / "evaluation"
|
|
|
6 |
|
7 |
import datasets
|
8 |
|
9 |
+
from .base import BaseDatasetProcessor
|
10 |
from .chabsa import ChabsaDatasetProcessor
|
11 |
from .coreference import WikipediaCoreferenceDatasetProcessor
|
12 |
from .dependency import WikipediaDependencyDatasetProcessor
|
|
|
130 |
elif dataset_name == "jsts":
|
131 |
processor = JSTSDatasetProcessor
|
132 |
|
133 |
+
output_dir = Path("./data_llm-jp-eval")
|
134 |
processor(output_dir, version_name).pipeline()
|
135 |
|
136 |
eval_dir = output_dir / version_name / "evaluation"
|