sadeghjafari5079 commited on
Commit
f0f4a4e
·
verified ·
1 Parent(s): 3486e1c

Upload best adapter checkpoint

Browse files
adapter/adapter.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb0be5fc0e8dcee925553b61b9a03bb79c4b2e5fcadc1198b11abe65ad18505d
3
+ size 3584584
adapter/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "adapter_residual_before_ln": false,
4
+ "cross_adapter": false,
5
+ "dropout": 0.0,
6
+ "factorized_phm_W": true,
7
+ "factorized_phm_rule": false,
8
+ "hypercomplex_nonlinearity": "glorot-uniform",
9
+ "init_weights": "bert",
10
+ "init_weights_seed": null,
11
+ "inv_adapter": null,
12
+ "inv_adapter_reduction_factor": null,
13
+ "is_parallel": false,
14
+ "learn_phm": true,
15
+ "leave_out": [],
16
+ "ln_after": false,
17
+ "ln_before": false,
18
+ "mh_adapter": false,
19
+ "non_linearity": "relu",
20
+ "original_ln_after": true,
21
+ "original_ln_before": true,
22
+ "output_adapter": true,
23
+ "phm_bias": true,
24
+ "phm_c_init": "normal",
25
+ "phm_dim": 4,
26
+ "phm_init_range": 0.0001,
27
+ "phm_layer": false,
28
+ "phm_rank": 1,
29
+ "reduction_factor": 16,
30
+ "residual_before_ln": true,
31
+ "scaling": 1.0,
32
+ "shared_W_phm": false,
33
+ "shared_phm_rule": true,
34
+ "stochastic_depth": 0.0,
35
+ "use_gating": false
36
+ },
37
+ "hidden_size": 768,
38
+ "model_class": "RobertaAdapterModel",
39
+ "model_name": "roberta-base",
40
+ "model_type": "roberta",
41
+ "name": "ktc_topic",
42
+ "version": "adapters.1.3.0"
43
+ }
adapter/head_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "tanh",
4
+ "bias": true,
5
+ "dropout_prob": null,
6
+ "head_type": "classification",
7
+ "label2id": {
8
+ "economy": 0,
9
+ "genocide": 1,
10
+ "geography": 2,
11
+ "history": 3,
12
+ "human-rights": 4,
13
+ "kurdish": 5,
14
+ "kurdology": 6,
15
+ "philosophy": 7,
16
+ "physics": 8,
17
+ "social-study": 9,
18
+ "sociology": 10,
19
+ "theology": 11
20
+ },
21
+ "layers": 2,
22
+ "num_labels": 12,
23
+ "use_pooler": false
24
+ },
25
+ "hidden_size": 768,
26
+ "model_class": "RobertaAdapterModel",
27
+ "model_name": "roberta-base",
28
+ "model_type": "roberta",
29
+ "name": "ktc_topic",
30
+ "version": "adapters.1.3.0"
31
+ }
adapter/model_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:124155b27f7c3573b13b63b017bdacca4d952319b0de85456c78374f56e64a41
3
+ size 2399640
aparsin_adapter.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder_model": "roberta-base",
3
+ "format_version": 1,
4
+ "id2label": {
5
+ "0": "economy",
6
+ "1": "genocide",
7
+ "10": "sociology",
8
+ "11": "theology",
9
+ "2": "geography",
10
+ "3": "history",
11
+ "4": "human-rights",
12
+ "5": "kurdish",
13
+ "6": "kurdology",
14
+ "7": "philosophy",
15
+ "8": "physics",
16
+ "9": "social-study"
17
+ },
18
+ "task_name": "ktc_topic",
19
+ "task_type": "sequence"
20
+ }
head/head_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "tanh",
4
+ "bias": true,
5
+ "dropout_prob": null,
6
+ "head_type": "classification",
7
+ "label2id": {
8
+ "economy": 0,
9
+ "genocide": 1,
10
+ "geography": 2,
11
+ "history": 3,
12
+ "human-rights": 4,
13
+ "kurdish": 5,
14
+ "kurdology": 6,
15
+ "philosophy": 7,
16
+ "physics": 8,
17
+ "social-study": 9,
18
+ "sociology": 10,
19
+ "theology": 11
20
+ },
21
+ "layers": 2,
22
+ "num_labels": 12,
23
+ "use_pooler": false
24
+ },
25
+ "hidden_size": 768,
26
+ "model_class": "RobertaAdapterModel",
27
+ "model_name": "roberta-base",
28
+ "model_type": "roberta",
29
+ "name": "ktc_topic",
30
+ "version": "adapters.1.3.0"
31
+ }
head/model_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:124155b27f7c3573b13b63b017bdacca4d952319b0de85456c78374f56e64a41
3
+ size 2399640
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff