DTennant / generating-text-small-corpus

Generating style-specific text from a small corpus of 2.5k sentences using a pre-trained language model. Code in PyTorch

Home Page:https://towardsdatascience.com/generating-new-ideas-for-machine-learning-projects-through-machine-learning-ce3fee50ec2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Generating style-specific text from a small corpus of 2.5k sentences using a pre-trained language model. Code in PyTorch

https://towardsdatascience.com/generating-new-ideas-for-machine-learning-projects-through-machine-learning-ce3fee50ec2


Languages

Language:Jupyter Notebook 100.0%