fix dataset url (same as original llm-jp / llm-jp-eval)
Browse filesThe dataset URL in jsts.py is outdated and currently returns a 404 error.
This PR updates the URL to the latest one, consistent with the original llm-jp/llm-jp-eval repository.
jsts.py
CHANGED
|
@@ -19,13 +19,13 @@ class JSTSDatasetProcessor(BaseDatasetProcessor):
|
|
| 19 |
raw_train_path: Path = self.raw_dir / f"{self.data_name}_train.json"
|
| 20 |
if not raw_train_path.exists():
|
| 21 |
urlretrieve(
|
| 22 |
-
"https://raw.githubusercontent.com/yahoojapan/JGLUE/
|
| 23 |
str(raw_train_path),
|
| 24 |
)
|
| 25 |
raw_test_path: Path = self.raw_dir / f"{self.data_name}_test.json"
|
| 26 |
if not raw_test_path.exists():
|
| 27 |
urlretrieve(
|
| 28 |
-
"https://raw.githubusercontent.com/yahoojapan/JGLUE/
|
| 29 |
str(raw_test_path),
|
| 30 |
)
|
| 31 |
|
|
|
|
| 19 |
raw_train_path: Path = self.raw_dir / f"{self.data_name}_train.json"
|
| 20 |
if not raw_train_path.exists():
|
| 21 |
urlretrieve(
|
| 22 |
+
"https://raw.githubusercontent.com/yahoojapan/JGLUE/v1.1.0/datasets/jsts-v1.1/train-v1.1.json",
|
| 23 |
str(raw_train_path),
|
| 24 |
)
|
| 25 |
raw_test_path: Path = self.raw_dir / f"{self.data_name}_test.json"
|
| 26 |
if not raw_test_path.exists():
|
| 27 |
urlretrieve(
|
| 28 |
+
"https://raw.githubusercontent.com/yahoojapan/JGLUE/v1.1.0/datasets/jsts-v1.1/valid-v1.1.json",
|
| 29 |
str(raw_test_path),
|
| 30 |
)
|
| 31 |
|