CoolFace
Modelpublic

hezarai/gpt2-base-fa

sourceHugging Faceupdated 2y agoView on Hugging Face
2likes2.1kdownloads
Model Card

The original ParsGPT2 model ported to Hezar for compatibility.

Usage

pip install hezar
python
from hezar.models import Model


model = Model.load("hezarai/gpt2-base-fa")
text = " در یک اتفاق شگفت انگیز، پژوهشگران"
outputs = model.predict(text)
print(outputs)