sakgoyal commited on
Commit
170a64a
·
1 Parent(s): 12ed892

End of training

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
+ entity_vocab.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: studio-ousia/luke-base
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: NLP_HW2
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # NLP_HW2
15
+
16
+ This model is a fine-tuned version of [studio-ousia/luke-base](https://huggingface.co/studio-ousia/luke-base) on the None dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 5e-05
36
+ - train_batch_size: 24
37
+ - eval_batch_size: 16
38
+ - seed: 42
39
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
+ - lr_scheduler_type: linear
41
+ - num_epochs: 3.0
42
+
43
+ ### Training results
44
+
45
+
46
+
47
+ ### Framework versions
48
+
49
+ - Transformers 4.35.0
50
+ - Pytorch 2.0.0
51
+ - Datasets 2.14.6
52
+ - Tokenizers 0.14.1
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<ent2>": 50266,
3
+ "<ent>": 50265
4
+ }
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "studio-ousia/luke-base",
3
+ "architectures": [
4
+ "LukeForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bert_model_name": "roberta-base",
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "entity_emb_size": 256,
11
+ "entity_vocab_size": 500000,
12
+ "eos_token_id": 2,
13
+ "gradient_checkpointing": false,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3",
22
+ "4": "LABEL_4",
23
+ "5": "LABEL_5",
24
+ "6": "LABEL_6",
25
+ "7": "LABEL_7",
26
+ "8": "LABEL_8",
27
+ "9": "LABEL_9",
28
+ "10": "LABEL_10",
29
+ "11": "LABEL_11",
30
+ "12": "LABEL_12",
31
+ "13": "LABEL_13",
32
+ "14": "LABEL_14",
33
+ "15": "LABEL_15",
34
+ "16": "LABEL_16",
35
+ "17": "LABEL_17",
36
+ "18": "LABEL_18",
37
+ "19": "LABEL_19",
38
+ "20": "LABEL_20",
39
+ "21": "LABEL_21",
40
+ "22": "LABEL_22",
41
+ "23": "LABEL_23",
42
+ "24": "LABEL_24",
43
+ "25": "LABEL_25",
44
+ "26": "LABEL_26",
45
+ "27": "LABEL_27",
46
+ "28": "LABEL_28"
47
+ },
48
+ "initializer_range": 0.02,
49
+ "intermediate_size": 3072,
50
+ "label2id": {
51
+ "LABEL_0": 0,
52
+ "LABEL_1": 1,
53
+ "LABEL_10": 10,
54
+ "LABEL_11": 11,
55
+ "LABEL_12": 12,
56
+ "LABEL_13": 13,
57
+ "LABEL_14": 14,
58
+ "LABEL_15": 15,
59
+ "LABEL_16": 16,
60
+ "LABEL_17": 17,
61
+ "LABEL_18": 18,
62
+ "LABEL_19": 19,
63
+ "LABEL_2": 2,
64
+ "LABEL_20": 20,
65
+ "LABEL_21": 21,
66
+ "LABEL_22": 22,
67
+ "LABEL_23": 23,
68
+ "LABEL_24": 24,
69
+ "LABEL_25": 25,
70
+ "LABEL_26": 26,
71
+ "LABEL_27": 27,
72
+ "LABEL_28": 28,
73
+ "LABEL_3": 3,
74
+ "LABEL_4": 4,
75
+ "LABEL_5": 5,
76
+ "LABEL_6": 6,
77
+ "LABEL_7": 7,
78
+ "LABEL_8": 8,
79
+ "LABEL_9": 9
80
+ },
81
+ "layer_norm_eps": 1e-05,
82
+ "max_position_embeddings": 514,
83
+ "model_type": "luke",
84
+ "num_attention_heads": 12,
85
+ "num_hidden_layers": 12,
86
+ "output_past": true,
87
+ "pad_token_id": 1,
88
+ "position_embedding_type": "absolute",
89
+ "problem_type": "multi_label_classification",
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.35.0",
92
+ "type_vocab_size": 1,
93
+ "use_cache": true,
94
+ "use_entity_aware_attention": true,
95
+ "vocab_size": 50267
96
+ }
entity_vocab.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72f741e7347ec41a9f27909eb042dbe0d830be3f9c8d201d46e790ceafc07e32
3
+ size 16161138
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:339651eea6a3c1838d0b83a8cec69f402aed5db2a00555277c78ddebae8bbc04
3
+ size 1098130900
runs/Nov04_08-27-11_800bee82bd70/events.out.tfevents.1699086432.800bee82bd70.32.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffea8bf7e754b11431abf0d5a6f8fe1cae3fbc6833fdc917d9acad44abcbbeaf
3
+ size 5693
runs/Nov04_08-49-01_6ad04436e22d/events.out.tfevents.1699087751.6ad04436e22d.33.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e8bb323956d77847a56e9e2bce96d9887b6b30805e39b01d08fe66abef5a52
3
+ size 5693
runs/Nov04_08-52-02_6ad04436e22d/events.out.tfevents.1699087925.6ad04436e22d.33.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1579d33333e3b2f04fa68779cbdd562b7c465706ac2f36ee86484fb3bf9b7b9a
3
+ size 6046
runs/Nov04_08-52-02_6ad04436e22d/events.out.tfevents.1699088275.6ad04436e22d.33.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9e32949452a2caf3c7439c7460bc13362671e1c75dafe93f3b445c0a8c6699f
3
+ size 359
runs/Nov04_08-59-49_6ad04436e22d/events.out.tfevents.1699088396.6ad04436e22d.33.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ab1543ab496b36ca7cfd030fa8bfd7301a7e5d08a8218dc8ea66b0f8c7e1f50
3
+ size 5692
runs/Nov04_09-02-07_6ad04436e22d/events.out.tfevents.1699088530.6ad04436e22d.33.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bb9a9c52c67bd8731fd139f5988729e8b5c48fdada97bef526bf0293b4419f3
3
+ size 6046
runs/Nov04_09-09-59_6ad04436e22d/events.out.tfevents.1699089004.6ad04436e22d.33.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed4ef79cbb1dc1011e15c9a298879047d691d7c406e9f08bc74ce46aa7f28dd0
3
+ size 5692
runs/Nov04_09-10-15_6ad04436e22d/events.out.tfevents.1699089017.6ad04436e22d.33.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1e4c6f665031cc9e7d92aeb97d28895e4314b765600536240a5fae554f76f25
3
+ size 6041
special_tokens_map.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<ent>",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<ent2>",
12
+ "lstrip": false,
13
+ "normalized": true,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<ent>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<ent2>",
26
+ "lstrip": false,
27
+ "normalized": true,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ ],
32
+ "bos_token": {
33
+ "content": "<s>",
34
+ "lstrip": false,
35
+ "normalized": true,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ },
39
+ "cls_token": {
40
+ "content": "<s>",
41
+ "lstrip": false,
42
+ "normalized": true,
43
+ "rstrip": false,
44
+ "single_word": false
45
+ },
46
+ "eos_token": {
47
+ "content": "</s>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false
52
+ },
53
+ "mask_token": {
54
+ "content": "<mask>",
55
+ "lstrip": true,
56
+ "normalized": true,
57
+ "rstrip": false,
58
+ "single_word": false
59
+ },
60
+ "pad_token": {
61
+ "content": "<pad>",
62
+ "lstrip": false,
63
+ "normalized": true,
64
+ "rstrip": false,
65
+ "single_word": false
66
+ },
67
+ "sep_token": {
68
+ "content": "</s>",
69
+ "lstrip": false,
70
+ "normalized": true,
71
+ "rstrip": false,
72
+ "single_word": false
73
+ },
74
+ "unk_token": {
75
+ "content": "<unk>",
76
+ "lstrip": false,
77
+ "normalized": true,
78
+ "rstrip": false,
79
+ "single_word": false
80
+ }
81
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "50265": {
45
+ "content": "<ent>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "50266": {
53
+ "content": "<ent2>",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "additional_special_tokens": [
62
+ "<ent>",
63
+ "<ent2>",
64
+ "<ent>",
65
+ "<ent2>"
66
+ ],
67
+ "bos_token": "<s>",
68
+ "clean_up_tokenization_spaces": true,
69
+ "cls_token": "<s>",
70
+ "entity_mask2_token": "[MASK2]",
71
+ "entity_mask_token": "[MASK]",
72
+ "entity_pad_token": "[PAD]",
73
+ "entity_token_1": "<ent>",
74
+ "entity_token_2": "<ent2>",
75
+ "entity_unk_token": "[UNK]",
76
+ "eos_token": "</s>",
77
+ "errors": "replace",
78
+ "mask_token": "<mask>",
79
+ "max_entity_length": 32,
80
+ "max_mention_length": 30,
81
+ "model_max_length": 512,
82
+ "pad_token": "<pad>",
83
+ "sep_token": "</s>",
84
+ "task": null,
85
+ "tokenizer_class": "LukeTokenizer",
86
+ "unk_token": "<unk>"
87
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75aab6765380cfce90f7e8bf60e0699aaf485662b4952b7cfa710ae97242371
3
+ size 4155
vocab.json ADDED
The diff for this file is too large to render. See raw diff