Instructions to use hezarai/bert-fa-sentiment-dksf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Hezar
How to use hezarai/bert-fa-sentiment-dksf 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
How should I use this model?
#1
by AliMoameri - opened
This comment has been hidden
I get it. You should use hezar package to load it:
from hezar.models import Model
example = ["هزار، کتابخانهای کامل برای به کارگیری آسان هوش مصنوعی"]
model = Model.load("hezarai/bert-fa-sentiment-dksf")
outputs = model.predict(example)
print(outputs)