Update sarcasm.py
Browse files- sarcasm.py +1 -2
sarcasm.py
CHANGED
@@ -40,8 +40,7 @@ class Sarcasm(GeneratorBasedBuilder):
|
|
40 |
)
|
41 |
|
42 |
def _split_generators(self, dl_manager):
|
43 |
-
|
44 |
-
data_file_path = downloaded_files["combined_data.csv"]
|
45 |
|
46 |
num_examples = pd.read_csv(data_file_path).shape[0]
|
47 |
train_size = int(0.6 * num_examples)
|
|
|
40 |
)
|
41 |
|
42 |
def _split_generators(self, dl_manager):
|
43 |
+
data_file_path = dl_manager.download(_URLS["combined_data.csv"])
|
|
|
44 |
|
45 |
num_examples = pd.read_csv(data_file_path).shape[0]
|
46 |
train_size = int(0.6 * num_examples)
|