generating-text-small-corpus
generating-text-small-corpus copied to clipboard
Generating style-specific text from a small corpus of 2.5k sentences using a pre-trained language model. Code in PyTorch
Code for generating machine learning ideas using machine learning.
It accompanies the article where I explain how to generate style specific text using transfer learning on a pre-trained language model.
It uses a pre-trained language model on a small dataset (corpus: one of 2500 sentences of machine learning ideas, the other one of 5000 sentences of philosophy quotes).
Requires
- FastAI v1
- PyTorch v1
- Pandas