End of training
Browse files- README.md +70 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: bert-agent-scam-classifier-v1.0
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# bert-agent-scam-classifier-v1.0
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0039
|
24 |
+
- Accuracy: {'accuracy': 0.996875}
|
25 |
+
- Precision: {'precision': 0.996894409937888}
|
26 |
+
- Recall: {'recall': 0.996875}
|
27 |
+
- F1: {'f1': 0.9968749694821237}
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 20
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:----------------------:|:--------------------------------:|:--------------------:|:--------------------------:|
|
58 |
+
| No log | 1.0 | 160 | 0.0032 | {'accuracy': 0.996875} | {'precision': 0.996894409937888} | {'recall': 0.996875} | {'f1': 0.9968749694821237} |
|
59 |
+
| No log | 2.0 | 320 | 0.0033 | {'accuracy': 0.996875} | {'precision': 0.996894409937888} | {'recall': 0.996875} | {'f1': 0.9968749694821237} |
|
60 |
+
| No log | 3.0 | 480 | 0.0034 | {'accuracy': 0.996875} | {'precision': 0.996894409937888} | {'recall': 0.996875} | {'f1': 0.9968749694821237} |
|
61 |
+
| 0.0354 | 4.0 | 640 | 0.0034 | {'accuracy': 0.996875} | {'precision': 0.996894409937888} | {'recall': 0.996875} | {'f1': 0.9968749694821237} |
|
62 |
+
| 0.0354 | 5.0 | 800 | 0.0039 | {'accuracy': 0.996875} | {'precision': 0.996894409937888} | {'recall': 0.996875} | {'f1': 0.9968749694821237} |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.41.2
|
68 |
+
- Pytorch 2.3.0+cu121
|
69 |
+
- Datasets 2.20.0
|
70 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 437958648
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d6f1bdd6bb1c03f52092b1d772d1e2a4373787c2300f7799c9f8b7df60bca28
|
3 |
size 437958648
|