sadeghjafari5079 commited on
Commit
9e6e9db
·
verified ·
1 Parent(s): ba79bc0

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:6c5548b3b119df7b82d24061638951060432bf0e18174b646400e47bf4780da5
3
+ size 3585640
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": "BertAdapterModel",
39
+ "model_name": "google-bert/bert-base-multilingual-cased",
40
+ "model_type": "bert",
41
+ "name": "PashtuTextSentimentAnalysisDataset",
42
+ "version": "adapters.1.3.0"
43
+ }
adapter/head_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "tanh",
4
+ "bias": true,
5
+ "dropout_prob": null,
6
+ "head_type": "classification",
7
+ "label2id": {
8
+ "ambiguous": 0,
9
+ "mixed": 1,
10
+ "negative": 2,
11
+ "neutral": 3,
12
+ "positive": 4
13
+ },
14
+ "layers": 2,
15
+ "num_labels": 5,
16
+ "use_pooler": false
17
+ },
18
+ "hidden_size": 768,
19
+ "model_class": "BertAdapterModel",
20
+ "model_name": "google-bert/bert-base-multilingual-cased",
21
+ "model_type": "bert",
22
+ "name": "PashtuTextSentimentAnalysisDataset",
23
+ "version": "adapters.1.3.0"
24
+ }
adapter/model_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f423870df6b3158469319c2aa8a67a414a523b394a7ca2bbfabd00f74826994b
3
+ size 2378212
aparsin_adapter.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder_model": "google-bert/bert-base-multilingual-cased",
3
+ "format_version": 1,
4
+ "id2label": {
5
+ "0": "ambiguous",
6
+ "1": "mixed",
7
+ "2": "negative",
8
+ "3": "neutral",
9
+ "4": "positive"
10
+ },
11
+ "task_name": "PashtuTextSentimentAnalysisDataset",
12
+ "task_type": "sequence"
13
+ }
head/head_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "activation_function": "tanh",
4
+ "bias": true,
5
+ "dropout_prob": null,
6
+ "head_type": "classification",
7
+ "label2id": {
8
+ "ambiguous": 0,
9
+ "mixed": 1,
10
+ "negative": 2,
11
+ "neutral": 3,
12
+ "positive": 4
13
+ },
14
+ "layers": 2,
15
+ "num_labels": 5,
16
+ "use_pooler": false
17
+ },
18
+ "hidden_size": 768,
19
+ "model_class": "BertAdapterModel",
20
+ "model_name": "google-bert/bert-base-multilingual-cased",
21
+ "model_type": "bert",
22
+ "name": "PashtuTextSentimentAnalysisDataset",
23
+ "version": "adapters.1.3.0"
24
+ }
head/model_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f423870df6b3158469319c2aa8a67a414a523b394a7ca2bbfabd00f74826994b
3
+ size 2378212
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
vocab.txt ADDED
The diff for this file is too large to render. See raw diff