Nikpatil commited on
Commit
ef3072b
·
verified ·
1 Parent(s): 83f339f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -11
README.md CHANGED
@@ -1,11 +1,49 @@
1
- ---
2
- title: Email Classification For Support Team
3
- emoji: ⚡
4
- colorFrom: green
5
- colorTo: yellow
6
- sdk: docker
7
- pinned: false
8
- license: mit
9
- ---
10
-
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Email Classification API for Support Teams
2
+
3
+ ## Introduction
4
+ This API classifies support emails into four categories (Incident, Request, Problem, Change) using a fine-tuned DeBERTa model. The service automatically masks personally identifiable information (PII) before processing, ensuring privacy compliance.
5
+
6
+ ## Hardware Requirements
7
+ - **For Development/Testing:**
8
+ - CPU: 2+ cores
9
+ - RAM: 4GB minimum (8GB recommended)
10
+ - Storage: 1GB free space
11
+
12
+ - **For Production Deployment:**
13
+ - CPU: 4+ cores
14
+ - RAM: 8GB minimum (16GB recommended for higher throughput)
15
+ - GPU: Optional but beneficial for faster inference
16
+
17
+ ## Software Requirements
18
+ - Python 3.8+
19
+ - Flask
20
+ - PyTorch
21
+ - Transformers library
22
+ - PII masking utilities
23
+ - Internet connection for initial model download
24
+
25
+ ## How to Run
26
+
27
+ ### Local Development
28
+ ```bash
29
+ # Clone repository
30
+ git clone <repository-url>
31
+ cd email-classification-api
32
+
33
+ # Install dependencies
34
+ pip install -r requirements.txt
35
+
36
+ # Run the application
37
+ python app.py
38
+ ```
39
+
40
+ ### Hugging Face Spaces Deployment
41
+ 1. The API is already deployed at: https://huggingface.co/spaces/Nikpatil/Email_Classification_For_Support_Team
42
+ 2. No additional setup required to use the deployed version
43
+
44
+ ## How to Access
45
+
46
+ ### Using the API Endpoint
47
+ Send POST requests to: `https://nikpatil-email-classification-for-support-team.hf.space/classify`
48
+
49
+