Code Monkey home page Code Monkey logo

conversational-ai-nlp-tutorial's Introduction

Conversational AI and Natural Language Processing (NLP) Tutorial

Natural Language Processing (NLP) and Conversational AI has been transforming various industries such as Search, Social Media, Automation, Contact Center, Assistants, and eCommerce. It has undergone several phases of research and development. Prior to the 1990s, most systems were purely based on rules. Then came machine learning based systems, however, it was still hard to manage multiple domains and scenarios. Post 2013, Transfer learning and Deep Learning based systems further enhanced the performance substantially by scaling the system to millions of users across a variety of applications. More recently, Transformers based models have taken the AI research and product community by storm through a variety of benefits.

Despite significant progress in the past decade, most systems rely on large amounts of data annotation or require experts in the loop. With recent no code or low code tools, it is possible for developers with minimal coding or NLP/Conversational AI background to be able to build applications.

In this talk/tutorial/crash course, I will be starting with some background in Deep learning, NLP and Conversational AI and then gradually move towards advanced topics such as Transformers based Large Scale Language Models such as BERT and building complex Conversational Bots. I will walk the audience through hands-on examples and how they can leverage such techniques in their applications.

Installation and Pre-requisite

  • General Instructions

        git clone [email protected]:chagri/Conversational-AI-NLP-Tutorial.git
        
        cd Conversational-AI-NLP-Tutorial
        
        pip install --ignore-installed -r requirements.txt
    
        
    
  • Additional RASA instructions for Conversational AI examples

        intall conda
        conda create -n python==3.8.0
        pip install rasa
        pip install spacy[rasa]
        python -m spacy download en_core_web_md
    
  • Rasa commands to execute:

        cd conversational_ai/rasa_examples/reminderbot/
        rasa train
        rasa run actions
        rasa shell
    
        cd conversational_ai/rasa_examples/concertbot/
        rasa train
        rasa run actions
        rasa shell
    

If you can get OpenAI GPT-3, great! This is optional. https://beta.openai.com/

Examples

  1. NLP: a. Text Classification: https://github.com/chagri/Conversational-AI-NLP-Tutorial/blob/master/nlp/text-classification.ipynb b. Tagging and Named Entity Recognition: https://github.com/chagri/Conversational-AI-NLP-Tutorial/blob/master/nlp/tagging-nert.ipynb c. Translation: https://github.com/chagri/Conversational-AI-NLP-Tutorial/blob/master/nlp/translation.ipynb d. Summarization: https://github.com/chagri/Conversational-AI-NLP-Tutorial/blob/master/nlp/translation.ipynb

  2. Conversational AI: a. Question Answering: b. Reminder Bot: https://github.com/chagri/Conversational-AI-NLP-Tutorial/tree/master/conversational_ai/rasa_examples/reminderbot
    c. Task based virtual assistant: https://github.com/chagri/Conversational-AI-NLP-Tutorial/tree/master/conversational_ai/rasa_examples/e2ebot d. Commands: - https://rasa.com/docs/rasa/command-line-interface/ - Train NLU only: "rasa train nlu" - Train NLU and Dialog Management: "rasa train" - "rasa run actions" to start action server - "rasa interactive" Starts an interactive learning session to create new training data by chatting to your assistant. - "rasa shell" Loads your trained model and lets you talk to your assistant on the command line.

conversational-ai-nlp-tutorial's People

Contributors

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