BossRui commited on
Commit
c11162c
·
verified ·
1 Parent(s): 7f40919

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -194,13 +194,13 @@ Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish,
194
  We take Apollo-MoE-0.5B as an example
195
  1. Login Huggingface
196
 
197
- ```
198
  huggingface-cli login --token $HUGGINGFACE_TOKEN
199
  ```
200
 
201
  2. Download model to local dir
202
 
203
- ```
204
  from huggingface_hub import snapshot_download
205
  import os
206
 
@@ -210,7 +210,7 @@ Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish,
210
 
211
  3. Inference Example
212
 
213
- ```
214
  from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
215
  import os
216
 
 
194
  We take Apollo-MoE-0.5B as an example
195
  1. Login Huggingface
196
 
197
+ ```shell
198
  huggingface-cli login --token $HUGGINGFACE_TOKEN
199
  ```
200
 
201
  2. Download model to local dir
202
 
203
+ ```python
204
  from huggingface_hub import snapshot_download
205
  import os
206
 
 
210
 
211
  3. Inference Example
212
 
213
+ ```python
214
  from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
215
  import os
216