Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
Portuguese
Size:
1K - 10K
License:
finish dataset generator
Browse files- aes_enem_dataset.py +3 -3
aes_enem_dataset.py
CHANGED
@@ -47,8 +47,8 @@ _HOMEPAGE = ""
|
|
47 |
_LICENSE = ""
|
48 |
|
49 |
_URLS = {
|
50 |
-
"sourceAOnly": "sourceAWithGraders.tar.gz",
|
51 |
-
"sourceAWithGraders": "sourceAWithGraders.tar.gz",
|
52 |
"sourceB": "https://huggingface.co/datasets/kamel-usp/aes_enem_dataset/resolve/main/sourceB.tar.gz?download=true",
|
53 |
}
|
54 |
|
@@ -565,7 +565,7 @@ class HTMLParser:
|
|
565 |
if key != config_name:
|
566 |
continue # TODO improve later, we will only support a single config at a time
|
567 |
if "sourceA" in config_name:
|
568 |
-
self.sourceA = f"{filepath}/
|
569 |
elif config_name == "sourceB":
|
570 |
self.sourceB = f"{filepath}/sourceB/sourceB.csv"
|
571 |
file = self.sourceA if self.sourceA else self.sourceB
|
|
|
47 |
_LICENSE = ""
|
48 |
|
49 |
_URLS = {
|
50 |
+
"sourceAOnly": "https://huggingface.co/datasets/kamel-usp/aes_enem_dataset/resolve/main/sourceAWithGraders.tar.gz?download=true",
|
51 |
+
"sourceAWithGraders": "https://huggingface.co/datasets/kamel-usp/aes_enem_dataset/resolve/main/sourceAWithGraders.tar.gz?download=true",
|
52 |
"sourceB": "https://huggingface.co/datasets/kamel-usp/aes_enem_dataset/resolve/main/sourceB.tar.gz?download=true",
|
53 |
}
|
54 |
|
|
|
565 |
if key != config_name:
|
566 |
continue # TODO improve later, we will only support a single config at a time
|
567 |
if "sourceA" in config_name:
|
568 |
+
self.sourceA = f"{filepath}/sourceA/sourceA.csv"
|
569 |
elif config_name == "sourceB":
|
570 |
self.sourceB = f"{filepath}/sourceB/sourceB.csv"
|
571 |
file = self.sourceA if self.sourceA else self.sourceB
|