đ HuggingArtists Model: Epic Rap Battles of History
This is a model crafted with huggingartists, capable of generating lyrics inspired by Epic Rap Battles of History. You can create your own bot based on your favorite artist using the demo!
đ Quick Start
You can use this model directly with a pipeline for text generation:
from transformers import pipeline
generator = pipeline('text-generation',
model='huggingartists/epic-rap-battles-of-history')
generator("I am", num_return_sequences=5)
Or with the Transformers library:
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("huggingartists/epic-rap-battles-of-history")
model = AutoModelWithLMHead.from_pretrained("huggingartists/epic-rap-battles-of-history")
⨠Features
- Artist - Specific Generation: Generate lyrics in the style of Epic Rap Battles of History.
- Easy - to - Use: Can be used directly with the Transformers pipeline or library.
đĻ Installation
No specific installation steps are provided in the original README. If you want to use the model, you need to have the transformers
and datasets
libraries installed in your Python environment. You can install them using the following commands:
pip install transformers datasets
đ Documentation
How does it work?
To understand how the model was developed, check the W&B report.
Training data
The model was trained on lyrics from Epic Rap Battles of History.
Dataset is available here.
And can be used with:
from datasets import load_dataset
dataset = load_dataset("huggingartists/epic-rap-battles-of-history")
Explore the data, which is tracked with W&B artifacts at every step of the pipeline.
Training procedure
The model is based on a pre - trained GPT - 2 which is fine - tuned on Epic Rap Battles of History's lyrics.
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.
đ§ Technical Details
The model uses a pre - trained GPT - 2 architecture and fine - tunes it on the lyrics dataset of Epic Rap Battles of History. This allows the model to learn the unique language patterns, rhymes, and themes present in the artist's lyrics, enabling it to generate relevant and stylistically consistent lyrics.
đ License
No license information is provided in the original README.
Limitations and bias
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.
About
Built by Aleksey Korshuk



For more details, visit the project repository.
