readme
Browse files
README.md
CHANGED
|
@@ -75,6 +75,7 @@ ERNIE-4.5-300B-A47B-Base is a text MoE Base model, with 300B total parameters an
|
|
| 75 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 76 |
|
| 77 |
```python
|
|
|
|
| 78 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 79 |
|
| 80 |
model_name = "baidu/ERNIE-4.5-300B-A47B-Base-PT"
|
|
|
|
| 75 |
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 76 |
|
| 77 |
```python
|
| 78 |
+
import torch
|
| 79 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 80 |
|
| 81 |
model_name = "baidu/ERNIE-4.5-300B-A47B-Base-PT"
|