CoolFace
Apppublic

xuejinlu/intent_classifier

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes
App README

Text Intent Classification

Introduction

This demo is a Text Intent Classification system that uses a machine learning model to classify text into different intents or categories. You can enter a text, and the system will predict its category.

Usage

  1. 1.Enter a text in the text box.
  2. 2.Click the "Submit" button to see the predicted intent or category.

Getting Started

Follow these steps to run the demo locally on your machine:

  1. 1.Clone this repository to your local machine:
shell
   git clone https://github.com/yourusername/text-intent-classification-demo.git
   cd text-intent-classification-demo
  1. 1.Install the required dependencies listed in the requirements.txt file using pip:
shell
   pip install -r requirements.txt
  1. 1.Run the app.py file using Python:
shell
   python app.py

This will start the local server for the demo.

Environment

shell
# If you have conda, we recommend creating a conda environment called "intent"
make
conda activate intent
pip install -r requirements.txt
# Otherwise
pip install -r requirements.in

Configuration

SDK Version Python Version

Contact

If you have any questions, feedback, or issues, please feel free tocontact us.