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)

Sign up or log in to comment