File size: 528 Bytes
360dd3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
python update-metadata.py

# git lfs install
git clone https://huggingface.co/datasets/SaiedAlshahrani/Wikipedia-Corpora-Report
cd Wikipedia-Corpora-Report/

head -n1 ../English--Wikipedia--Metadata.csv > Wikipedia-Corpora-Report.csv
sed -i '' 1d ../*--Wikipedia--Metadata.csv
cat ../*--Wikipedia--Metadata.csv >> Wikipedia-Corpora-Report.csv
# cp -r ../all-metadata .

git add .
git status
git commit -m "Update Wikipedia-Corpora-Report.csv"
git push

rm ../*--Wikipedia--Metadata.csv
cp Wikipedia-Corpora-Report.csv ..
cd ..