Xenova HF staff commited on
Commit
39cf4d9
1 Parent(s): 6c0fb46

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nomic-ai/nomic-embed-text-v1-ablated",
3
+ "activation_function": "swiglu",
4
+ "architectures": [
5
+ "NomicBertModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "nomic-ai/nomic-embed-text-v1-ablated--configuration_hf_nomic_bert.NomicBertConfig",
10
+ "AutoModel": "nomic-ai/nomic-embed-text-v1-ablated--modeling_hf_nomic_bert.NomicBertModel"
11
+ },
12
+ "bos_token_id": null,
13
+ "causal": false,
14
+ "dense_seq_output": true,
15
+ "embd_pdrop": 0.0,
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
+ "mlp_fc1_bias": false,
22
+ "mlp_fc2_bias": false,
23
+ "model_type": "nomic_bert",
24
+ "n_embd": 768,
25
+ "n_head": 12,
26
+ "n_inner": 3072,
27
+ "n_layer": 12,
28
+ "n_positions": 8192,
29
+ "pad_vocab_size_multiple": 64,
30
+ "parallel_block": false,
31
+ "parallel_block_tied_norm": false,
32
+ "prenorm": false,
33
+ "qkv_proj_bias": false,
34
+ "reorder_and_upcast_attn": false,
35
+ "resid_pdrop": 0.0,
36
+ "rotary_emb_base": 1000,
37
+ "rotary_emb_fraction": 1.0,
38
+ "rotary_emb_interleaved": false,
39
+ "rotary_emb_scale_base": null,
40
+ "rotary_scaling_factor": null,
41
+ "scale_attn_by_inverse_layer_idx": false,
42
+ "scale_attn_weights": true,
43
+ "summary_activation": null,
44
+ "summary_first_dropout": 0.0,
45
+ "summary_proj_to_labels": true,
46
+ "summary_type": "cls_index",
47
+ "summary_use_proj": true,
48
+ "transformers_version": "4.37.2",
49
+ "type_vocab_size": 2,
50
+ "use_cache": true,
51
+ "use_flash_attn": true,
52
+ "use_rms_norm": false,
53
+ "use_xentropy": true,
54
+ "vocab_size": 30528
55
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e03ce5c7f23338dad56749efa838fcd2f354a6440c6d1bfdb49d00e783f1d7de
3
+ size 547552426
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da0dea6a4d0953bfcbab197e97ced09f69313976ad76980762fe7ff4d44d747
3
+ size 138355983
quantize_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Unsqueeze",
8
+ "Sqrt",
9
+ "ConstantOfShape",
10
+ "Softmax",
11
+ "Div",
12
+ "Range",
13
+ "Reshape",
14
+ "Sub",
15
+ "MatMul",
16
+ "Concat",
17
+ "Neg",
18
+ "Sin",
19
+ "Add",
20
+ "Einsum",
21
+ "Gather",
22
+ "ReduceMean",
23
+ "Mul",
24
+ "Cos",
25
+ "Constant",
26
+ "Equal",
27
+ "Where",
28
+ "Transpose",
29
+ "Shape",
30
+ "Pow",
31
+ "Expand",
32
+ "Cast",
33
+ "Slice",
34
+ "Sigmoid"
35
+ ],
36
+ "weight_type": "QInt8"
37
+ }
38
+ }
39
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "additional_special_tokens": [],
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff