Datasets:
0x22almostEvil
commited on
Commit
•
f41b78f
1
Parent(s):
b04e418
Brrrr
Browse filesWARNING: Cringe Code
- source/create_dataset.py +1 -2
source/create_dataset.py
CHANGED
@@ -18,12 +18,11 @@ langs = {
|
|
18 |
}
|
19 |
|
20 |
n = 2200
|
21 |
-
n_k = n / 1000 - n % 100
|
22 |
|
23 |
|
24 |
def cleandata(lang):
|
25 |
input_file = f'data_{lang}.csv'
|
26 |
-
output_file = f'{lang}-wikihow-qa-dataset-{
|
27 |
|
28 |
unique_urls = {}
|
29 |
|
|
|
18 |
}
|
19 |
|
20 |
n = 2200
|
|
|
21 |
|
22 |
|
23 |
def cleandata(lang):
|
24 |
input_file = f'data_{lang}.csv'
|
25 |
+
output_file = f'{lang}-wikihow-qa-dataset-{n / 1000}k.csv'
|
26 |
|
27 |
unique_urls = {}
|
28 |
|