Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,24 @@ pipeline_tag: text-classification
|
|
| 11 |
tags:
|
| 12 |
- persina
|
| 13 |
- text-classification
|
| 14 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
tags:
|
| 12 |
- persina
|
| 13 |
- text-classification
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# Fine-tuned BERT for Persian Comment Discrepancy Classification
|
| 18 |
+
|
| 19 |
+
This project fine-tunes a BERT model to classify Persian comments into two categories: complaints about bad delivery (`True`) and non-complaints (`False`). The model is trained on the [Labeled Persian Comments](https://www.kaggle.com/datasets/alirezaazizkhani/labeled-persian-comments) dataset.
|
| 20 |
+
|
| 21 |
+
## Key Metrics
|
| 22 |
+
|
| 23 |
+
- **Accuracy**: 95.89%
|
| 24 |
+
- **F1 Score**: 95.62%
|
| 25 |
+
|
| 26 |
+
## Code
|
| 27 |
+
|
| 28 |
+
The full code is available on [Kaggle](https://www.kaggle.com/code/alirezaazizkhani/finetune-bert-for-discrepancy/).
|
| 29 |
+
|
| 30 |
+
## Installation
|
| 31 |
+
|
| 32 |
+
1. Install dependencies:
|
| 33 |
+
```bash
|
| 34 |
+
pip install transformers datasets scikit-learn
|