Yuehao commited on
Commit
d8dc963
·
verified ·
1 Parent(s): f10efb1

Upload folder using huggingface_hub

Browse files
LLaDA-gpt2-355M-Base/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<|mdm_mask|>": 50257
3
+ }
LLaDA-gpt2-355M-Base/config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_type": "silu",
3
+ "alibi": false,
4
+ "alibi_bias_max": 8.0,
5
+ "architectures": [
6
+ "LLaDAModelLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "attention_layer_norm": false,
10
+ "attention_layer_norm_with_affine": true,
11
+ "auto_map": {
12
+ "AutoConfig": "configuration_llada.LLaDAConfig",
13
+ "AutoModelForCausalLM": "modeling_llada.LLaDAModelLM",
14
+ "AutoModel": "modeling_llada.LLaDAModelLM"
15
+ },
16
+ "bias_for_layer_norm": false,
17
+ "block_group_size": 1,
18
+ "block_type": "llama",
19
+ "d_model": 1024,
20
+ "embedding_dropout": 0.0,
21
+ "embedding_size": 50304,
22
+ "eos_token_id": 50256,
23
+ "flash_attention": false,
24
+ "include_bias": false,
25
+ "include_qkv_bias": false,
26
+ "init_cutoff_factor": null,
27
+ "init_device": "meta",
28
+ "init_fn": "mitchell",
29
+ "init_std": 0.02,
30
+ "input_emb_norm": false,
31
+ "layer_norm_type": "rms",
32
+ "layer_norm_with_affine": true,
33
+ "mask_token_id": 50257,
34
+ "max_sequence_length": 4096,
35
+ "mlp_hidden_size": 4096,
36
+ "mlp_ratio": 4,
37
+ "model_type": "llada",
38
+ "multi_query_attention": null,
39
+ "n_heads": 16,
40
+ "n_kv_heads": 16,
41
+ "n_layers": 15,
42
+ "pad_token_id": 50256,
43
+ "precision": "amp_bf16",
44
+ "residual_dropout": 0.0,
45
+ "rms_norm_eps": 1e-05,
46
+ "rope": true,
47
+ "rope_full_precision": true,
48
+ "rope_theta": 500000.0,
49
+ "scale_logits": false,
50
+ "transformers_version": "4.46.3",
51
+ "use_cache": false,
52
+ "vocab_size": 50304,
53
+ "weight_tying": false
54
+ }
LLaDA-gpt2-355M-Base/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 126080,
4
+ "eos_token_id": 126081,
5
+ "transformers_version": "4.38.2"
6
+ }
LLaDA-gpt2-355M-Base/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
LLaDA-gpt2-355M-Base/special_tokens_map.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "mask_token": {
5
+ "content": "<|mdm_mask|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "pad_token": "<|endoftext|>",
12
+ "unk_token": "<|endoftext|>"
13
+ }
LLaDA-gpt2-355M-Base/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
LLaDA-gpt2-355M-Base/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "50257": {
13
+ "content": "<|mdm_mask|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|endoftext|>",
22
+ "clean_up_tokenization_spaces": false,
23
+ "eos_token": "<|endoftext|>",
24
+ "extra_special_tokens": {},
25
+ "mask_token": "<|mdm_mask|>",
26
+ "model_max_length": 1024,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "GPT2Tokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
LLaDA-gpt2-355M-Base/vocab.json ADDED
The diff for this file is too large to render. See raw diff