AriyanH22 commited on
Commit
afa77b5
1 Parent(s): 9edf7fc

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/bigbird-roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: frame_classification_bigbird
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
+ # frame_classification_bigbird
20
+
21
+ This model is a fine-tuned version of [google/bigbird-roberta-base](https://huggingface.co/google/bigbird-roberta-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.8803
24
+ - Accuracy: 0.8991
25
+ - F1: 0.9396
26
+ - Precision: 0.9353
27
+ - Recall: 0.9440
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: 2e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 4
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Accuracy | F1 | Validation Loss | Precision | Recall |
58
+ |:-------------:|:-----:|:-----:|:--------:|:------:|:---------------:|:---------:|:------:|
59
+ | 0.6673 | 1.0 | 1288 | 0.9270 | 0.9570 | 0.4955 | 0.9390 | 0.9757 |
60
+ | 0.5913 | 2.0 | 2576 | 0.9099 | 0.9477 | 0.6212 | 0.9178 | 0.9795 |
61
+ | 0.5858 | 3.0 | 3864 | 0.9270 | 0.9572 | 0.4327 | 0.9343 | 0.9813 |
62
+ | 0.5384 | 4.0 | 5152 | 0.9317 | 0.9599 | 0.4998 | 0.9377 | 0.9832 |
63
+ | 0.6131 | 5.0 | 6440 | 0.9255 | 0.9561 | 0.5642 | 0.9373 | 0.9757 |
64
+ | 0.5834 | 6.0 | 7728 | 0.9239 | 0.9553 | 0.6238 | 0.9340 | 0.9776 |
65
+ | 0.5023 | 7.0 | 9016 | 0.9208 | 0.9533 | 0.7194 | 0.9354 | 0.9720 |
66
+ | 0.5271 | 8.0 | 10304 | 0.9177 | 0.9516 | 0.7188 | 0.9320 | 0.9720 |
67
+ | 0.4755 | 9.0 | 11592 | 0.8618 | 0.9177 | 0.9514 | 0.9351 | 0.9683 |
68
+ | 0.4173 | 10.0 | 12880 | 0.8803 | 0.8991 | 0.9396 | 0.9353 | 0.9440 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.38.2
74
+ - Pytorch 2.2.0+cu121
75
+ - Datasets 2.18.0
76
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/bigbird-roberta-base",
3
+ "architectures": [
4
+ "BigBirdForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "attention_type": "block_sparse",
8
+ "block_size": 64,
9
+ "bos_token_id": 1,
10
+ "classifier_dropout": null,
11
+ "eos_token_id": 2,
12
+ "gradient_checkpointing": false,
13
+ "hidden_act": "gelu_new",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "non-effects",
18
+ "1": "effects"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "effects": 1,
24
+ "non-effects": 0
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 4096,
28
+ "model_type": "big_bird",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_random_blocks": 3,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "rescale_embeddings": false,
36
+ "sep_token_id": 66,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.38.2",
39
+ "type_vocab_size": 2,
40
+ "use_bias": true,
41
+ "use_cache": true,
42
+ "vocab_size": 50358
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dc0bd3f2d88110b8fc57469f0e710fcf712b5b8146aec715a1fc784711ceeef
3
+ size 512267464
runs/Apr04_03-52-53_CSE-12B21L-PC10/events.out.tfevents.1712181233.CSE-12B21L-PC10.17428.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:427f9aa2b4ee221eec160a0a332626ea0e32b354012b77c5cfd47dde8d8b9346
3
+ size 4945
runs/Apr04_03-58-51_CSE-12B21L-PC10/events.out.tfevents.1712181573.CSE-12B21L-PC10.17428.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76dc333078979fc90850b60bd8b3d547765b4ed710200026fdfadecdf66afc43
3
+ size 18146
runs/Apr06_16-44-58_CSE-12B21L-PC10/events.out.tfevents.1712400402.CSE-12B21L-PC10.4040.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be99da9f593f3394693d6ffed799561172da6df1bdad490d0264bcab384f246d
3
+ size 7298
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "<s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdc81e1fc9d42e0c08b86d5b280d05d7c5e9747c4231c648f2b56b8e1d893c82
3
+ size 845731
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "</s>",
13
+ "lstrip": false,
14
+ "normalized": true,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": true,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "65": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "66": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "67": {
44
+ "content": "[MASK]",
45
+ "lstrip": true,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "100": {
52
+ "content": "<unk>",
53
+ "lstrip": false,
54
+ "normalized": true,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "bos_token": "</s>",
61
+ "clean_up_tokenization_spaces": true,
62
+ "cls_token": "[CLS]",
63
+ "eos_token": "<s>",
64
+ "mask_token": "[MASK]",
65
+ "max_length": 4096,
66
+ "model_max_length": 4096,
67
+ "pad_token": "<pad>",
68
+ "sep_token": "[SEP]",
69
+ "sp_model_kwargs": {},
70
+ "tokenizer_class": "BigBirdTokenizer",
71
+ "unk_token": "<unk>"
72
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a7486a492398186d72175ba2a8fff474461b543dfecd4fe4f4463e58d00894d
3
+ size 4920