0x22almostEvil commited on
Commit
9b4efa3
1 Parent(s): b407a75
.~lock.multilingial-wikihow-qa-dataset-8k.csv# ADDED
@@ -0,0 +1 @@
 
 
1
+ ,adam,archlinux,29.04.2023 17:58,file:///home/adam/.config/libreoffice/4;
language-specific/de-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/en-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/es-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/fr-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/it-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/nl-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/pt-wikihow-qa-dataset-1k.csv ADDED
The diff for this file is too large to render. See raw diff
 
language-specific/ru-wikihow-qa-dataset-1k.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bf5d879d408c992fc42c5821cbf92d0fbe2cf12b0673e0b6419021154c4998e
3
+ size 12290100
source/merge_datasets.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+
3
+ # list of all the csv files
4
+ csv_files = [
5
+ "en-wikihow-qa-dataset-1k.csv",
6
+ "ru-wikihow-qa-dataset-1k.csv",
7
+ "pt-wikihow-qa-dataset-1k.csv",
8
+ "nl-wikihow-qa-dataset-1k.csv",
9
+ "it-wikihow-qa-dataset-1k.csv",
10
+ "fr-wikihow-qa-dataset-1k.csv",
11
+ "es-wikihow-qa-dataset-1k.csv",
12
+ "de-wikihow-qa-dataset-1k.csv"
13
+ ]
14
+
15
+ # create an empty dataframe to hold the merged data
16
+ merged_data = pd.DataFrame()
17
+
18
+ # loop through all the csv files, read them into dataframes, and merge them
19
+ for file in csv_files:
20
+ data = pd.read_csv(file)
21
+ merged_data = pd.concat([merged_data, data], ignore_index=True)
22
+
23
+ # write the merged data to a new csv file
24
+ merged_data.to_csv("multilingial-wikihow-qa-dataset-8k.csv", index=False)