stas commited on
Commit
6eaa078
1 Parent(s): 608ea72
Files changed (1) hide show
  1. make-tiny-xlm-roberta.py +6 -2
make-tiny-xlm-roberta.py CHANGED
@@ -34,10 +34,14 @@
34
  # wget https://huggingface.co/hf-internal-testing/tiny-bert/raw/main/make-tiny-xlm-roberta.py
35
  # chmod a+x ./make-tiny-xlm-roberta.py
36
  #
37
- # 5. edit and re-run this script while fixing it up
 
 
 
 
38
  # ./make-tiny-xlm-roberta.py .
39
  #
40
- # 6. add/commit/push
41
  # git add *
42
  # git commit -m "new tiny model"
43
  # git push
 
34
  # wget https://huggingface.co/hf-internal-testing/tiny-bert/raw/main/make-tiny-xlm-roberta.py
35
  # chmod a+x ./make-tiny-xlm-roberta.py
36
  #
37
+ # 5. automatically rename things from the old names to new ones
38
+ # perl -pi -e 's|MT5|XLMRoberta|g' make-tiny-xlm-roberta.py
39
+ # perl -pi -e 's|mt5|xlm-roberta|g' make-tiny-xlm-roberta.py
40
+ #
41
+ # 6. edit and re-run this script while fixing it up
42
  # ./make-tiny-xlm-roberta.py .
43
  #
44
+ # 7. add/commit/push
45
  # git add *
46
  # git commit -m "new tiny model"
47
  # git push