Anwaarma commited on
Commit
33ee9d2
·
1 Parent(s): 8f673b5

End of training

Browse files
Files changed (2) hide show
  1. README.md +74 -0
  2. config.json +1 -8
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-multilingual-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Improved-bert-multilingual
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # Improved-bert-multilingual
17
+
18
+ This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.0118
21
+ - Accuracy: 0.78
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 1e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 15
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.6856 | 0.55 | 50 | 0.6607 | 0.61 |
53
+ | 0.5729 | 1.1 | 100 | 0.5453 | 0.73 |
54
+ | 0.4649 | 1.65 | 150 | 0.5915 | 0.66 |
55
+ | 0.385 | 2.2 | 200 | 0.5824 | 0.7 |
56
+ | 0.343 | 2.75 | 250 | 0.4548 | 0.79 |
57
+ | 0.305 | 3.3 | 300 | 0.6585 | 0.71 |
58
+ | 0.2355 | 3.85 | 350 | 0.6034 | 0.77 |
59
+ | 0.2176 | 4.4 | 400 | 0.5191 | 0.79 |
60
+ | 0.2137 | 4.95 | 450 | 0.6655 | 0.73 |
61
+ | 0.181 | 5.49 | 500 | 0.6929 | 0.78 |
62
+ | 0.171 | 6.04 | 550 | 1.0172 | 0.65 |
63
+ | 0.1267 | 6.59 | 600 | 0.9904 | 0.67 |
64
+ | 0.1152 | 7.14 | 650 | 1.0817 | 0.65 |
65
+ | 0.1045 | 7.69 | 700 | 1.1231 | 0.66 |
66
+ | 0.0973 | 8.24 | 750 | 1.0118 | 0.78 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.34.1
72
+ - Pytorch 2.1.0+cu118
73
+ - Datasets 2.14.7
74
+ - Tokenizers 0.14.1
config.json CHANGED
@@ -9,16 +9,8 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
- "id2label": {
13
- "0": "Negative",
14
- "1": "Positive"
15
- },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
- "label2id": {
19
- "Negative": 0,
20
- "Positive": 1
21
- },
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
24
  "model_type": "bert",
@@ -31,6 +23,7 @@
31
  "pooler_size_per_head": 128,
32
  "pooler_type": "first_token_transform",
33
  "position_embedding_type": "absolute",
 
34
  "torch_dtype": "float32",
35
  "transformers_version": "4.34.1",
36
  "type_vocab_size": 2,
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
 
 
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
  "model_type": "bert",
 
23
  "pooler_size_per_head": 128,
24
  "pooler_type": "first_token_transform",
25
  "position_embedding_type": "absolute",
26
+ "problem_type": "single_label_classification",
27
  "torch_dtype": "float32",
28
  "transformers_version": "4.34.1",
29
  "type_vocab_size": 2,