Coder Social home page Coder Social logo

distilbert_airline_chatbot_fine_tuning's Introduction

Improving Human-AI Interactions with More Accessible Deep Learning

In this tutorial, we train an AI system that understands the intent and the entities involved within the query, lookup or launch the relevant information, and return the appropriate response to the customer in a reasonable amount of time. We leverage the Intel Extension for PyTorch to fine-tune a foundational BertModel from the Hugging Face Transformers library to train and deploy an accurate and quick AI system to predict the Intent and Entities of a user requesting information about airline travel.

The notebooks in this repository is an adaption of the Intel AI "Customer Chatbot" Reference Kit

Create Environment

You can setup your environment by running conda env create -f env.yaml

This will pre-install:

  • intel distribution of python
  • pytorch
  • scikit learn
  • intel extension for pytorch
  • hugging face transformers

If you would like to learn more about the intel extension for pytorch, I highly recommend reviewing the associated GitHub.io Page: https://intel.github.io/intel-extension-for-pytorch/

Dataset

Preprocessing code and data for this repository were originally sourced from https://github.com/sz128/slot_filling_and_intent_detection_of_SLU/tree/master/data/atis-2.

Please see this data set's applicable license for terms and conditions. Intel does not own the rights to this data set and does not confer any rights to it.

Getting Access to Similar Compute

This notebook was originally developed and tested on an Intel 4th Generation Xeon Baremetal Instance on the Intel Developer Cloud. You can register for Beta cloud access here: https://cloud.intel.com

Associated Medium Article

distilbert_airline_chatbot_fine_tuning's People

Contributors

eduand-alvarez 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.