ArneBinder commited on
Commit
d090d53
·
verified ·
1 Parent(s): 0898bc4

upload model 2024-11-02_13-23-14

Browse files
Files changed (3) hide show
  1. config.json +135 -0
  2. pytorch_model.bin +3 -0
  3. taskmodule_config.json +39 -0
config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SimpleGenerativeModel",
3
+ "base_model_type": "pie_modules.models.base_models.BartAsPointerNetwork",
4
+ "base_model_config": {
5
+ "pretrained_model_name_or_path": "facebook/bart-base",
6
+ "use_encoder_mlp": true,
7
+ "use_constraints_encoder_mlp": true,
8
+ "decoder_position_id_mode": "pattern",
9
+ "decoder_position_id_pattern": [
10
+ 0,
11
+ 0,
12
+ 1,
13
+ 0,
14
+ 0,
15
+ 1,
16
+ 1
17
+ ],
18
+ "decoder_position_id_mapping": {
19
+ "default": 2,
20
+ "vocab": 3,
21
+ "bos": 0,
22
+ "eos": 1,
23
+ "pad": 1
24
+ },
25
+ "encoder_layer_norm_decay": 0.005,
26
+ "lr": 6e-05,
27
+ "num_beams": 4,
28
+ "max_length": 768,
29
+ "decoder_layer_norm_decay": 0.05,
30
+ "bos_token_id": 0,
31
+ "eos_token_id": 1,
32
+ "pad_token_id": 1,
33
+ "target_token_ids": [
34
+ 0,
35
+ 2,
36
+ 50267,
37
+ 50265,
38
+ 50268,
39
+ 50270,
40
+ 50271,
41
+ 50269,
42
+ 50272,
43
+ 50266
44
+ ],
45
+ "embedding_weight_mapping": {
46
+ "50267": [
47
+ 4146
48
+ ],
49
+ "50265": [
50
+ 3618,
51
+ 1215,
52
+ 31628
53
+ ],
54
+ "50268": [
55
+ 414
56
+ ],
57
+ "50270": [
58
+ 308,
59
+ 1215,
60
+ 31628
61
+ ],
62
+ "50271": [
63
+ 37820
64
+ ],
65
+ "50269": [
66
+ 1667,
67
+ 1215,
68
+ 1116,
69
+ 1215,
70
+ 41690
71
+ ],
72
+ "50272": [
73
+ 9031,
74
+ 38600,
75
+ 1215,
76
+ 41690
77
+ ],
78
+ "50266": [
79
+ 4548
80
+ ]
81
+ }
82
+ },
83
+ "override_generation_kwargs": null,
84
+ "warmup_proportion": 0.01,
85
+ "learning_rate": null,
86
+ "optimizer_type": null,
87
+ "metric_stages": [
88
+ "val",
89
+ "test",
90
+ "train"
91
+ ],
92
+ "metric_call_predict": [
93
+ "val",
94
+ "test"
95
+ ],
96
+ "taskmodule_config": {
97
+ "taskmodule_type": "PointerNetworkTaskModuleForEnd2EndRE",
98
+ "tokenizer_name_or_path": "facebook/bart-base",
99
+ "document_type": "pytorch_ie.documents.TextDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions",
100
+ "tokenized_document_type": "pie_modules.documents.TokenDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions",
101
+ "relation_layer_name": "binary_relations",
102
+ "none_label": "none",
103
+ "loop_dummy_relation_name": "loop",
104
+ "constrained_generation": true,
105
+ "label_tokens": null,
106
+ "label_representations": null,
107
+ "labels_per_layer": {
108
+ "labeled_spans": [
109
+ "background_claim",
110
+ "data",
111
+ "own_claim"
112
+ ],
113
+ "binary_relations": [
114
+ "contradicts",
115
+ "parts_of_same",
116
+ "semantically_same",
117
+ "supports"
118
+ ]
119
+ },
120
+ "exclude_labels_per_layer": null,
121
+ "create_constraints": true,
122
+ "tokenizer_init_kwargs": {
123
+ "add_prefix_space": true
124
+ },
125
+ "tokenizer_kwargs": {
126
+ "truncation": true,
127
+ "return_overflowing_tokens": true,
128
+ "stride": 128,
129
+ "strict_span_conversion": false
130
+ },
131
+ "partition_layer_name": "labeled_partitions",
132
+ "annotation_field_mapping": null,
133
+ "log_first_n_examples": null
134
+ }
135
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db31bfc016d9f45838d5f6e9a6f9c0701e440838817c2997ef9c0f3938add1c4
3
+ size 567262654
taskmodule_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "taskmodule_type": "PointerNetworkTaskModuleForEnd2EndRE",
3
+ "tokenizer_name_or_path": "facebook/bart-base",
4
+ "document_type": "pytorch_ie.documents.TextDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions",
5
+ "tokenized_document_type": "pie_modules.documents.TokenDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions",
6
+ "relation_layer_name": "binary_relations",
7
+ "none_label": "none",
8
+ "loop_dummy_relation_name": "loop",
9
+ "constrained_generation": true,
10
+ "label_tokens": null,
11
+ "label_representations": null,
12
+ "labels_per_layer": {
13
+ "labeled_spans": [
14
+ "background_claim",
15
+ "data",
16
+ "own_claim"
17
+ ],
18
+ "binary_relations": [
19
+ "contradicts",
20
+ "parts_of_same",
21
+ "semantically_same",
22
+ "supports"
23
+ ]
24
+ },
25
+ "exclude_labels_per_layer": null,
26
+ "create_constraints": true,
27
+ "tokenizer_init_kwargs": {
28
+ "add_prefix_space": true
29
+ },
30
+ "tokenizer_kwargs": {
31
+ "truncation": true,
32
+ "return_overflowing_tokens": true,
33
+ "stride": 128,
34
+ "strict_span_conversion": false
35
+ },
36
+ "partition_layer_name": "labeled_partitions",
37
+ "annotation_field_mapping": null,
38
+ "log_first_n_examples": null
39
+ }