update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- eoir_privacy
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: bert_uncased_L-4_H-512_A-8-finetuned-eoir_privacy
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: eoir_privacy
|
18 |
+
type: eoir_privacy
|
19 |
+
config: all
|
20 |
+
split: train
|
21 |
+
args: all
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.9175035868005739
|
26 |
+
- name: F1
|
27 |
+
type: f1
|
28 |
+
value: 0.8092868988391376
|
29 |
+
---
|
30 |
+
|
31 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
32 |
+
should probably proofread and complete it, then remove this comment. -->
|
33 |
+
|
34 |
+
# bert_uncased_L-4_H-512_A-8-finetuned-eoir_privacy
|
35 |
+
|
36 |
+
This model is a fine-tuned version of [google/bert_uncased_L-4_H-512_A-8](https://huggingface.co/google/bert_uncased_L-4_H-512_A-8) on the eoir_privacy dataset.
|
37 |
+
It achieves the following results on the evaluation set:
|
38 |
+
- Loss: 0.2159
|
39 |
+
- Accuracy: 0.9175
|
40 |
+
- F1: 0.8093
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 2e-05
|
60 |
+
- train_batch_size: 8
|
61 |
+
- eval_batch_size: 8
|
62 |
+
- seed: 42
|
63 |
+
- gradient_accumulation_steps: 16
|
64 |
+
- total_train_batch_size: 128
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- num_epochs: 3
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
73 |
+
| No log | 1.0 | 63 | 0.2343 | 0.9125 | 0.7953 |
|
74 |
+
| No log | 2.0 | 126 | 0.2269 | 0.9110 | 0.8006 |
|
75 |
+
| No log | 3.0 | 189 | 0.2159 | 0.9175 | 0.8093 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.21.1
|
81 |
+
- Pytorch 1.12.1+cu113
|
82 |
+
- Datasets 2.4.0
|
83 |
+
- Tokenizers 0.12.1
|