stas commited on
Commit
de839e2
1 Parent(s): d3cc9ec
Files changed (1) hide show
  1. make-tiny-albert.py +6 -6
make-tiny-albert.py CHANGED
@@ -29,15 +29,15 @@
29
  # 3. clone
30
  # git clone https://huggingface.co/hf-internal-testing/tiny-albert
31
  # cd tiny-albert
32
-
33
  # 4. start with some pre-existing script from one of the https://huggingface.co/hf-internal-testing/ tiny model repos, e.g.
34
- # wget https://huggingface.co/hf-internal-testing/tiny-albert/raw/main/make-tiny-albert.py
35
- # chmod a+x ./make-tiny-albert.py
36
- # mv ./make-tiny-albert.py ./make-tiny-albert.py
37
  #
38
  # 5. automatically rename things from the old names to new ones
39
- # perl -pi -e 's|Albert|Albert|g' make-*
40
- # perl -pi -e 's|albert|albert|g' make-*
41
  #
42
  # 6. edit and re-run this script while fixing it up
43
  # ./make-tiny-albert.py
29
  # 3. clone
30
  # git clone https://huggingface.co/hf-internal-testing/tiny-albert
31
  # cd tiny-albert
32
+ #
33
  # 4. start with some pre-existing script from one of the https://huggingface.co/hf-internal-testing/ tiny model repos, e.g.
34
+ # wget https://huggingface.co/hf-internal-testing/tiny-xlm-roberta
35
+ # chmod a+x ./make-tiny-xlm-roberta.py
36
+ # mv ./make-tiny-xlm-roberta.py ./make-tiny-albert.py
37
  #
38
  # 5. automatically rename things from the old names to new ones
39
+ # perl -pi -e 's|XLMRoberta|Albert|g' make-*
40
+ # perl -pi -e 's|xlm-roberta|albert|g' make-*
41
  #
42
  # 6. edit and re-run this script while fixing it up
43
  # ./make-tiny-albert.py