intent_classifier / README.md
xjlulu's picture
"~"
bf2ec94
|
raw
history blame
1.58 kB
metadata
title: Intent Classifier
emoji: 🤖
colorFrom: pink
colorTo: indigo
sdk: gradio
sdk_version: 3.46.0
app_file: app.py
pinned: false
license: apache-2.0

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. Enter a text in the text box.
  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. Clone this repository to your local machine:
    git clone https://github.com/yourusername/text-intent-classification-demo.git
    cd text-intent-classification-demo
    
  2. Install the required dependencies listed in the requirements.txt file using pip:
    pip install -r requirements.txt
    
  3. Run the app.py file using Python:
    python app.py
    

This will start the local server for the demo.

Environment

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