Update README.md
Browse files
README.md
CHANGED
@@ -8,8 +8,15 @@ library_name: transformers
|
|
8 |
metrics: crossentropy
|
9 |
---
|
10 |
|
11 |
-
1.
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
```python
|
15 |
from transformers import T5Tokenizer
|
|
|
8 |
metrics: crossentropy
|
9 |
---
|
10 |
|
11 |
+
1. Install ColossalAI
|
12 |
+
|
13 |
+
```bash
|
14 |
+
git clone https://github.com/marsggbo/ColossalAI
|
15 |
+
cd ColossalAI
|
16 |
+
pip install -e .
|
17 |
+
```
|
18 |
+
2. download the pth file
|
19 |
+
3. load the state dict
|
20 |
|
21 |
```python
|
22 |
from transformers import T5Tokenizer
|