weijiezz commited on
Commit
b68d6a6
·
verified ·
1 Parent(s): 02af480

upload upload_llama_specblock

Browse files
Files changed (3) hide show
  1. config.json +90 -0
  2. model.safetensors +3 -0
  3. vocab_mapping.pt +3 -0
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 128256,
3
+ "max_position_embeddings": 2048,
4
+ "hidden_size": 4096,
5
+ "intermediate_size": 14336,
6
+ "num_hidden_layers": 2,
7
+ "num_attention_heads": 32,
8
+ "num_key_value_heads": 8,
9
+ "hidden_act": "silu",
10
+ "initializer_range": 0.02,
11
+ "rms_norm_eps": 1e-05,
12
+ "pretraining_tp": 1,
13
+ "use_cache": true,
14
+ "rope_theta": 10000.0,
15
+ "rope_scaling": null,
16
+ "attention_bias": false,
17
+ "attention_dropout": 0.0,
18
+ "mlp_bias": false,
19
+ "head_dim": 128,
20
+ "return_dict": true,
21
+ "output_hidden_states": false,
22
+ "torchscript": false,
23
+ "dtype": "float16",
24
+ "pruned_heads": {},
25
+ "tie_word_embeddings": false,
26
+ "chunk_size_feed_forward": 0,
27
+ "is_encoder_decoder": false,
28
+ "is_decoder": false,
29
+ "cross_attention_hidden_size": null,
30
+ "add_cross_attention": false,
31
+ "tie_encoder_decoder": false,
32
+ "architectures": [
33
+ "LlamaForCausalLMSpecBlockShift"
34
+ ],
35
+ "finetuning_task": null,
36
+ "id2label": {
37
+ "0": "LABEL_0",
38
+ "1": "LABEL_1"
39
+ },
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1
43
+ },
44
+ "task_specific_params": null,
45
+ "problem_type": null,
46
+ "tokenizer_class": null,
47
+ "prefix": null,
48
+ "bos_token_id": 128000,
49
+ "pad_token_id": 0,
50
+ "eos_token_id": 128001,
51
+ "sep_token_id": null,
52
+ "decoder_start_token_id": null,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "do_sample": false,
56
+ "early_stopping": false,
57
+ "num_beams": 1,
58
+ "temperature": 1.0,
59
+ "top_k": 50,
60
+ "top_p": 1.0,
61
+ "typical_p": 1.0,
62
+ "repetition_penalty": 1.0,
63
+ "length_penalty": 1.0,
64
+ "no_repeat_ngram_size": 0,
65
+ "encoder_no_repeat_ngram_size": 0,
66
+ "bad_words_ids": null,
67
+ "num_return_sequences": 1,
68
+ "output_scores": false,
69
+ "return_dict_in_generate": false,
70
+ "forced_bos_token_id": null,
71
+ "forced_eos_token_id": null,
72
+ "remove_invalid_values": false,
73
+ "exponential_decay_length_penalty": null,
74
+ "suppress_tokens": null,
75
+ "begin_suppress_tokens": null,
76
+ "num_beam_groups": 1,
77
+ "diversity_penalty": 0.0,
78
+ "_name_or_path": "",
79
+ "transformers_version": "4.57.6",
80
+ "model_type": "llama",
81
+ "draft_vocab_size": 32000,
82
+ "_comment_specblock_shift": "SpecBlock Shift specific parameters",
83
+ "diffspec_draft_token_num": 4,
84
+ "rank_classes": 4,
85
+ "tf_legacy_loss": false,
86
+ "use_bfloat16": false,
87
+ "attn_implementation": null,
88
+ "num_ttt_blocks": 3,
89
+ "output_attentions": false
90
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a934913d94dff83aa93c093e4288ab2a48e4ed0410ea9575f341117a6126f25a
3
+ size 1405587312
vocab_mapping.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b94a0e7004e17e4091cc85b4d9e9d1b9cf1469f2691a47b42dcb7c775752888
3
+ size 386413