Update jsts.py
Browse filesFix the URLs to the dataset
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/refs/tags/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/refs/tags/v1.1.0/datasets/jsts-v1.1/valid-v1.1.json",
|
29 |
str(raw_test_path),
|
30 |
)
|
31 |
|