Giter VIP home page Giter VIP logo

apy's Introduction

APy

Reddit JSON => mysqlite db => training files => train chatbot => interact with chatbot

Setup for docker

  1. Git clone https://github.com/davetlewis-van/APy.git into a new directory.
  2. wget http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834.tar.gz
  3. docker build -t "python36:dockerfile" .
  4. docker run -it python36:dockerfile
  5. There are sample training files, but you can copy the training files you want to use to the new_data folder. If so, you need to adjust the files listed at the top of prepare_data.py and dev_prefix and test_prefix in settings.py
  6. Navigate to the /code/nmt-chatbot/setup folder and run prepare_data.py
  7. Navigate to the /code/nmt-chatbot/ folder and run train.py
  8. To interact with the chatbot run inference.py

Setup on cloud.google.com

Resources

Datasets

Reddit

Stack Overflow

Process

Reddit JSON structure sqlite table Training 1 Training 2 TensorBoard Scalars TensorBoard Projector

TODO

  • Get access to a GPU CPU usage
  • Figure out how to access my programming-specific BigQuery tables from the Google Cloud VM instance. BigQuery
  • Figure out how to read in Stack Overflow Q&A
  • Run docker container on Google Cloud VM

License

Copyright (c) 2018 ActiveState Software Inc. Released under the BSD-3 license. See LICENSE file for details.

apy's People

Contributors

davetlewis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.