Iva Marinova commited on
Commit
b5063a9
1 Parent(s): 50bdbf8

fix the exchange of models

Browse files
Files changed (6) hide show
  1. README.md +12 -13
  2. config.json +10 -0
  3. optimizer.pt +2 -2
  4. pytorch_model.bin +2 -2
  5. trainer_state.json +31 -31
  6. training_args.bin +1 -1
README.md CHANGED
@@ -1,16 +1,13 @@
1
  ---
2
  license: cc-by-2.0
3
- language:
4
- - bg
5
- metrics:
6
- - accuracy
7
  ---
8
 
9
- # Model Card for BERT-DEEPFAKE-BG-MULTICLASS
10
 
11
  <!-- Provide a quick summary of what the model is/does. -->
12
 
13
- This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
 
14
 
15
  ## Model Details
16
 
@@ -20,19 +17,19 @@ This modelcard aims to be a base template for new models. It has been generated
20
 
21
 
22
 
23
- - **Developed by:** [More Information Needed]
24
- - **Shared by [optional]:** [More Information Needed]
25
- - **Model type:** [More Information Needed]
26
- - **Language(s) (NLP):** [More Information Needed]
27
  - **License:** [More Information Needed]
28
- - **Finetuned from model [optional]:** [More Information Needed]
29
 
30
  ### Model Sources [optional]
31
 
32
  <!-- Provide the basic links for the model. -->
33
 
34
  - **Repository:** [More Information Needed]
35
- - **Paper [optional]:** [More Information Needed]
36
  - **Demo [optional]:** [More Information Needed]
37
 
38
  ## Uses
@@ -198,4 +195,6 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
198
 
199
  ## Model Card Contact
200
 
201
- [More Information Needed]
 
 
 
1
  ---
2
  license: cc-by-2.0
 
 
 
 
3
  ---
4
 
5
+ # Model Card for bert-deepfake-bg
6
 
7
  <!-- Provide a quick summary of what the model is/does. -->
8
 
9
+ This model is finetuned [usmiva/bert-web-bg](https://huggingface.co/usmiva/bert-web-bg)
10
+
11
 
12
  ## Model Details
13
 
 
17
 
18
 
19
 
20
+ - **Developed by:** [Iva Marinova](https://huggingface.co/usmiva)
21
+ - **Shared by [optional]:** The Big Data for Smart Society Institute (GATE), Bulgaria, Sofia
22
+ - **Model type:** BERT
23
+ - **Language(s) (NLP):** Bulgarian
24
  - **License:** [More Information Needed]
25
+ - **Finetuned from model [optional]:** [usmiva/bert-web-bg](https://huggingface.co/usmiva/bert-web-bg)
26
 
27
  ### Model Sources [optional]
28
 
29
  <!-- Provide the basic links for the model. -->
30
 
31
  - **Repository:** [More Information Needed]
32
+ - **Paper [optional]:** TBA
33
  - **Demo [optional]:** [More Information Needed]
34
 
35
  ## Uses
 
195
 
196
  ## Model Card Contact
197
 
198
+ [More Information Needed]
199
+
200
+
config.json CHANGED
@@ -8,8 +8,18 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
 
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
15
  "model_type": "bert",
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
+ },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
+ "label2id": {
19
+ "LABEL_0": 0,
20
+ "LABEL_1": 1,
21
+ "LABEL_2": 2
22
+ },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
25
  "model_type": "bert",
optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:993b9cf72dad14dc5045d358035d3852573270e6374e90370368c1078d18f0c7
3
- size 872785693
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a014601b702578cc776869792cfad33ac306782f2ea7fb91879c11de25381f4
3
+ size 872791837
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b6cefcae1006d177246e3469c115be6bc4bcbdbdeecb4f74d3450a147e7351a
3
- size 436405613
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43c5b90ae9a404e4faad333879cb90b39f8b22ef37311fce1a242bb59dc8ec00
3
+ size 436408685
trainer_state.json CHANGED
@@ -10,82 +10,82 @@
10
  {
11
  "epoch": 1.0,
12
  "learning_rate": 4e-05,
13
- "loss": 0.2585,
14
  "step": 500
15
  },
16
  {
17
  "epoch": 1.0,
18
- "eval_accuracy": 0.9453883495145631,
19
- "eval_loss": 0.15823796391487122,
20
- "eval_runtime": 7.4369,
21
- "eval_samples_per_second": 110.799,
22
- "eval_steps_per_second": 6.992,
23
  "step": 500
24
  },
25
  {
26
  "epoch": 2.0,
27
  "learning_rate": 3e-05,
28
- "loss": 0.1304,
29
  "step": 1000
30
  },
31
  {
32
  "epoch": 2.0,
33
- "eval_accuracy": 0.9550970873786407,
34
- "eval_loss": 0.13580937683582306,
35
- "eval_runtime": 7.422,
36
- "eval_samples_per_second": 111.021,
37
- "eval_steps_per_second": 7.006,
38
  "step": 1000
39
  },
40
  {
41
  "epoch": 3.0,
42
  "learning_rate": 2e-05,
43
- "loss": 0.0571,
44
  "step": 1500
45
  },
46
  {
47
  "epoch": 3.0,
48
- "eval_accuracy": 0.9526699029126213,
49
- "eval_loss": 0.2397720217704773,
50
- "eval_runtime": 7.3747,
51
- "eval_samples_per_second": 111.733,
52
- "eval_steps_per_second": 7.051,
53
  "step": 1500
54
  },
55
  {
56
  "epoch": 4.0,
57
  "learning_rate": 1e-05,
58
- "loss": 0.0261,
59
  "step": 2000
60
  },
61
  {
62
  "epoch": 4.0,
63
- "eval_accuracy": 0.9757281553398058,
64
- "eval_loss": 0.10911418497562408,
65
- "eval_runtime": 7.4257,
66
- "eval_samples_per_second": 110.966,
67
- "eval_steps_per_second": 7.003,
68
  "step": 2000
69
  },
70
  {
71
  "epoch": 5.0,
72
  "learning_rate": 0.0,
73
- "loss": 0.008,
74
  "step": 2500
75
  },
76
  {
77
  "epoch": 5.0,
78
- "eval_accuracy": 0.9684466019417476,
79
- "eval_loss": 0.15623603761196136,
80
- "eval_runtime": 7.4414,
81
- "eval_samples_per_second": 110.732,
82
- "eval_steps_per_second": 6.988,
83
  "step": 2500
84
  }
85
  ],
86
  "max_steps": 2500,
87
  "num_train_epochs": 5,
88
- "total_flos": 1.05244422144e+16,
89
  "trial_name": null,
90
  "trial_params": null
91
  }
 
10
  {
11
  "epoch": 1.0,
12
  "learning_rate": 4e-05,
13
+ "loss": 0.3063,
14
  "step": 500
15
  },
16
  {
17
  "epoch": 1.0,
18
+ "eval_accuracy": 0.9211165048543689,
19
+ "eval_loss": 0.2524273991584778,
20
+ "eval_runtime": 7.3979,
21
+ "eval_samples_per_second": 111.383,
22
+ "eval_steps_per_second": 7.029,
23
  "step": 500
24
  },
25
  {
26
  "epoch": 2.0,
27
  "learning_rate": 3e-05,
28
+ "loss": 0.136,
29
  "step": 1000
30
  },
31
  {
32
  "epoch": 2.0,
33
+ "eval_accuracy": 0.9405339805825242,
34
+ "eval_loss": 0.21534095704555511,
35
+ "eval_runtime": 7.3273,
36
+ "eval_samples_per_second": 112.457,
37
+ "eval_steps_per_second": 7.097,
38
  "step": 1000
39
  },
40
  {
41
  "epoch": 3.0,
42
  "learning_rate": 2e-05,
43
+ "loss": 0.0567,
44
  "step": 1500
45
  },
46
  {
47
  "epoch": 3.0,
48
+ "eval_accuracy": 0.9599514563106796,
49
+ "eval_loss": 0.2191401720046997,
50
+ "eval_runtime": 7.4908,
51
+ "eval_samples_per_second": 110.002,
52
+ "eval_steps_per_second": 6.942,
53
  "step": 1500
54
  },
55
  {
56
  "epoch": 4.0,
57
  "learning_rate": 1e-05,
58
+ "loss": 0.0189,
59
  "step": 2000
60
  },
61
  {
62
  "epoch": 4.0,
63
+ "eval_accuracy": 0.9526699029126213,
64
+ "eval_loss": 0.2866779863834381,
65
+ "eval_runtime": 7.3916,
66
+ "eval_samples_per_second": 111.478,
67
+ "eval_steps_per_second": 7.035,
68
  "step": 2000
69
  },
70
  {
71
  "epoch": 5.0,
72
  "learning_rate": 0.0,
73
+ "loss": 0.0056,
74
  "step": 2500
75
  },
76
  {
77
  "epoch": 5.0,
78
+ "eval_accuracy": 0.9563106796116505,
79
+ "eval_loss": 0.2526571452617645,
80
+ "eval_runtime": 7.4135,
81
+ "eval_samples_per_second": 111.148,
82
+ "eval_steps_per_second": 7.014,
83
  "step": 2500
84
  }
85
  ],
86
  "max_steps": 2500,
87
  "num_train_epochs": 5,
88
+ "total_flos": 1.052453670912e+16,
89
  "trial_name": null,
90
  "trial_params": null
91
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1157799575a37dbb70a6406c3cda0e47c63629b478cddb7ba4b06edc9ec520b
3
  size 3375
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a36286c6eb9bce9857125c4b031073c4fab3b83ebaf5bc3cd65b3e38a41e3f9
3
  size 3375