sadeghjafari5079 commited on
Commit
1caa053
·
verified ·
1 Parent(s): d8d2082

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:45a1311d73273d1506e1b0d668f84f83f0aa9c35e4ce352ff407ef7d9da44ccc
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": "HooshvareLab/bert-fa-base-uncased",
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": "HooshvareLab/bert-fa-base-uncased",
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:5ba2d60d20329e7c75fd4486a952f1cccf9ac1102f3e2d68ca0837765160a358
3
+ size 2378212
aparsin_adapter.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder_model": "HooshvareLab/bert-fa-base-uncased",
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": "HooshvareLab/bert-fa-base-uncased",
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:5ba2d60d20329e7c75fd4486a952f1cccf9ac1102f3e2d68ca0837765160a358
3
+ size 2378212
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[MASK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
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