Giter Site home page Giter Site logo

passive-listening-classifier-training's Introduction

Assistant Intent Classification

The classifer repo is split into multiple sub modules:

  • fuzzy_similarity: Tests fuzzy checking of words with text
  • infersent_cosine_similarity: Test trigger similarity via HuggingFace and Infersent
  • location_recognition: Location recognition for weather
  • many_intent_classifier: Trying to classify lots of intents at a time
  • qa_context_evaluation: Tests using qa models for context
  • shopping_classifier: Finds shopping items mentioned

Running the notebooks

Download Glove for word embeddings

mkdir GloVe
curl -Lo GloVe/glove.840B.300d.zip http://nlp.stanford.edu/data/glove.840B.300d.zip
unzip GloVe/glove.840B.300d.zip -d GloVe/

and Download infersent for sentence embeddings

mkdir encoder
curl -Lo encoder/infersent1.pkl https://dl.fbaipublicfiles.com/infersent/infersent1.pkl

Run the classifier notebook classifier.ipynb to load and view the data.

Running the Server

Current Accuracy:

Download deepspeech-0.7.3-models from deepspeech directory. The files that should be included are

├── deepspeech-0.7.3-models.pbmm
├── lm.binary
├── output_graph.pb
├── output_graph.pbmm
├── output_graph.tflite
└── trie

Download + Accessing Colabs

Copy the model files for the relevant classification system https://drive.google.com/drive/folders/1gzlJk7iL88Fpe2OzW7NQI_9iSyIqx39B?usp=sharing Download ffc_keras_model and infraset_model.torch from the notebook

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.