feat-add-configs (#18)
Browse files- Add model configs and tokenizer files (6c468c3dd03167c546da93a17669eccfe4c59450)
- fix:remove tokenizer files (ee3d7db165fdec3402553ce7292622aef69703a3)
- config.json +40 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "jinaai/jina-bert-flash-implementation",
|
3 |
+
"auto_map": {
|
4 |
+
"AutoConfig": "jinaai/jina-bert-flash-implementation--configuration_bert.JinaBertConfig",
|
5 |
+
"AutoModel": "jinaai/jina-bert-flash-implementation--modeling_bert.BertModel",
|
6 |
+
"AutoModelForPreTraining": "jinaai/jina-bert-flash-implementation--modeling_bert.BertForPreTraining",
|
7 |
+
"AutoModelForMaskedLM": "jinaai/jina-bert-flash-implementation--modeling_bert.BertForPreTraining"
|
8 |
+
},
|
9 |
+
"attention_probs_dropout_prob": 0.1,
|
10 |
+
"classifier_dropout": null,
|
11 |
+
"dense_seq_output": false,
|
12 |
+
"emb_pooler": null,
|
13 |
+
"fused_bias_fc": false,
|
14 |
+
"fused_dropout_add_ln": false,
|
15 |
+
"hidden_act": "gelu",
|
16 |
+
"hidden_dropout_prob": 0.1,
|
17 |
+
"hidden_size": 768,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"last_layer_subset": false,
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"mlp_checkpoint_lvl": 0,
|
23 |
+
"mlp_type": "glu",
|
24 |
+
"model_type": "bert",
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"num_loras": 5,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"pad_vocab_size_multiple": 1,
|
30 |
+
"torch_dtype": "float16",
|
31 |
+
"transformers_version": "4.39.3",
|
32 |
+
"type_vocab_size": 2,
|
33 |
+
"use_flash_attn": true,
|
34 |
+
"use_qk_norm": false,
|
35 |
+
"vocab_size": 30528,
|
36 |
+
"window_size": [
|
37 |
+
-1,
|
38 |
+
-1
|
39 |
+
]
|
40 |
+
}
|