GithubHelp home page GithubHelp logo

karangoel16 / big_data Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 3.0 14.73 MB

This is where we are making chatbot using seq2seq model , and will be trying different structures to make it more efficient

Python 100.00%
chatbot tensorflow corpus twitter

big_data's Introduction

Libraries needed to run this project

  • nltk
  • tensorflow
  • gzip
  • configparser

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Need to save another file for twitter.ini in database with A_token,A_key,C_key,C_token run the iteration and you could make changes in the dataset accordingly

Inputs required from the user , we need to set the following stuff

Maxlength - required for the sentences

Choice - if we enter 5 in the config file then corpus will be created with all the corpus and if we give particular choice then that particular file will be implemented

initEmbedding- True/False

Twitter - True/False

Test - CLI interface (True/False)

##Twitter and Test can't run togther and if both are false then we will run training by default. If we have an incomplete trained model, it will start running the code again from the point we have left.

hiddenlayer size: (Number of cells required by the user)

embeddingSize

embeddingSource: Name of the of the pretrained vector

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Link to few preTrained Embedding vectors are :-

  1. Google - https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/edit?usp=sharing

  2. Fasttext - https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md

Note :- To include embeddings we need to set initEmbeddings to be true

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

To see the loss graph follow the following steps:

Go into codes folder and then from there call the following command:

tensoboard --logdir save/

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

big_data's People

Contributors

akshayt80 avatar karangoel16 avatar vishalkg avatar

Watchers

 avatar  avatar  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.