alenatz commited on
Commit
231396e
·
verified ·
1 Parent(s): a55e096

alenatz/cause-BERT-BECAUSE

Browse files
Files changed (29) hide show
  1. README.md +72 -0
  2. config.json +34 -0
  3. model.safetensors +3 -0
  4. runs/Jul03_21-54-26_ccoon/events.out.tfevents.1720036468.ccoon.26033.1 +3 -0
  5. runs/Jul03_22-12-37_ccoon/events.out.tfevents.1720037590.ccoon.26033.2 +3 -0
  6. runs/Jul03_22-31-05_ccoon/events.out.tfevents.1720038668.ccoon.26033.3 +3 -0
  7. runs/Jul06_20-41-04_ccoon/events.out.tfevents.1720435264.ccoon.48151.1 +3 -0
  8. runs/Jul08_12-30-49_ccoon/events.out.tfevents.1720434649.ccoon.48151.0 +3 -0
  9. runs/Jul08_13-33-11_ccoon/events.out.tfevents.1720438391.ccoon.54189.0 +3 -0
  10. runs/Jul08_13-47-53_ccoon/events.out.tfevents.1720439312.ccoon.54189.1 +3 -0
  11. runs/Jul08_13-59-32_ccoon/events.out.tfevents.1720440071.ccoon.54189.2 +3 -0
  12. runs/Jul08_14-15-42_ccoon/events.out.tfevents.1720440945.ccoon.54189.3 +3 -0
  13. runs/Jul08_14-30-35_ccoon/events.out.tfevents.1720441842.ccoon.54189.4 +3 -0
  14. runs/Jul08_14-39-12_ccoon/events.out.tfevents.1720442354.ccoon.54189.5 +3 -0
  15. runs/Jul08_14-49-27_ccoon/events.out.tfevents.1720442969.ccoon.54189.6 +3 -0
  16. runs/Jul08_15-26-29_ccoon/events.out.tfevents.1720445192.ccoon.54189.8 +3 -0
  17. runs/Jul08_15-26-29_ccoon/events.out.tfevents.1720446066.ccoon.54189.9 +3 -0
  18. runs/Jul08_15-57-26_ccoon/events.out.tfevents.1720447049.ccoon.54189.10 +3 -0
  19. runs/Jul08_16-07-52_ccoon/events.out.tfevents.1720447675.ccoon.54189.11 +3 -0
  20. runs/Jul08_16-52-36_ccoon/events.out.tfevents.1720450358.ccoon.9102.0 +3 -0
  21. runs/Jul12_16-28-34_ccoon/events.out.tfevents.1720794518.ccoon.556444.0 +3 -0
  22. runs/Jul12_16-31-21_ccoon/events.out.tfevents.1720794684.ccoon.556444.1 +3 -0
  23. runs/Jul12_16-37-24_ccoon/events.out.tfevents.1720795047.ccoon.577086.0 +3 -0
  24. runs/Jul12_16-37-24_ccoon/events.out.tfevents.1720795462.ccoon.577086.1 +3 -0
  25. special_tokens_map.json +7 -0
  26. tokenizer.json +0 -0
  27. tokenizer_config.json +55 -0
  28. training_args.bin +3 -0
  29. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: filtered_cause_extraction_bert_because
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
+ # filtered_cause_extraction_bert_because
20
+
21
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4768
24
+ - Precision: 0.25
25
+ - Recall: 0.3878
26
+ - F1: 0.304
27
+ - Accuracy: 0.8087
28
+ - Cause P: 0.25
29
+ - Cause R: 0.3878
30
+ - Cause F1: 0.304
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 4e-05
50
+ - train_batch_size: 16
51
+ - eval_batch_size: 16
52
+ - seed: 42
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 2
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | Cause P | Cause R | Cause F1 |
60
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|:-------:|:-------:|:--------:|
61
+ | 0.7298 | 0.41 | 20 | 0.5714 | 0.0843 | 0.3010 | 0.1317 | 0.6191 | 0.0843 | 0.3010 | 0.1317 |
62
+ | 0.7298 | 0.82 | 40 | 0.4815 | 0.1528 | 0.3010 | 0.2027 | 0.7796 | 0.1528 | 0.3010 | 0.2027 |
63
+ | 0.7298 | 1.22 | 60 | 0.4449 | 0.2061 | 0.3776 | 0.2667 | 0.7979 | 0.2061 | 0.3776 | 0.2667 |
64
+ | 0.7298 | 1.63 | 80 | 0.4607 | 0.2444 | 0.3929 | 0.3014 | 0.8052 | 0.2444 | 0.3929 | 0.3014 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.37.2
70
+ - Pytorch 2.3.1.post100
71
+ - Datasets 2.20.0
72
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForUnbalancedTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "I-CAU"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "I-CAU": 1,
20
+ "O": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.37.2",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 28996
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31e746ee00560c7953d227b90f7d83b87ef3b15e36eacdf994415cf35b994084
3
+ size 433270744
runs/Jul03_21-54-26_ccoon/events.out.tfevents.1720036468.ccoon.26033.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1699d26e106eaa05372508333e3ff53017b1a376955a7f7c94b70bd320a919fa
3
+ size 7492
runs/Jul03_22-12-37_ccoon/events.out.tfevents.1720037590.ccoon.26033.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf5363e5973a2c5a8a932ff7e8f682e31c8da653d070063670ebcb5f64a46636
3
+ size 9352
runs/Jul03_22-31-05_ccoon/events.out.tfevents.1720038668.ccoon.26033.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e7a43c43808541addadbaa4b99f7ddc5f7557ef92cdedd4d6a4392ba080cd4b
3
+ size 9352
runs/Jul06_20-41-04_ccoon/events.out.tfevents.1720435264.ccoon.48151.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f655595ffc6577bd74293ae029c600513307c223f9d5c848c4a1ba1e20f3b26c
3
+ size 9352
runs/Jul08_12-30-49_ccoon/events.out.tfevents.1720434649.ccoon.48151.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f424845b70aa38f4ee7fb96dfaecc4158358899d1a9834f116ed498ab679f077
3
+ size 9318
runs/Jul08_13-33-11_ccoon/events.out.tfevents.1720438391.ccoon.54189.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c197b7c1c3d80afa303bdc5dc9bda2e363ca9ab8ac519cc3e96bbb3123340922
3
+ size 9318
runs/Jul08_13-47-53_ccoon/events.out.tfevents.1720439312.ccoon.54189.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71e737f33f624300e5ef8740e1cdd9af0bb1511a6f053a987202ce4c12d535db
3
+ size 9318
runs/Jul08_13-59-32_ccoon/events.out.tfevents.1720440071.ccoon.54189.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84ce2db6bcb8654f6d0c2ba6725428a9a9549347134387d2f01504f5c8479f9b
3
+ size 9318
runs/Jul08_14-15-42_ccoon/events.out.tfevents.1720440945.ccoon.54189.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a66f021d1661af29524f5b02be57ea5d6f29fd732ff0a385cb76abc6569088e7
3
+ size 9318
runs/Jul08_14-30-35_ccoon/events.out.tfevents.1720441842.ccoon.54189.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8379e29c5104524f7839f9d942316ad15186ea19c07f15c63de5e2ebb90ca877
3
+ size 7458
runs/Jul08_14-39-12_ccoon/events.out.tfevents.1720442354.ccoon.54189.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c33a455cb6a6c8752b3c73cde7152837502f6ac5fd8bce9ab66e7957030c65d0
3
+ size 9318
runs/Jul08_14-49-27_ccoon/events.out.tfevents.1720442969.ccoon.54189.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f7c66f35f499ec14e5da49968391a8158eac9fc7616ddc2bfbc35400f546e95
3
+ size 9318
runs/Jul08_15-26-29_ccoon/events.out.tfevents.1720445192.ccoon.54189.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec653ea42f346e9f5bc46cf7f76aa395254645129cb2ec49ac3061050fcf6fc
3
+ size 9318
runs/Jul08_15-26-29_ccoon/events.out.tfevents.1720446066.ccoon.54189.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aa7e9dc4a769157e73f0a6ab4c79f872f1abab6df854ebfa9d1ca8bf972f661
3
+ size 9318
runs/Jul08_15-57-26_ccoon/events.out.tfevents.1720447049.ccoon.54189.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a00aeea6cf98ee1561e790ddd45bfdded1e3973dc7c4817e0eb8efbc6e6193
3
+ size 9318
runs/Jul08_16-07-52_ccoon/events.out.tfevents.1720447675.ccoon.54189.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74ab6ec3359a0c42c28471cc32c726410f50827d2f09e70123ac6eaffad3b75e
3
+ size 10794
runs/Jul08_16-52-36_ccoon/events.out.tfevents.1720450358.ccoon.9102.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc1695020278bba2d9a68dad3976d92de2d64812db2af0d76cdff58c0974728e
3
+ size 4500
runs/Jul12_16-28-34_ccoon/events.out.tfevents.1720794518.ccoon.556444.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbbeb97ee83d07a16744f0dc41358de349b585bb29edd8c324dd9ec60bd4a8d1
3
+ size 4500
runs/Jul12_16-31-21_ccoon/events.out.tfevents.1720794684.ccoon.556444.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14029bb00579d734c05e45194a8ef8a4516b202f88552839685aabb95c1a56c5
3
+ size 4654
runs/Jul12_16-37-24_ccoon/events.out.tfevents.1720795047.ccoon.577086.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdb759850833bce9af23a9ef9813ac7a2d24f3ec7ad4bc771de30adedeb0e421
3
+ size 7458
runs/Jul12_16-37-24_ccoon/events.out.tfevents.1720795462.ccoon.577086.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f62e3bd508b9f88b5147109818249a68577160f625666454377d9578beeb11a0
3
+ size 702
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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
+ "do_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
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:b1449f4871a0a7deb82cf3bd04df3143ddecb6e951962d1044498bc83125f6ad
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff