The original ParsGPT2 model ported to Hezar for compatibility.

Usage

pip install hezar
from hezar.models import Model


model = Model.load("hezarai/gpt2-base-fa")
text = " در یک اتفاق شگفت انگیز، پژوهشگران"
outputs = model.predict(text)
print(outputs)
Downloads last month
36
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including hezarai/gpt2-base-fa