Downloads · 30 days
13
1% of all-time downloads
mofawzy/argpt2-goodreads
argpt2-goodreads is a text generation model from mofawzy. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of gpt2-medium on an goodreads LABR dataset. It achieves the following results on the evaluation set: - Loss: 1.4389
Downloads · 30 days
13
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
3.3 GB
Likes
1
Public
Click a slice to open those files.
.bin1.7 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of gpt2-medium on an goodreads LABR dataset. It achieves the following results on the evaluation set:
Generate sentences either positive/negative examples based on goodreads corpus in arabic language.
the model fine-tuned on arabic language only with aspect to generate sentences such as reviews in order todo the same for other languages you need to fine-tune it in your own. any harmful content generated by GPT2 should not be used in anywhere.
training and validation done on goodreads dataset LABR 80% for trainng and 20% for testing
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("mofawzy/argpt2-goodreads")
model = AutoModelForCausalLM.from_pretrained("mofawzy/argpt2-goodreads")
The following hyperparameters were used during training: