Downloads · 30 days
29
4% of all-time downloads
DarwinAnim8or/GPT-Grug-355m
GPT-Grug-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 'grug' dataset. A demo is available here
Downloads · 30 days
29
4% of all-time downloads
All-time downloads
659
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 'grug' dataset. A demo is available here
If you're interested, there's a smaller model available here: GPT-Grug-125m Do note however that it is very limited by comparison.
This was trained on the 'grug' dataset, using the "HappyTransformers" library on Google Colab. This model was trained for 4 epochs with learning rate 1e-2. The notebook used to train has been included in this repo.
This likely contains the same biases and limitations as the original GPT2 that it is based on, and additionally heavy biases from the grug datasets.
This model is meant for fun, please do not take anything this caveman says seriously.
#Import model:
from happytransformer import HappyGeneration
happy_gen = HappyGeneration("GPT2", "DarwinAnim8or/gpt-grug-355m")
#Set generation settings:
from happytransformer import GENSettings
args_top_k = GENSettings(no_repeat_ngram_size=2, do_sample=True,top_k=50, temperature=0.7, max_length=50, early_stopping=False)
#Generate a response:
result = happy_gen.generate_text("""Person: "Hello grug"
Grug: "hello person"
###
Person: "how are you grug"
Grug: "grug doing ok. grug find many berry. good for tribe."
###
Person: "what does grug think of new spear weapon?"
Grug: "grug no like new spear weapon. grug stick bigger. spear too small, break easy"
###
Person: "what does grug think of football?"
Grug: \"""", args=args_top_k)
print(result)
print(result.text)