Skip to content

kputnins/dainas-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP Dainas Generator

A LSTM (Long Short Term Memory) model that generates Latvian folk songs - Dainas.

  • Node script to scrape the training text corpus
  • Node script to create and train the model with TensorFlow.js
  • React front end app, to generate folk songs by loading a pre-trained model and generating data in the browser

Demo can be seen here

Building and running on localhost

First install dependencies:

npm install

Node

To scrape the training data:

npm build-data

To train the model:

npm build-model

Front-end

To run the React app:

npm start

To create a production build of the React app:

npm run build-client

Note

Due to the limitations of using TensorFlow.js in the browser, a pre-build model has to be loaded from a server using http/https

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published