morten-j commited on
Commit
18b29e0
1 Parent(s): f8c0277

morten-j/fine_tuned_ancient_semitic_BERT

Browse files
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - f1
6
+ - precision
7
+ - recall
8
+ model-index:
9
+ - name: fine_tuned_ancient_semitic_BERT
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
+ # fine_tuned_ancient_semitic_BERT
17
+
18
+ This model was trained from scratch on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5170
21
+ - F1: 0.2927
22
+ - F5: 0.2847
23
+ - Precision: 0.3158
24
+ - Recall: 0.2727
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 20
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | F1 | F5 | Precision | Recall |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:---------:|:------:|
56
+ | No log | 1.0 | 65 | 0.3078 | 0.0 | 0.0 | 0.0 | 0.0 |
57
+ | No log | 2.0 | 130 | 0.3062 | 0.0 | 0.0 | 0.0 | 0.0 |
58
+ | No log | 3.0 | 195 | 0.3063 | 0.0 | 0.0 | 0.0 | 0.0 |
59
+ | No log | 4.0 | 260 | 0.3081 | 0.0 | 0.0 | 0.0 | 0.0 |
60
+ | No log | 5.0 | 325 | 0.2898 | 0.0 | 0.0 | 0.0 | 0.0 |
61
+ | No log | 6.0 | 390 | 0.3567 | 0.0 | 0.0 | 0.0 | 0.0 |
62
+ | No log | 7.0 | 455 | 0.3049 | 0.3529 | 0.3110 | 0.5455 | 0.2609 |
63
+ | 0.2651 | 8.0 | 520 | 0.3008 | 0.4324 | 0.3957 | 0.5714 | 0.3478 |
64
+ | 0.2651 | 9.0 | 585 | 0.3407 | 0.3784 | 0.3462 | 0.5 | 0.3043 |
65
+ | 0.2651 | 10.0 | 650 | 0.3392 | 0.4 | 0.3571 | 0.5833 | 0.3043 |
66
+ | 0.2651 | 11.0 | 715 | 0.2999 | 0.4444 | 0.4018 | 0.6154 | 0.3478 |
67
+ | 0.2651 | 12.0 | 780 | 0.3231 | 0.5 | 0.4520 | 0.6923 | 0.3913 |
68
+ | 0.2651 | 13.0 | 845 | 0.3056 | 0.5 | 0.4520 | 0.6923 | 0.3913 |
69
+ | 0.2651 | 14.0 | 910 | 0.3097 | 0.5625 | 0.4820 | 1.0 | 0.3913 |
70
+ | 0.2651 | 15.0 | 975 | 0.3168 | 0.6316 | 0.5846 | 0.8 | 0.5217 |
71
+ | 0.1016 | 16.0 | 1040 | 0.3354 | 0.5882 | 0.5184 | 0.9091 | 0.4348 |
72
+ | 0.1016 | 17.0 | 1105 | 0.3730 | 0.5 | 0.4284 | 0.8889 | 0.3478 |
73
+ | 0.1016 | 18.0 | 1170 | 0.3749 | 0.5455 | 0.4741 | 0.9 | 0.3913 |
74
+ | 0.1016 | 19.0 | 1235 | 0.3808 | 0.5161 | 0.4356 | 1.0 | 0.3478 |
75
+ | 0.1016 | 20.0 | 1300 | 0.3620 | 0.5455 | 0.4741 | 0.9 | 0.3913 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.38.1
81
+ - Pytorch 2.2.1+cu121
82
+ - Datasets 2.17.0
83
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/morte/Downloads/trained_full_bert_model",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "NO_MATCH",
13
+ "1": "MATCH"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "MATCH": 1,
19
+ "NO_MATCH": 0
20
+ },
21
+ "layer_norm_eps": 1e-12,
22
+ "max_position_embeddings": 512,
23
+ "model_type": "bert",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 0,
27
+ "position_embedding_type": "absolute",
28
+ "problem_type": "single_label_classification",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.38.1",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 52000
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9b6d50390fd33828c8db61412be3d8c423d264ed79a69d541715f8da88aca65
3
+ size 503939072
runs/Apr22_08-43-12_yoga/events.out.tfevents.1713768193.yoga.8613.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49ecf5b14c084521e42d3386d7aba29f9851b448ec76681e5ca0d7ed673910b8
3
+ size 14811
runs/Apr22_08-43-12_yoga/events.out.tfevents.1713768381.yoga.8613.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99fa78865fe38da3a4a3a84773de648b6d1b5178fe7c7a9562865a62e4324562
3
+ size 554
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[UNK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "mask_token": "[MASK]",
47
+ "model_max_length": 512,
48
+ "pad_token": "[PAD]",
49
+ "sep_token": "[SEP]",
50
+ "tokenizer_class": "PreTrainedTokenizerFast",
51
+ "unk_token": "[UNK]"
52
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2eb0aeaad3e147061114db3405c55f951a3a9609e4871e09057396a3650875
3
+ size 4920