Initial upload of BERT-Tiny AMD classifier
Browse files- README.md +3 -0
- model.safetensors +1 -1
- training_metadata.json +47 -41
README.md
CHANGED
|
@@ -34,6 +34,9 @@ This model is based on `prajjwal1/bert-tiny` and fine-tuned to classify phone ca
|
|
| 34 |
- **Precision**: 95.79%
|
| 35 |
- **Recall**: 95.79%
|
| 36 |
- **F1-Score**: 95.79%
|
|
|
|
|
|
|
|
|
|
| 37 |
- **Agreement with Rule-based System**: 97.75%
|
| 38 |
|
| 39 |
## Training Data
|
|
|
|
| 34 |
- **Precision**: 95.79%
|
| 35 |
- **Recall**: 95.79%
|
| 36 |
- **F1-Score**: 95.79%
|
| 37 |
+
- **Training Device**: MPS (Apple Silicon GPU)
|
| 38 |
+
- **Final Validation Loss**: 0.182
|
| 39 |
+
- **Best Epoch**: 12 (with early stopping)
|
| 40 |
- **Agreement with Rule-based System**: 97.75%
|
| 41 |
|
| 42 |
## Training Data
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 17548796
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b6694c3a800b01632ff33191bd8a12d4e0d0376fc82f8c509743e7a55f94bec
|
| 3 |
size 17548796
|
training_metadata.json
CHANGED
|
@@ -7,23 +7,23 @@
|
|
| 7 |
"num_epochs": 15,
|
| 8 |
"patience": 3,
|
| 9 |
"test_size": 0.2,
|
| 10 |
-
"device": "
|
| 11 |
"csv_file": "all_EN_calls.csv",
|
| 12 |
"s3_bucket": "voicex-call-recordings"
|
| 13 |
},
|
| 14 |
"final_metrics": {
|
| 15 |
-
"accuracy": 0.
|
| 16 |
-
"precision": 0.
|
| 17 |
-
"recall": 0.
|
| 18 |
-
"f1": 0.
|
| 19 |
"confusion_matrix": [
|
| 20 |
[
|
| 21 |
-
|
| 22 |
-
|
| 23 |
],
|
| 24 |
[
|
| 25 |
-
|
| 26 |
-
|
| 27 |
]
|
| 28 |
]
|
| 29 |
},
|
|
@@ -31,46 +31,52 @@
|
|
| 31 |
"threshold": 0.5,
|
| 32 |
"training_history": {
|
| 33 |
"train_losses": [
|
| 34 |
-
0.
|
| 35 |
-
0.
|
| 36 |
-
0.
|
| 37 |
-
0.
|
| 38 |
-
0.
|
| 39 |
-
0.
|
| 40 |
-
0.
|
| 41 |
-
0.
|
| 42 |
-
0.
|
| 43 |
-
0.
|
| 44 |
-
0.
|
| 45 |
-
0.
|
|
|
|
|
|
|
| 46 |
],
|
| 47 |
"val_losses": [
|
| 48 |
-
0.
|
| 49 |
-
0.
|
| 50 |
-
0.
|
| 51 |
-
0.
|
| 52 |
-
0.
|
| 53 |
-
0.
|
| 54 |
-
0.
|
| 55 |
-
0.
|
| 56 |
-
0.
|
| 57 |
-
0.
|
| 58 |
-
0.
|
| 59 |
-
0.
|
|
|
|
|
|
|
| 60 |
],
|
| 61 |
"val_accuracies": [
|
| 62 |
-
0.
|
|
|
|
|
|
|
|
|
|
| 63 |
0.9690140845070423,
|
| 64 |
0.9704225352112676,
|
| 65 |
0.971830985915493,
|
| 66 |
-
0.
|
| 67 |
-
0.
|
| 68 |
-
0.9746478873239437,
|
| 69 |
-
0.9746478873239437,
|
| 70 |
-
0.9774647887323944,
|
| 71 |
0.9732394366197183,
|
| 72 |
-
0.
|
| 73 |
-
0.
|
|
|
|
|
|
|
| 74 |
]
|
| 75 |
}
|
| 76 |
}
|
|
|
|
| 7 |
"num_epochs": 15,
|
| 8 |
"patience": 3,
|
| 9 |
"test_size": 0.2,
|
| 10 |
+
"device": "mps",
|
| 11 |
"csv_file": "all_EN_calls.csv",
|
| 12 |
"s3_bucket": "voicex-call-recordings"
|
| 13 |
},
|
| 14 |
"final_metrics": {
|
| 15 |
+
"accuracy": 0.9732394366197183,
|
| 16 |
+
"precision": 0.9476439790575916,
|
| 17 |
+
"recall": 0.9526315789473684,
|
| 18 |
+
"f1": 0.9501312335958005,
|
| 19 |
"confusion_matrix": [
|
| 20 |
[
|
| 21 |
+
510,
|
| 22 |
+
10
|
| 23 |
],
|
| 24 |
[
|
| 25 |
+
9,
|
| 26 |
+
181
|
| 27 |
]
|
| 28 |
]
|
| 29 |
},
|
|
|
|
| 31 |
"threshold": 0.5,
|
| 32 |
"training_history": {
|
| 33 |
"train_losses": [
|
| 34 |
+
0.9819882733098576,
|
| 35 |
+
0.714315825968646,
|
| 36 |
+
0.4502890578816446,
|
| 37 |
+
0.3126165846760353,
|
| 38 |
+
0.2370055838582221,
|
| 39 |
+
0.1957313610094317,
|
| 40 |
+
0.16171495624807444,
|
| 41 |
+
0.14206559118929873,
|
| 42 |
+
0.13111768872215507,
|
| 43 |
+
0.12663358307621453,
|
| 44 |
+
0.11454316391871217,
|
| 45 |
+
0.09756730245740226,
|
| 46 |
+
0.10681139669391547,
|
| 47 |
+
0.09500317254595542
|
| 48 |
],
|
| 49 |
"val_losses": [
|
| 50 |
+
0.8653972615366397,
|
| 51 |
+
0.5405754589516184,
|
| 52 |
+
0.37915164361829345,
|
| 53 |
+
0.2985233405362005,
|
| 54 |
+
0.25458563475505164,
|
| 55 |
+
0.22056782958300217,
|
| 56 |
+
0.2148797696699267,
|
| 57 |
+
0.20188165715207224,
|
| 58 |
+
0.2006922288109427,
|
| 59 |
+
0.18514911133957945,
|
| 60 |
+
0.18336524668595064,
|
| 61 |
+
0.1881559074896833,
|
| 62 |
+
0.1841501404085885,
|
| 63 |
+
0.1853098363980003
|
| 64 |
],
|
| 65 |
"val_accuracies": [
|
| 66 |
+
0.7,
|
| 67 |
+
0.9619718309859155,
|
| 68 |
+
0.9633802816901409,
|
| 69 |
+
0.967605633802817,
|
| 70 |
0.9690140845070423,
|
| 71 |
0.9704225352112676,
|
| 72 |
0.971830985915493,
|
| 73 |
+
0.971830985915493,
|
| 74 |
+
0.971830985915493,
|
|
|
|
|
|
|
|
|
|
| 75 |
0.9732394366197183,
|
| 76 |
+
0.9732394366197183,
|
| 77 |
+
0.9704225352112676,
|
| 78 |
+
0.9704225352112676,
|
| 79 |
+
0.9704225352112676
|
| 80 |
]
|
| 81 |
}
|
| 82 |
}
|