jqf commited on
Commit
367bd60
1 Parent(s): c5c2887

Upload requires.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. requires.sh +18 -0
requires.sh ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pip install huggingface_hub
2
+
3
+ pip install transformers
4
+
5
+ pip install datasets sentencepiece tensorboard
6
+ # install git-fls for pushing model and logs to the hugging face hub
7
+
8
+ sudo apt-get install git-lfs --yes
9
+
10
+ # clone repository
11
+ git clone https://github.com/zzzDavid/ICDAR-2019-SROIE.git
12
+ # copy data
13
+ cp -r ICDAR-2019-SROIE/data ./
14
+ # clean up
15
+ rm -rf ICDAR-2019-SROIE
16
+ rm -rf data/box
17
+
18
+