Downloads · 30 days
25
4% of all-time downloads
mofawzy/gpt-2-goodreads-ar
gpt-2-goodreads-ar 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.
https://colab.research.google.com/drive/1P0Raqrq0iBLNH87DyN9j0SwWg4C2HubV?usp=sharing
Downloads · 30 days
25
4% of all-time downloads
All-time downloads
595
Public
Repo size
4.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.4 GB · 50%
From the Hugging Face model README
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("mofawzy/gpt-2-medium-ar")
model = AutoModelWithLMHead.from_pretrained("mofawzy/gpt-2-medium-ar")
***** eval metrics *****
epoch = 20.0
eval_loss = 1.7798
eval_mem_cpu_alloc_delta = 3MB
eval_mem_cpu_peaked_delta = 0MB
eval_mem_gpu_alloc_delta = 0MB
eval_mem_gpu_peaked_delta = 7044MB
eval_runtime = 0:03:03.37
eval_samples = 527
eval_samples_per_second = 2.874
perplexity = 5.9285
https://colab.research.google.com/drive/1P0Raqrq0iBLNH87DyN9j0SwWg4C2HubV?usp=sharing