yasirdemircan commited on
Commit
7824fb0
·
verified ·
1 Parent(s): f5194bc

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +148 -0
config.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "all_docs": [
4
+ [
5
+ [
6
+ 0,
7
+ 5001,
8
+ 2
9
+ ],
10
+ [
11
+ 0,
12
+ 3897,
13
+ 2
14
+ ]
15
+ ],
16
+ [
17
+ [
18
+ 1,
19
+ 1,
20
+ 1
21
+ ],
22
+ [
23
+ 1,
24
+ 1,
25
+ 1
26
+ ]
27
+ ]
28
+ ],
29
+ "architectures": [
30
+ "FastFitTrainable"
31
+ ],
32
+ "clf_dim": 2,
33
+ "clf_doc": false,
34
+ "clf_factor": 0.1,
35
+ "clf_level": "cls",
36
+ "clf_loss_factor": 0.5,
37
+ "clf_query": true,
38
+ "encoder": {
39
+ "_name_or_path": "sentence-transformers/all-mpnet-base-v2",
40
+ "add_cross_attention": false,
41
+ "architectures": [
42
+ "MPNetForMaskedLM"
43
+ ],
44
+ "attention_probs_dropout_prob": 0.1,
45
+ "bad_words_ids": null,
46
+ "begin_suppress_tokens": null,
47
+ "bos_token_id": 0,
48
+ "chunk_size_feed_forward": 0,
49
+ "cross_attention_hidden_size": null,
50
+ "decoder_start_token_id": null,
51
+ "diversity_penalty": 0.0,
52
+ "do_sample": false,
53
+ "early_stopping": false,
54
+ "encoder_no_repeat_ngram_size": 0,
55
+ "eos_token_id": 2,
56
+ "exponential_decay_length_penalty": null,
57
+ "finetuning_task": null,
58
+ "forced_bos_token_id": null,
59
+ "forced_eos_token_id": null,
60
+ "hidden_act": "gelu",
61
+ "hidden_dropout_prob": 0.1,
62
+ "hidden_size": 768,
63
+ "id2label": {
64
+ "0": "LABEL_0",
65
+ "1": "LABEL_1"
66
+ },
67
+ "initializer_range": 0.02,
68
+ "intermediate_size": 3072,
69
+ "is_decoder": false,
70
+ "is_encoder_decoder": false,
71
+ "label2id": {
72
+ "LABEL_0": 0,
73
+ "LABEL_1": 1
74
+ },
75
+ "layer_norm_eps": 1e-05,
76
+ "length_penalty": 1.0,
77
+ "max_length": 20,
78
+ "max_position_embeddings": 514,
79
+ "min_length": 0,
80
+ "model_type": "mpnet",
81
+ "no_repeat_ngram_size": 0,
82
+ "num_attention_heads": 12,
83
+ "num_beam_groups": 1,
84
+ "num_beams": 1,
85
+ "num_hidden_layers": 12,
86
+ "num_return_sequences": 1,
87
+ "output_attentions": false,
88
+ "output_hidden_states": false,
89
+ "output_scores": false,
90
+ "pad_token_id": 1,
91
+ "prefix": null,
92
+ "problem_type": null,
93
+ "pruned_heads": {},
94
+ "relative_attention_num_buckets": 32,
95
+ "remove_invalid_values": false,
96
+ "repetition_penalty": 1.0,
97
+ "return_dict": true,
98
+ "return_dict_in_generate": false,
99
+ "sep_token_id": null,
100
+ "suppress_tokens": null,
101
+ "task_specific_params": null,
102
+ "temperature": 1.0,
103
+ "tf_legacy_loss": false,
104
+ "tie_encoder_decoder": false,
105
+ "tie_word_embeddings": true,
106
+ "tokenizer_class": null,
107
+ "top_k": 50,
108
+ "top_p": 1.0,
109
+ "torch_dtype": null,
110
+ "torchscript": false,
111
+ "transformers_version": "4.41.1",
112
+ "typical_p": 1.0,
113
+ "use_bfloat16": false,
114
+ "vocab_size": 30527
115
+ },
116
+ "encoder_dropout": null,
117
+ "encoding_type": "dual",
118
+ "hidden_size": 768,
119
+ "id2label": {
120
+ "0": "negative",
121
+ "1": "positive"
122
+ },
123
+ "inference_direction": "doc",
124
+ "inference_type": "sim",
125
+ "init_freeze": "all",
126
+ "label2id": {
127
+ "negative": 0,
128
+ "positive": 1
129
+ },
130
+ "length_norm": true,
131
+ "length_norm_at_inference": false,
132
+ "mask_prob": 0.0,
133
+ "mask_zeros_in_doc": false,
134
+ "mask_zeros_in_query": false,
135
+ "mlm_factor": 0.0,
136
+ "mlm_prob": 0.0,
137
+ "model_type": "FastFit",
138
+ "num_repeats": 4,
139
+ "pretrain_mode": false,
140
+ "proj_dim": 128,
141
+ "rep_tokens": "all",
142
+ "scores_temp": 0.07,
143
+ "sim_factor": 1.0,
144
+ "similarity_metric": "cosine",
145
+ "symetric_mode": true,
146
+ "torch_dtype": "float32",
147
+ "transformers_version": null
148
+ }