Upload LlamaForCausalLM
Browse files- config.json +54 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "NousResearch/Llama-2-13b-chat-hf",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 1,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 5120,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 13824,
|
| 14 |
+
"max_position_embeddings": 4096,
|
| 15 |
+
"model_type": "llama",
|
| 16 |
+
"num_attention_heads": 40,
|
| 17 |
+
"num_hidden_layers": 40,
|
| 18 |
+
"num_key_value_heads": 40,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"pretraining_tp": 1,
|
| 21 |
+
"quantization_config": {
|
| 22 |
+
"batch_size": 1,
|
| 23 |
+
"bits": 4,
|
| 24 |
+
"block_name_to_quantize": null,
|
| 25 |
+
"cache_block_outputs": true,
|
| 26 |
+
"damp_percent": 0.01,
|
| 27 |
+
"dataset": [
|
| 28 |
+
"auto-gptq is an easy-to-use model quantization library with user-friendly apis, based on GPTQ algorithm."
|
| 29 |
+
],
|
| 30 |
+
"desc_act": false,
|
| 31 |
+
"exllama_config": {
|
| 32 |
+
"version": 1
|
| 33 |
+
},
|
| 34 |
+
"group_size": 128,
|
| 35 |
+
"max_input_length": null,
|
| 36 |
+
"model_seqlen": null,
|
| 37 |
+
"module_name_preceding_first_block": null,
|
| 38 |
+
"pad_token_id": null,
|
| 39 |
+
"quant_method": "gptq",
|
| 40 |
+
"sym": true,
|
| 41 |
+
"tokenizer": null,
|
| 42 |
+
"true_sequential": true,
|
| 43 |
+
"use_cuda_fp16": false,
|
| 44 |
+
"use_exllama": true
|
| 45 |
+
},
|
| 46 |
+
"rms_norm_eps": 1e-05,
|
| 47 |
+
"rope_scaling": null,
|
| 48 |
+
"rope_theta": 10000.0,
|
| 49 |
+
"tie_word_embeddings": false,
|
| 50 |
+
"torch_dtype": "float16",
|
| 51 |
+
"transformers_version": "4.36.2",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 32000
|
| 54 |
+
}
|
model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75cab563e863a12d53145377b8d0a7adbc8bf12e4747ce28e8a02c41fc9fae39
|
| 3 |
+
size 4991476560
|
model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c1a56ae0422cc8b6d8913543fa7c48a09e4a3e82d54e8adb51a3742fb82d441
|
| 3 |
+
size 2267958280
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|