sadeghjafari5079 commited on
Commit
b642990
·
verified ·
1 Parent(s): 2168507

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:c65b13757d8a60f9f9c9458b712da5ad1802f342a0e7de3fbc4468ca2fb0b75d
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": "PartAI/TookaBERT-Base",
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": "PartAI/TookaBERT-Base",
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:20cbda17c8a5c760f18336a910637cd8175549027a36a97d5caaf68c7d822682
3
+ size 2378212
aparsin_adapter.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder_model": "PartAI/TookaBERT-Base",
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": "PartAI/TookaBERT-Base",
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:20cbda17c8a5c760f18336a910637cd8175549027a36a97d5caaf68c7d822682
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,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "mask_token": {
17
+ "content": "<mask>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "pad_token": {
24
+ "content": "<pad>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "sep_token": {
31
+ "content": "</s>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "unk_token": {
38
+ "content": "<unk>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ }
44
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "</s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "eos_token": "</s>",
47
+ "extra_special_tokens": {},
48
+ "mask_token": "<mask>",
49
+ "max_length": null,
50
+ "model_input_names": [
51
+ "input_ids",
52
+ "attention_mask"
53
+ ],
54
+ "model_max_length": 512,
55
+ "pad_to_multiple_of": null,
56
+ "pad_token": "<pad>",
57
+ "pad_token_type_id": 0,
58
+ "padding_side": "right",
59
+ "sep_token": "</s>",
60
+ "tokenizer_class": "PreTrainedTokenizerFast",
61
+ "truncation_side": "right",
62
+ "unk_token": "<unk>"
63
+ }
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