Views
No views yet
pip install hezar
1from hezar.models import Model 2 3pos_model = Model.load("hezarai/bert-fa-pos-lscp-500k") 4inputs = ["کتابخانه هوش مصنوعی هزار"] 5pos_outputs = pos_model.predict(inputs) 6print(pos_outputs)