Langlin Huang commited on
Commit ·
9bba71e
1
Parent(s): f566a78
upload model
Browse files- README.md +6 -3
- config.json +25 -0
- pytorch_model.bin +3 -0
README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is the PosS-2 model of the paper **PosS:Position Specialist Generates Better Draft for Speculative Decoding**
|
| 2 |
+
|
| 3 |
+
If the code fails to auto-download the models, you may mannually download the following files.
|
| 4 |
+
|
| 5 |
+
- `pytorch_model.bin`: Model weights
|
| 6 |
+
- `config.json`: Model config
|
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": 128000,
|
| 6 |
+
"eos_token_id": 128001,
|
| 7 |
+
"hidden_act": "silu",
|
| 8 |
+
"hidden_size": 4096,
|
| 9 |
+
"initializer_range": 0.02,
|
| 10 |
+
"intermediate_size": 14336,
|
| 11 |
+
"max_position_embeddings": 2048,
|
| 12 |
+
"model_type": "llama",
|
| 13 |
+
"num_attention_heads": 32,
|
| 14 |
+
"num_key_value_heads": 8,
|
| 15 |
+
"num_hidden_layers": 1,
|
| 16 |
+
"pad_token_id": 0,
|
| 17 |
+
"rms_norm_eps": 1e-05,
|
| 18 |
+
"tie_word_embeddings": false,
|
| 19 |
+
"torch_dtype": "float16",
|
| 20 |
+
"transformers_version": "4.28.1",
|
| 21 |
+
"use_cache": true,
|
| 22 |
+
"vocab_size": 128256,
|
| 23 |
+
"rope_theta": 500000.0,
|
| 24 |
+
"bias": true
|
| 25 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e39e5aa4d847647288f5fb4b2c4c0c881b4364e1d25bcb525a9dfc32f45ba601
|
| 3 |
+
size 5725321327
|