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
79
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The HF Inference API does not support text-generation models for hezar library.

Collection including hezarai/gpt2-base-fa