How to use this model directly from the
from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("akhooli/personachat-arabic") model = AutoModel.from_pretrained("akhooli/personachat-arabic")
This is personachat-arabic, using a subset from the persona-chat validation dataset, machine translated to Arabic (from English)
and fine-tuned from akhooli/gpt2-small-arabic which is a limited text generation model.
Usage: see the last section of this example notebook Note: model has limited training set which was machine translated (do not use for production).