Upload LlamaForCausalLM
Browse files- config.json +48 -0
- generation_config.json +4 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "PY007/TinyLlama-1.1B-Chat-v0.3",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 2048,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 5632,
|
13 |
+
"max_position_embeddings": 2048,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 22,
|
17 |
+
"num_key_value_heads": 4,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"quantization_config": {
|
20 |
+
"batch_size": 1,
|
21 |
+
"bits": 4,
|
22 |
+
"block_name_to_quantize": "model.layers",
|
23 |
+
"damp_percent": 0.1,
|
24 |
+
"dataset": "c4",
|
25 |
+
"desc_act": false,
|
26 |
+
"disable_exllama": false,
|
27 |
+
"group_size": 128,
|
28 |
+
"max_input_length": null,
|
29 |
+
"model_seqlen": 2048,
|
30 |
+
"module_name_preceding_first_block": [
|
31 |
+
"model.embed_tokens"
|
32 |
+
],
|
33 |
+
"pad_token_id": null,
|
34 |
+
"quant_method": "gptq",
|
35 |
+
"sym": true,
|
36 |
+
"tokenizer": null,
|
37 |
+
"true_sequential": true,
|
38 |
+
"use_cuda_fp16": true
|
39 |
+
},
|
40 |
+
"rms_norm_eps": 1e-05,
|
41 |
+
"rope_scaling": null,
|
42 |
+
"rope_theta": 10000.0,
|
43 |
+
"tie_word_embeddings": false,
|
44 |
+
"torch_dtype": "float16",
|
45 |
+
"transformers_version": "4.34.0",
|
46 |
+
"use_cache": false,
|
47 |
+
"vocab_size": 32003
|
48 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_new_tokens": 32,
|
3 |
+
"transformers_version": "4.34.0"
|
4 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef4c62f59e25a664332371901b86ad817c33c46590a0037c732d3b1e55d37341
|
3 |
+
size 768345169
|