Update README.md
Browse files
README.md
CHANGED
@@ -200,7 +200,7 @@ Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish,
|
|
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 |
|
|
|
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 |
|