Update README.md
#1
by
Amin24
- opened
README.md
CHANGED
|
@@ -15,10 +15,10 @@ pip install hezar
|
|
| 15 |
```
|
| 16 |
|
| 17 |
```python
|
| 18 |
-
from hezar import Model
|
| 19 |
|
| 20 |
|
| 21 |
-
model = Model.load("gpt2-base-fa")
|
| 22 |
text = " در یک اتفاق شگفت انگیز، پژوهشگران"
|
| 23 |
outputs = model.predict(text)
|
| 24 |
print(outputs)
|
|
|
|
| 15 |
```
|
| 16 |
|
| 17 |
```python
|
| 18 |
+
from hezar.model import Model
|
| 19 |
|
| 20 |
|
| 21 |
+
model = Model.load("hezarai/gpt2-base-fa")
|
| 22 |
text = " در یک اتفاق شگفت انگیز، پژوهشگران"
|
| 23 |
outputs = model.predict(text)
|
| 24 |
print(outputs)
|