intent_classifier / README.md
xjlulu's picture
"~"
19d1bcf
|
raw
history blame
1.58 kB
---
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](https://huggingface.co./spaces/xjlulu/intent_classifier)
## 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:
```shell
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:
```shell
pip install -r requirements.txt
```
3. 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](https://img.shields.io/badge/SDK-3.46.0-blue)
![Python Version](https://img.shields.io/badge/Python-3.10-green)
## Contact
If you have any questions, feedback, or issues, please feel free to[contact us](mailto: [email protected]).