File size: 1,583 Bytes
6c3c321
 
 
 
 
 
 
 
 
 
 
 
19d1bcf
33545f1
19d1bcf
 
33545f1
 
 
 
 
 
 
19d1bcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dfe9225
 
33545f1
dfe9225
33545f1
dfe9225
490169e
dfe9225
 
 
33545f1
 
 
 
 
 
 
 
19d1bcf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
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]).