Fill-Mask
Transformers
Safetensors
English
mega
16384
16k
Inference Endpoints
pszemraj commited on
Commit
7715e3d
·
verified ·
1 Parent(s): d847cdf

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<SEP>": 50265
3
+ }
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "BEE-spoke-data/mega-enc-MKVs-L8-v0.8-dolma-xlong_16384",
3
+ "activation": "silu",
4
+ "add_lm_hidden_dense_layer": false,
5
+ "add_token_type_embeddings": true,
6
+ "architectures": [
7
+ "MegaForMaskedLM"
8
+ ],
9
+ "attention_activation": "softmax",
10
+ "attention_probs_dropout_prob": 0,
11
+ "bidirectional": true,
12
+ "bos_token_id": 0,
13
+ "chunk_size": 1024,
14
+ "classifier_dropout": null,
15
+ "dropout_prob": 0.05,
16
+ "ema_beta_range": 0.02,
17
+ "ema_delta_alpha_range": 0.2,
18
+ "ema_gamma_omega_range": 1.0,
19
+ "ema_projection_size": 32,
20
+ "eos_token_id": 2,
21
+ "hidden_dropout_prob": 0,
22
+ "hidden_size": 768,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 2304,
25
+ "max_positions": 16384,
26
+ "model_type": "mega",
27
+ "nffn_activation_dropout_prob": 0,
28
+ "nffn_hidden_size": 2304,
29
+ "norm_affine": true,
30
+ "normalization_type": "scalenorm",
31
+ "normalize_before_ffn": false,
32
+ "normalize_before_mega": false,
33
+ "num_attention_heads": 1,
34
+ "num_hidden_layers": 8,
35
+ "pad_token_id": 1,
36
+ "relative_positional_bias": "simple",
37
+ "sep_token_id": 2,
38
+ "shared_representation_size": 192,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.38.2",
41
+ "truncation": null,
42
+ "type_vocab_size": 2,
43
+ "use_cache": true,
44
+ "use_chunking": true,
45
+ "use_feature_dropout": false,
46
+ "use_normalized_ffn": true,
47
+ "vocab_size": 50304
48
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1acb34fbb0279191844c0fd0ca8c0dfd86f1633760b01a831f2a68a11515501
3
+ size 488057176
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "</s>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "50265": {
45
+ "content": "<SEP>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ }
52
+ },
53
+ "bos_token": "<s>",
54
+ "clean_up_tokenization_spaces": true,
55
+ "cls_token": "<s>",
56
+ "eos_token": "</s>",
57
+ "errors": "replace",
58
+ "mask_token": "<mask>",
59
+ "max_length": 16384,
60
+ "model_max_length": 16384,
61
+ "pad_to_multiple_of": 1024,
62
+ "pad_token": "<pad>",
63
+ "pad_token_type_id": 0,
64
+ "padding_side": "right",
65
+ "sep_token": "</s>",
66
+ "stride": 0,
67
+ "tokenizer_class": "BartTokenizer",
68
+ "trim_offsets": true,
69
+ "truncation_side": "right",
70
+ "truncation_strategy": "longest_first",
71
+ "unk_token": "</s>"
72
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff