Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
Catalan
Size:
10K - 100K
License:
Update paws-ca.py
Browse files- paws-ca.py +2 -2
paws-ca.py
CHANGED
|
@@ -17,7 +17,7 @@ This dataset contains 4,000 human translated PAWS pairs and 49,000 machine trans
|
|
| 17 |
_HOMEPAGE = "https://zenodo.org/record/"
|
| 18 |
|
| 19 |
_URL = "https://huggingface.co/datasets/projecte-aina/paws-ca/resolve/main/"
|
| 20 |
-
|
| 21 |
_DEV_FILE = "dev_2k.json"
|
| 22 |
_TEST_FILE = "test_2k.json"
|
| 23 |
|
|
@@ -72,7 +72,7 @@ class PAWSX(datasets.GeneratorBasedBuilder):
|
|
| 72 |
"""Returns SplitGenerators."""
|
| 73 |
urls_to_download = {
|
| 74 |
"train": f"{_URL}{_TRAIN_FILE}",
|
| 75 |
-
"
|
| 76 |
"test": f"{_URL}{_TEST_FILE}",
|
| 77 |
}
|
| 78 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
|
|
|
| 17 |
_HOMEPAGE = "https://zenodo.org/record/"
|
| 18 |
|
| 19 |
_URL = "https://huggingface.co/datasets/projecte-aina/paws-ca/resolve/main/"
|
| 20 |
+
_TRAIN_FILE = "train.json"
|
| 21 |
_DEV_FILE = "dev_2k.json"
|
| 22 |
_TEST_FILE = "test_2k.json"
|
| 23 |
|
|
|
|
| 72 |
"""Returns SplitGenerators."""
|
| 73 |
urls_to_download = {
|
| 74 |
"train": f"{_URL}{_TRAIN_FILE}",
|
| 75 |
+
"dev": f"{_URL}{_DEV_FILE}",
|
| 76 |
"test": f"{_URL}{_TEST_FILE}",
|
| 77 |
}
|
| 78 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|