项目作者: hydroxion

项目描述 :
Generate text using LSTM
高级语言: Jupyter Notebook
项目地址: git://github.com/hydroxion/language.git
创建时间: 2021-09-12T00:31:47Z
项目社区:https://github.com/hydroxion/language

开源协议:MIT License

下载


Language

Philosophical quotes from AI using LSTM.

About

Philosophical quotes from AI using the Neural Network architecture LSTM along with a famous quotes dataset from philosophers.

Built with

Installation

Use the package manager APT to install the general dependencies.

  1. apt install python3 python3-dev python3-pip python3-venv

Use the Python 3 CLI to create a virtual environment.

  1. python3 -m venv venv

Activate the virtual estartnvironment.

  1. source ./venv/bin/activate

Use the package manager Pip to install the dependencies.

  1. pip3 install -r requirements.txt

Usage

Start a Jupyter Lab server.

  1. jupyter lab

Place your text in data.raw and run the generator.ipynb notebook, by default the dataset is composed of quotes.

To change the LSTM settings go to the notebook section “training”.

Contributing

Pull requests are welcome. Please, consider the following.

  1. Make sure you code have quality, a.k.a standards
  2. Make sure your code is secure
  3. Make sure your code has no performance issues
  4. Make sure your code is documented, if necessary
  5. Describe the changes that were done

No issue or PR template required, but be informative

License

MIT