Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matteopolak/chatterbox

RNN-based chat message generator.
https://github.com/matteopolak/chatterbox

numpy pandas python rnn tensorflow text-generation

Last synced: 12 days ago
JSON representation

RNN-based chat message generator.

Awesome Lists containing this project

README

        

# Chat Generator

![Build Status](https://github.com/matteopolak/chatterbox/actions/workflows/yapf.yml/badge.svg)
[![License:MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Training on new text

```bash
python src/train.py --model atrioc --data data/atrioc.csv
```

### Chat dataset format

The message dataset must be a CSV file where the first column is the username of the chatter, and the second column is the message content. The column header should not be present. For example:

```csv
mattepolak,"Hello, world!"
```

### Using a GPU

To use a GPU, [follow the official instructions](https://www.tensorflow.org/install/pip#step-by-step_instructions).

## Generating text

```bash
python src/generate.py --model atrioc --length 500 --text "atrioc: i love"
```