Update README.md
Browse files
README.md
CHANGED
|
@@ -201,7 +201,7 @@ Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish,
|
|
| 201 |
|
| 202 |
2. Download model to local dir
|
| 203 |
|
| 204 |
-
```
|
| 205 |
from huggingface_hub import snapshot_download
|
| 206 |
import os
|
| 207 |
|
|
@@ -211,7 +211,7 @@ Covering 12 Major Languages including English, Chinese, French, Hindi, Spanish,
|
|
| 211 |
|
| 212 |
3. Inference Example
|
| 213 |
|
| 214 |
-
```
|
| 215 |
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
|
| 216 |
import os
|
| 217 |
|
|
|
|
| 201 |
|
| 202 |
2. Download model to local dir
|
| 203 |
|
| 204 |
+
```python
|
| 205 |
from huggingface_hub import snapshot_download
|
| 206 |
import os
|
| 207 |
|
|
|
|
| 211 |
|
| 212 |
3. Inference Example
|
| 213 |
|
| 214 |
+
```python
|
| 215 |
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
|
| 216 |
import os
|
| 217 |
|