'import AutoConfig' added
Browse files
README.md
CHANGED
|
@@ -213,7 +213,7 @@ The reason for writing the code this way is to avoid errors that occur during mu
|
|
| 213 |
```python
|
| 214 |
import math
|
| 215 |
import torch
|
| 216 |
-
from transformers import AutoTokenizer, AutoModel
|
| 217 |
|
| 218 |
def split_model(model_name):
|
| 219 |
device_map = {}
|
|
|
|
| 213 |
```python
|
| 214 |
import math
|
| 215 |
import torch
|
| 216 |
+
from transformers import AutoTokenizer, AutoModel, AutoConfig
|
| 217 |
|
| 218 |
def split_model(model_name):
|
| 219 |
device_map = {}
|