DimasikKurd commited on
Commit
d368d2e
1 Parent(s): 7f083be

Training complete

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: severinsimmler/xlm-roberta-longformer-base-16384
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: longformer_pos_neg
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
+ # longformer_pos_neg
20
+
21
+ This model is a fine-tuned version of [severinsimmler/xlm-roberta-longformer-base-16384](https://huggingface.co/severinsimmler/xlm-roberta-longformer-base-16384) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5549
24
+ - Precision: 0.5599
25
+ - Recall: 0.5786
26
+ - F1: 0.5691
27
+ - Accuracy: 0.9030
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: 5e-05
47
+ - train_batch_size: 4
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: 100
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.35 | 50 | 0.7729 | 0.0 | 0.0 | 0.0 | 0.7762 |
59
+ | No log | 2.7 | 100 | 0.5497 | 0.0220 | 0.0078 | 0.0115 | 0.8017 |
60
+ | No log | 4.05 | 150 | 0.4143 | 0.0706 | 0.0698 | 0.0702 | 0.8383 |
61
+ | No log | 5.41 | 200 | 0.3607 | 0.2329 | 0.2578 | 0.2447 | 0.8632 |
62
+ | No log | 6.76 | 250 | 0.3320 | 0.3628 | 0.3101 | 0.3344 | 0.8807 |
63
+ | No log | 8.11 | 300 | 0.3261 | 0.5108 | 0.4574 | 0.4826 | 0.8939 |
64
+ | No log | 9.46 | 350 | 0.3190 | 0.4229 | 0.5950 | 0.4944 | 0.8826 |
65
+ | No log | 10.81 | 400 | 0.2662 | 0.4821 | 0.6008 | 0.5349 | 0.9014 |
66
+ | No log | 12.16 | 450 | 0.2714 | 0.5901 | 0.5775 | 0.5837 | 0.9137 |
67
+ | 0.3792 | 13.51 | 500 | 0.2852 | 0.5769 | 0.5891 | 0.5829 | 0.9105 |
68
+ | 0.3792 | 14.86 | 550 | 0.3868 | 0.5876 | 0.5329 | 0.5589 | 0.9082 |
69
+ | 0.3792 | 16.22 | 600 | 0.3218 | 0.5444 | 0.6531 | 0.5938 | 0.9129 |
70
+ | 0.3792 | 17.57 | 650 | 0.3022 | 0.5645 | 0.6357 | 0.5980 | 0.9112 |
71
+ | 0.3792 | 18.92 | 700 | 0.3737 | 0.5419 | 0.6764 | 0.6017 | 0.9025 |
72
+ | 0.3792 | 20.27 | 750 | 0.3730 | 0.5411 | 0.6628 | 0.5958 | 0.9119 |
73
+ | 0.3792 | 21.62 | 800 | 0.4021 | 0.6145 | 0.6240 | 0.6192 | 0.9109 |
74
+ | 0.3792 | 22.97 | 850 | 0.3358 | 0.5159 | 0.6298 | 0.5672 | 0.9008 |
75
+ | 0.3792 | 24.32 | 900 | 0.3779 | 0.6065 | 0.6124 | 0.6095 | 0.9138 |
76
+ | 0.3792 | 25.68 | 950 | 0.4435 | 0.5293 | 0.6298 | 0.5752 | 0.9063 |
77
+ | 0.0755 | 27.03 | 1000 | 0.4230 | 0.6333 | 0.6124 | 0.6227 | 0.9169 |
78
+ | 0.0755 | 28.38 | 1050 | 0.3666 | 0.5911 | 0.6415 | 0.6152 | 0.9163 |
79
+ | 0.0755 | 29.73 | 1100 | 0.3335 | 0.6098 | 0.6512 | 0.6298 | 0.9178 |
80
+ | 0.0755 | 31.08 | 1150 | 0.4606 | 0.5725 | 0.6202 | 0.5953 | 0.9075 |
81
+ | 0.0755 | 32.43 | 1200 | 0.4280 | 0.5656 | 0.6434 | 0.6020 | 0.9065 |
82
+ | 0.0755 | 33.78 | 1250 | 0.4003 | 0.5833 | 0.6376 | 0.6093 | 0.9158 |
83
+ | 0.0755 | 35.14 | 1300 | 0.5802 | 0.6422 | 0.5775 | 0.6082 | 0.9020 |
84
+ | 0.0755 | 36.49 | 1350 | 0.4503 | 0.6014 | 0.6550 | 0.6271 | 0.9172 |
85
+ | 0.0755 | 37.84 | 1400 | 0.5614 | 0.6643 | 0.5523 | 0.6032 | 0.9044 |
86
+ | 0.0755 | 39.19 | 1450 | 0.5082 | 0.628 | 0.6085 | 0.6181 | 0.9119 |
87
+ | 0.0407 | 40.54 | 1500 | 0.3964 | 0.6072 | 0.6531 | 0.6293 | 0.9165 |
88
+ | 0.0407 | 41.89 | 1550 | 0.5447 | 0.4572 | 0.6938 | 0.5512 | 0.8799 |
89
+ | 0.0407 | 43.24 | 1600 | 0.5303 | 0.4816 | 0.6589 | 0.5565 | 0.8947 |
90
+ | 0.0407 | 44.59 | 1650 | 0.4461 | 0.6409 | 0.6260 | 0.6333 | 0.9138 |
91
+ | 0.0407 | 45.95 | 1700 | 0.6884 | 0.5561 | 0.4031 | 0.4674 | 0.8766 |
92
+ | 0.0407 | 47.3 | 1750 | 0.4556 | 0.5431 | 0.6105 | 0.5748 | 0.9097 |
93
+ | 0.0407 | 48.65 | 1800 | 0.4272 | 0.6771 | 0.5853 | 0.6279 | 0.9183 |
94
+ | 0.0407 | 50.0 | 1850 | 0.4904 | 0.5603 | 0.6570 | 0.6048 | 0.9015 |
95
+ | 0.0407 | 51.35 | 1900 | 0.4206 | 0.5655 | 0.6357 | 0.5985 | 0.9135 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.38.2
101
+ - Pytorch 2.1.2
102
+ - Datasets 2.1.0
103
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "severinsimmler/xlm-roberta-longformer-base-16384",
3
+ "architectures": [
4
+ "LongformerForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "attention_window": [
8
+ 256,
9
+ 256,
10
+ 256,
11
+ 256,
12
+ 256,
13
+ 256,
14
+ 256,
15
+ 256,
16
+ 256,
17
+ 256,
18
+ 256,
19
+ 256
20
+ ],
21
+ "bos_token_id": 0,
22
+ "classifier_dropout": null,
23
+ "eos_token_id": 2,
24
+ "hidden_act": "gelu",
25
+ "hidden_dropout_prob": 0.1,
26
+ "hidden_size": 768,
27
+ "id2label": {
28
+ "0": "O",
29
+ "1": "B-symp",
30
+ "2": "I-symp"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "0": "O",
36
+ "1": "B-symp",
37
+ "2": "I-symp"
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_position_embeddings": 16386,
41
+ "model_type": "longformer",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "onnx_export": false,
45
+ "pad_token_id": 1,
46
+ "position_embedding_type": "absolute",
47
+ "sep_token_id": 2,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.38.2",
50
+ "type_vocab_size": 1,
51
+ "vocab_size": 250002
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50cc07d9a47b3fef604235e15b032ceefe9a7658dee17ffc3834a307c0bf8985
3
+ size 1243659772
runs/May07_12-58-13_8dd371958cdf/events.out.tfevents.1715086695.8dd371958cdf.34.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:158032ceded1d86be692a675ad6f0234747e4621730bdfc314f59b8bf0725021
3
+ size 23825
runs/May07_12-58-13_8dd371958cdf/events.out.tfevents.1715088092.8dd371958cdf.34.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:996ec25323d21ecfd1b5d304787b2a07864e22027f82927c75e364be87285c54
3
+ size 560
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a1396e1ff4e78518af44b7521d9e5b9c6219fed36303610d202b685bab9782
3
+ size 17082856
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "250001": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 16384,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a927b64d182885a8c093a76d760f7159e5f9fb5f4f57819d03b779844378810
3
+ size 4920