Downloads · 30 days
26
3% of all-time downloads
pszemraj/gpt-peter-2.7B
gpt-peter-2.7B is a text generation model from pszemraj. 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 EleutherAI/gpt-neo-2.7B on about 80k WhatsApp and iMessage texts. - The model is too large to use the inference API. linked here is a notebook for testing in Colab.
Downloads · 30 days
26
3% of all-time downloads
All-time downloads
780
Public
Parameters
2.8B
39 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin11.1 GB · 50%
From the Hugging Face model README
Install the transformers library if you don't have it:
pip install -U transformers
load the model into a pipeline object:
from transformers import pipeline
import torch
my_chatbot = pipeline('text-generation',
'pszemraj/gpt-peter-2.7B',
device=0 if torch.cuda.is_available() else -1,
)
generate text!
my_chatbot('Did you ever hear the tragedy of Darth Plagueis The Wise?')
(example above for simplicity, but adding generation parameters such as no_repeat_ngram_size are recommended to get better generations)
The following hyperparameters were used during training: