资源算法gpt-2-raps

gpt-2-raps

2020-03-03 | |  53 |   0 |   0

gpt-2 raps

A neural rap lyrics generator powered by GPT-2, ported from gpt-2-poetry by @kcimc.

Example

Demo running here.

Setup

Contents

Input:

  • Genius song IDs stored in genius_song_ids.txt

src:

  • 00_requirements.R installs/loads required R libraries

  • 01_get-raps.R gets lyrics from Genius for tracks in genius_song_ids.txt, then exports to text files

  • 02_gen-raps.ipynb makes new lyrics based on random chunks from existing lyrics and seed words (should be run from your gpt-2/src/ directory)

Output:

  • [0-9].txt lyrics as text files (generated by 01_get-raps.R)

  • lyrics.json all original lyrics as JSON

  • generated.json all generated lyrics as JSON

index.html houses the demo app.


上一篇:GPTrue-or-False

下一篇:gpt2-twitterbot

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...