Downloads · 30 days
12
3% of all-time downloads
georeactor/t5-reddit-2014
t5-reddit-2014 is a machine learning model from georeactor. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
T5-small model fine-tuned on Reddit "One-Ups" / "Clapbacks" dataset. Each reply from the fine-tuning has a vote-score 1.5x or higher than the parent comment.
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
370
Public
Parameters
60.5M
484 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin242 MB · 50%
From the Hugging Face model README
T5-small model fine-tuned on Reddit "One-Ups" / "Clapbacks" dataset. Each reply from the fine-tuning has a vote-score 1.5x or higher than the parent comment.
From a few tests it seems to have adopted a snarky tone. Common reply is "I'm not a shit."
Training notebook: https://github.com/Georeactor/reddit-one-ups/blob/main/training-models/t5-seq2seq-2014.ipynb
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained('georeactor/t5-reddit-2014')
tokenizer = AutoTokenizer.from_pretrained('georeactor/t5-reddit-2014')
input = tokenizer.encode('Looks like a potato bug', return_tensors="pt")
output = model.generate(input, max_length=256)
tokenizer.decode(output[0])