linhphanff
commited on
Commit
•
14c5a26
1
Parent(s):
6e79123
Upload 2 files
Browse files- .gitattributes +1 -0
- config.json +57 -0
- model.safetensors +3 -0
.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "swiglu",
|
3 |
+
"architectures": [
|
4 |
+
"NomicBertForPreTraining"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "nomic-ai/nomic-bert-2048--configuration_hf_nomic_bert.NomicBertConfig",
|
9 |
+
"AutoModelForMaskedLM": "nomic-ai/nomic-bert-2048--modeling_hf_nomic_bert.NomicBertForPreTraining",
|
10 |
+
"AutoModelForSequenceClassification": "nomic-ai/nomic-bert-2048--modeling_hf_nomic_bert.NomicBertForSequenceClassification"
|
11 |
+
},
|
12 |
+
"bos_token_id": null,
|
13 |
+
"causal": false,
|
14 |
+
"dense_seq_output": true,
|
15 |
+
"embd_pdrop": 0.1,
|
16 |
+
"eos_token_id": null,
|
17 |
+
"fused_bias_fc": true,
|
18 |
+
"fused_dropout_add_ln": true,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"layer_norm_epsilon": 1e-12,
|
21 |
+
"max_trained_positions": 2048,
|
22 |
+
"mlp_fc1_bias": false,
|
23 |
+
"mlp_fc2_bias": false,
|
24 |
+
"model_type": "nomic_bert",
|
25 |
+
"n_embd": 768,
|
26 |
+
"n_head": 12,
|
27 |
+
"n_inner": 3072,
|
28 |
+
"n_layer": 12,
|
29 |
+
"n_positions": 128,
|
30 |
+
"pad_vocab_size_multiple": 64,
|
31 |
+
"parallel_block": false,
|
32 |
+
"parallel_block_tied_norm": false,
|
33 |
+
"prenorm": false,
|
34 |
+
"qkv_proj_bias": false,
|
35 |
+
"reorder_and_upcast_attn": false,
|
36 |
+
"resid_pdrop": 0.1,
|
37 |
+
"rotary_emb_base": 1000,
|
38 |
+
"rotary_emb_fraction": 1.0,
|
39 |
+
"rotary_emb_interleaved": false,
|
40 |
+
"rotary_emb_scale_base": null,
|
41 |
+
"rotary_scaling_factor": null,
|
42 |
+
"scale_attn_by_inverse_layer_idx": false,
|
43 |
+
"scale_attn_weights": true,
|
44 |
+
"summary_activation": null,
|
45 |
+
"summary_first_dropout": 0.1,
|
46 |
+
"summary_proj_to_labels": true,
|
47 |
+
"summary_type": "cls_index",
|
48 |
+
"summary_use_proj": true,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.38.2",
|
51 |
+
"type_vocab_size": 2,
|
52 |
+
"use_cache": true,
|
53 |
+
"use_flash_attn": true,
|
54 |
+
"use_rms_norm": false,
|
55 |
+
"use_xentropy": true,
|
56 |
+
"vocab_size": 62016
|
57 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c0510d101bef4b2d8ab4aa6f79d8a7be7e373361c3b68fc38c1727cd0b58c1e
|
3 |
+
size 646035648
|