Downloads · 30 days
31
1% of all-time downloads
DarwinAnim8or/GPT-Greentext-355m
GPT-Greentext-355m is a text generation model from DarwinAnim8or. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
A finetuned version of GPT2-Medium on the 'greentext' dataset. (Linked above) A demo is available here The demo playground is recommended over the inference box on the right.
Downloads · 30 days
31
1% of all-time downloads
All-time downloads
2.1K
Public
Parameters
380M
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin1.4 GB · 50%
How the weights are stored.
F32355M · 93%
From the Hugging Face model README
A finetuned version of GPT2-Medium on the 'greentext' dataset. (Linked above) A demo is available here The demo playground is recommended over the inference box on the right.
The largest model in this series is located here: GPT-Greentext-1.5b
This was trained on the 'greentext' dataset, using the "HappyTransformers" library on Google Colab. This model was trained for 15 epochs with learning rate 1e-2.
This likely contains the same biases and limitations as the original GPT2 that it is based on, and additionally heavy biases from the greentext dataset. It likely will generate offensive output.
This model is meant for fun, nothing else.
#Import model:
from happytransformer import HappyGeneration
happy_gen = HappyGeneration("GPT2", "DarwinAnim8or/GPT-Greentext-355m")
#Set generation settings:
from happytransformer import GENSettings
args_top_k = GENSettingsGENSettings(no_repeat_ngram_size=3, do_sample=True, top_k=80, temperature=0.8, max_length=150, early_stopping=False)
#Generate a response:
result = happy_gen.generate_text(""">be me
>""", args=args_top_k)
print(result)
print(result.text)