Update app.py
Browse files
app.py
CHANGED
@@ -49,11 +49,18 @@ def classify_compliant(text):
|
|
49 |
title="Customer Complaints Categorization"
|
50 |
description = """This application uses fine-tune BERT to perform Customer Complaints Categorization.BERT models are usually pretrained on a large corpus of text and then fine tuned for specific tasks.
|
51 |
Effectively handling customer complaints provides an opportunity for the service provider to resolve the customer’s problems on time and thus reduce dissatisfaction levels.
|
52 |
-
Write a complaint on an insurance product or service and see how the machine learning model is able to Categorisation your Complaint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
article = """
|
54 |
- Click submit button to test Consumer Complaint Segmentation
|
55 |
- Click the clear button to refresh the text
|
56 |
-
- This application has a linked model https://huggingface.co/ThirdEyeData/Consumer-Complaint-Categorization
|
57 |
"""
|
58 |
|
59 |
demo = gr.Interface(classify_compliant,
|
|
|
49 |
title="Customer Complaints Categorization"
|
50 |
description = """This application uses fine-tune BERT to perform Customer Complaints Categorization.BERT models are usually pretrained on a large corpus of text and then fine tuned for specific tasks.
|
51 |
Effectively handling customer complaints provides an opportunity for the service provider to resolve the customer’s problems on time and thus reduce dissatisfaction levels.
|
52 |
+
Write a complaint on an insurance product or service and see how the machine learning model is able to Categorisation your Complaint.
|
53 |
+
The Complaints Type are:
|
54 |
+
-Debt Collection
|
55 |
+
-False Claim or Statement
|
56 |
+
-Legal Issue
|
57 |
+
-Improper contact or sharing of info
|
58 |
+
-Follow Up Issue
|
59 |
+
"""
|
60 |
article = """
|
61 |
- Click submit button to test Consumer Complaint Segmentation
|
62 |
- Click the clear button to refresh the text
|
63 |
+
- This application has a linked model https://huggingface.co/ThirdEyeData/Consumer-Complaint-Categorization
|
64 |
"""
|
65 |
|
66 |
demo = gr.Interface(classify_compliant,
|