Update README.md
#1
by
Amin24
- opened
No description provided.
This throws an error:
from hezar import Model
model = Model.load("gpt2-base-fa")
text = "سلام"
outputs = model.predict(text)
print(outputs)
Should be like this instead:
from hezar.models import Model
model = Model.load("hezarai/gpt2-base-fa")
text = " سلام"
outputs = model.predict(text)
print(outputs)
arxyzan
changed pull request status to
merged