Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,28 @@ base_model:
|
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
pipeline_tag: text-classification
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
pipeline_tag: text-classification
|
10 |
+
|
11 |
+
# Sentiment Classification with Fine-Tuned BERT on Amazon Reviews
|
12 |
+
|
13 |
+
This repository contains a fine-tuned BERT model for sentiment classification of Amazon product reviews The model classifies a given review into two classes: Positive and Negative
|
14 |
+
|
15 |
+
---
|
16 |
+
|
17 |
+
## **Model Overview**
|
18 |
+
- **Base Model**: [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased)
|
19 |
+
- **Dataset**: [SetFit/amazon_reviews_multi_en](https://huggingface.co/datasets/SetFit/amazon_reviews_multi_en),
|
20 |
+
- **Classes**: Binary classification (`Positive`, `Negative`)
|
21 |
+
- **Performance**:
|
22 |
+
- **Test Accuracy**: 89%
|
23 |
+
- **Validation Accuracy**: 89%
|
24 |
+
|
25 |
+
*Figure 1: Confusion matrix for test data*
|
26 |
+

|
27 |
+
|
28 |
+
*Figure 2: Confusion matrix for validation data*
|
29 |
+

|
30 |
+
|
31 |
+
---
|
32 |
+
|
33 |
+
|
34 |
+
|