Instructions to use hezarai/gpt2-base-fa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Hezar
How to use hezarai/gpt2-base-fa with Hezar:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
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