File size: 2,042 Bytes
1e69152
 
 
 
 
 
 
 
efcb72e
 
1e69152
1a2f03e
 
2e08b46
1a2f03e
 
 
 
2e08b46
 
1a2f03e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2e08b46
 
 
 
 
 
c928ed4
 
 
1a2f03e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aa4eb96
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
58
59
60
61
62
63
64
65
66
67
68
---
license: apache-2.0
language:
- en
metrics:
- accuracy
library_name: transformers
pipeline_tag: text-classification
datasets:
- GautamR/grievance_agri
---
# Grievance Classification Model

This model classifies grievances into five distinct buckets:

- **Label 0**: Account number is not Correct
- **Label 1**: Installment not received
- **Label 2**: Others
- **Label 3**: convo_starter
- **Label 4**: convo_ender

## Description of the Buckets

1. **Account number is not Correct**: 
   This pertains to feedback or grievances related to the bank account number not being displayed correctly on the portal for farmers.

2. **Installment not received**: 
   This pertains to feedback where the farmer has not received the installment or money for a given month.

3. **Others**: 
   This covers a broad range of other grievances including, but not limited to:
   - Gender being displayed incorrectly
   - Online application pending approval
   - Other payment-related issues
   - Problem with Aadhaar correction
   - Issue with biometric-based e-KYC
   - Issue with OTP-based e-KYC
   - Transaction failures

4. **Convo_starter**:
   Any phrase that could be a conversation starter like 'Hi','Hello','Namasthe'

5. **Convo_ender**:
   Any phrase that could signal the end of a conversation like 'Thank you','Goodbye'

## Training code: 
The code for training the model can be found [here](https://colab.research.google.com/drive/16ThlfaBKTAS3ZfUXQSaXvjAJie754gBg#scrollTo=ksdtTs6Naqxm)

## Training Metrics

The following training metrics were observed over 15 epochs:

| Epoch | Loss    | Accuracy | F1 Score |
|-------|---------|----------|----------|
| 1     | 1.0574  | 0.4242   | 0.4202   |
| 2     | 0.7780  | 0.7500   | 0.6952   |
| 3     | 0.5212  | 0.8939   | 0.8825   |
| 4     | 0.3214  | 0.9773   | 0.9767   |
| 5     | 0.1612  | 1.0000   | 1.0000   |
| 6     | 0.0883  | 1.0000   | 1.0000   |
| 7     | 0.0592  | 1.0000   | 1.0000   |
| 8     | 0.0418  | 1.0000   | 1.0000   |
| 9     | 0.0321  | 1.0000   | 1.0000   |

---