Update README.md
Browse files
README.md
CHANGED
@@ -35,17 +35,23 @@ It achieves the following results on the evaluation set:
|
|
35 |
|
36 |
## Model description
|
37 |
|
38 |
-
|
39 |
|
40 |
## Intended uses & limitations
|
41 |
|
42 |
-
|
43 |
|
44 |
## Training and evaluation data
|
45 |
|
46 |
Dataset Source: https://www.kaggle.com/datasets/razamukhtar007/fake-reviews
|
47 |
|
|
|
48 |
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
## Training procedure
|
51 |
|
@@ -64,11 +70,11 @@ The following hyperparameters were used during training:
|
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted F1 | Micro F1 | Macro F1 | Weighted Recall | Micro Recall | Macro Recall | Weighted Precision | Micro Precision | Macro Precision |
|
66 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
67 |
-
| 0.633 | 1.0 | 10438 | 0.5608 | 0.8261 | 0.7914 | 0.8261 |
|
68 |
-
| 0.6029 | 2.0 | 20876 | 0.6490 | 0.8331 | 0.7724 | 0.8331 |
|
69 |
-
| 0.5478 | 3.0 | 31314 | 0.5508 | 0.8305 | 0.8071 | 0.8305 |
|
70 |
-
| 0.513 | 4.0 | 41752 | 0.5459 | 0.8347 | 0.8101 | 0.8347 |
|
71 |
-
| 0.5288 | 5.0 | 52190 | 0.5336 | 0.8381 | 0.8142 | 0.8381 |
|
72 |
|
73 |
|
74 |
### Framework versions
|
|
|
35 |
|
36 |
## Model description
|
37 |
|
38 |
+
For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Binary%20Classification/Fake%20Reviews/Fake%20Reviews%20Classification%20-%20BERT-Large%20With%20PEFT.ipynb
|
39 |
|
40 |
## Intended uses & limitations
|
41 |
|
42 |
+
This model is intended to demonstrate my ability to solve a complex problem using technology. You are welcome to test and experiment with this model, but it is at your own risk/peril.
|
43 |
|
44 |
## Training and evaluation data
|
45 |
|
46 |
Dataset Source: https://www.kaggle.com/datasets/razamukhtar007/fake-reviews
|
47 |
|
48 |
+
__Histogram of Word Counts of Reviews__
|
49 |
|
50 |
+
![Histogram of Word Counts of Reviews](https://raw.githubusercontent.com/DunnBC22/NLP_Projects/main/Binary%20Classification/Fake%20Reviews/Images/Histogram%20of%20Review%20Word%20Counts.png)
|
51 |
+
|
52 |
+
__Class Distribution__
|
53 |
+
|
54 |
+
![Class Distribution](https://raw.githubusercontent.com/DunnBC22/NLP_Projects/main/Binary%20Classification/Fake%20Reviews/Images/Class%20Distribution.png)
|
55 |
|
56 |
## Training procedure
|
57 |
|
|
|
70 |
|
71 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted F1 | Micro F1 | Macro F1 | Weighted Recall | Micro Recall | Macro Recall | Weighted Precision | Micro Precision | Macro Precision |
|
72 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
73 |
+
| 0.633 | 1.0 | 10438 | 0.5608 | 0.8261 | 0.7914 | 0.8261 | __0.5745__ | 0.8261 | 0.8261 | 0.5643 | 0.7844 | 0.8261 | 0.6542 |
|
74 |
+
| 0.6029 | 2.0 | 20876 | 0.6490 | 0.8331 | 0.7724 | 0.8331 | __0.5060__ | 0.8331 | 0.8331 | 0.5239 | 0.7892 | 0.8331 | 0.6929 |
|
75 |
+
| 0.5478 | 3.0 | 31314 | 0.5508 | 0.8305 | 0.8071 | 0.8305 | __0.6189__ | 0.8305 | 0.8305 | 0.6003 | 0.8002 | 0.8305 | 0.6784 |
|
76 |
+
| 0.513 | 4.0 | 41752 | 0.5459 | 0.8347 | 0.8101 | 0.8347 | __0.6224__ | 0.8347 | 0.8347 | 0.6023 | 0.8049 | 0.8347 | 0.6916 |
|
77 |
+
| 0.5288 | 5.0 | 52190 | 0.5336 | 0.8381 | 0.8142 | 0.8381 | __0.6308__ | 0.8381 | 0.8381 | 0.6090 | 0.8101 | 0.8381 | 0.7029 |
|
78 |
|
79 |
|
80 |
### Framework versions
|