Downloads · 30 days
12
2% of all-time downloads
gigabrain/cag
cag is a text generation model from gigabrain. Use it when you need the model to write or continue text. It is set up for transformers.
<div class="inline-flex flex-col" style="line-height: 1.5;" <div class="flex" <div style="display:inherit; margin-left: 4px; margin-right: 4px; width: 92px; height:92px; border-radius: 50%; background-size: cover; bac…
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
554
Public
Repo size
1 GB
Likes
1
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
The model uses the following pipeline.

The model was trained on tweets from Layah Heilpern & Dovey "Rug The Fiat" Wan & Irene Zhao.
| Data | Layah Heilpern | Dovey "Rug The Fiat" Wan | Irene Zhao |
|---|---|---|---|
| Tweets downloaded | 3249 | 3247 | 1945 |
| Retweets | 115 | 310 | 223 |
| Short tweets | 1453 | 269 | 417 |
| Tweets kept | 1681 | 2668 | 1305 |
Explore the data, which is tracked with W&B artifacts at every step of the pipeline.
The model is based on a pre-trained GPT-2 which is fine-tuned on @doveywan-irenezhao_-layahheilpern's tweets.
Hyperparameters and metrics are recorded in the W&B training run for full transparency and reproducibility.
At the end of training, the final model is logged and versioned.
You can use this model directly with a pipeline for text generation:
from transformers import pipeline
generator = pipeline('text-generation',
model='huggingtweets/cag')
generator("In crypto, ", num_return_sequences=5)
The model suffers from the same limitations and bias as GPT-2.
In addition, the data present in the user's tweets further affects the text generated by the model.
Built by Gigabrain