Push model using huggingface_hub.
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ pip install pxia
|
|
19 |
|
20 |
use the AutoModel class
|
21 |
```python
|
22 |
-
from
|
23 |
model = AutoModel.from_pretrained("phxia/gpt2")
|
24 |
```
|
25 |
or you can use the model class directly
|
|
|
19 |
|
20 |
use the AutoModel class
|
21 |
```python
|
22 |
+
from pxia AutoModel
|
23 |
model = AutoModel.from_pretrained("phxia/gpt2")
|
24 |
```
|
25 |
or you can use the model class directly
|