mabaochang commited on
Commit
34983b9
1 Parent(s): 10be430

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -2
README.md CHANGED
@@ -40,7 +40,7 @@ The code of Chinese data generation and other detailed information can be found
40
  |LR_scheduler | cosine |
41
 
42
  ## Download, Convert & Check
43
- After you git clone this model
44
  ```
45
  md5sum ./*
46
  340aa9ee27fa7931ccbabcc30f2f8a27 ./config.json.db303d8f096e427bd21ff97bb169c84fb3ae11336a644e3da3506419d44f6429.enc
@@ -51,7 +51,12 @@ ff291fcfa4e0048ca4ff262312faad83 ./tokenizer_config.json.ef7ef410b9b909949e96f1
51
  39ec1b33fbf9a0934a8ae0f9a24c7163 ./tokenizer.model.9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347.enc
52
  ```
53
 
54
- After you decrypt the files using https://github.com/LianjiaTech/BELLE/tree/main/models
 
 
 
 
 
55
  ```
56
  md5sum ./*
57
  32490e7229fb82c643e3a7b8d04a6c4b ./config.json
 
40
  |LR_scheduler | cosine |
41
 
42
  ## Download, Convert & Check
43
+ 1. After you git clone this model
44
  ```
45
  md5sum ./*
46
  340aa9ee27fa7931ccbabcc30f2f8a27 ./config.json.db303d8f096e427bd21ff97bb169c84fb3ae11336a644e3da3506419d44f6429.enc
 
51
  39ec1b33fbf9a0934a8ae0f9a24c7163 ./tokenizer.model.9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347.enc
52
  ```
53
 
54
+ 2. Decrypt the files using https://github.com/LianjiaTech/BELLE/tree/main/models#使用说明
55
+ ```
56
+ for f in "encrypted"/*; do if [ -f "$f" ]; then python3 decrypt.py "$f" "original/7B/consolidated.00.pth" "result/"; fi; done
57
+ ```
58
+
59
+ 3. Check md5sum
60
  ```
61
  md5sum ./*
62
  32490e7229fb82c643e3a7b8d04a6c4b ./config.json