Upload LlamaForCausalLM
Browse files- config.json +55 -0
- generation_config.json +14 -0
- model-00001-of-00010.safetensors +3 -0
- model-00002-of-00010.safetensors +3 -0
- model-00003-of-00010.safetensors +3 -0
- model-00004-of-00010.safetensors +3 -0
- model-00005-of-00010.safetensors +3 -0
- model-00006-of-00010.safetensors +3 -0
- model-00007-of-00010.safetensors +3 -0
- model-00008-of-00010.safetensors +3 -0
- model-00009-of-00010.safetensors +3 -0
- model-00010-of-00010.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "meta-llama/Llama-3.3-70B-Instruct",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 128000,
|
| 9 |
+
"eos_token_id": [
|
| 10 |
+
128001,
|
| 11 |
+
128008,
|
| 12 |
+
128009
|
| 13 |
+
],
|
| 14 |
+
"head_dim": 128,
|
| 15 |
+
"hidden_act": "silu",
|
| 16 |
+
"hidden_size": 8192,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 28672,
|
| 19 |
+
"max_position_embeddings": 131072,
|
| 20 |
+
"mlp_bias": false,
|
| 21 |
+
"model_type": "llama",
|
| 22 |
+
"num_attention_heads": 64,
|
| 23 |
+
"num_hidden_layers": 80,
|
| 24 |
+
"num_key_value_heads": 8,
|
| 25 |
+
"pretraining_tp": 1,
|
| 26 |
+
"quantization_config": {
|
| 27 |
+
"_load_in_4bit": true,
|
| 28 |
+
"_load_in_8bit": false,
|
| 29 |
+
"bnb_4bit_compute_dtype": "float16",
|
| 30 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 31 |
+
"bnb_4bit_quant_type": "nf4",
|
| 32 |
+
"bnb_4bit_use_double_quant": false,
|
| 33 |
+
"llm_int8_enable_fp32_cpu_offload": true,
|
| 34 |
+
"llm_int8_has_fp16_weight": false,
|
| 35 |
+
"llm_int8_skip_modules": null,
|
| 36 |
+
"llm_int8_threshold": 6.0,
|
| 37 |
+
"load_in_4bit": true,
|
| 38 |
+
"load_in_8bit": false,
|
| 39 |
+
"quant_method": "bitsandbytes"
|
| 40 |
+
},
|
| 41 |
+
"rms_norm_eps": 1e-05,
|
| 42 |
+
"rope_scaling": {
|
| 43 |
+
"factor": 8.0,
|
| 44 |
+
"high_freq_factor": 4.0,
|
| 45 |
+
"low_freq_factor": 1.0,
|
| 46 |
+
"original_max_position_embeddings": 8192,
|
| 47 |
+
"rope_type": "llama3"
|
| 48 |
+
},
|
| 49 |
+
"rope_theta": 500000.0,
|
| 50 |
+
"tie_word_embeddings": false,
|
| 51 |
+
"torch_dtype": "float32",
|
| 52 |
+
"transformers_version": "4.48.0",
|
| 53 |
+
"use_cache": false,
|
| 54 |
+
"vocab_size": 128256
|
| 55 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attn_implementation": "sdpa",
|
| 3 |
+
"bos_token_id": 128000,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
128001,
|
| 7 |
+
128008,
|
| 8 |
+
128009
|
| 9 |
+
],
|
| 10 |
+
"temperature": 0.6,
|
| 11 |
+
"top_p": 0.9,
|
| 12 |
+
"transformers_version": "4.48.0",
|
| 13 |
+
"use_cache": false
|
| 14 |
+
}
|
model-00001-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaee6cdb2157743caa342bf63b13ba1ed85ee9931b31415c0abae74d09349395
|
| 3 |
+
size 4901117360
|
model-00002-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d24b1e0791b7745ef646fdc6d57e42049a97c32f5e858e3e8c9e5b39be20073
|
| 3 |
+
size 4945784446
|
model-00003-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc47349bca01eb12ba33c8cca9936576266fe1fd330839fe7d808b77897ba9c6
|
| 3 |
+
size 4993038201
|
model-00004-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:056ba1112396fb64a0f7a1e86d5bf97bffd79167ee45749c704f43fd9261848c
|
| 3 |
+
size 4983534039
|
model-00005-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baa1ec58ca1f8469cbe50938d123d5cf79e51aa4f296e30f24b315d53f89cbe3
|
| 3 |
+
size 4945784694
|
model-00006-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da5367f74ad47c41fa0aff5c05d940cc118a7224a9d15f00e983fbd726b34531
|
| 3 |
+
size 4993038201
|
model-00007-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35c29dc3a08cbd957f110beef4f56a3fee9bc2aa6347917259c6b75f81428f6e
|
| 3 |
+
size 4983534039
|
model-00008-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cad663d24c29a383f4b0e20872b134a2dbb0f96dc28bdcaa9d3fe7c412409142
|
| 3 |
+
size 4945784694
|
model-00009-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78b093f27cc02cc8a28686980b94df87432c6cbac6a4f076cf786d38bc6372da
|
| 3 |
+
size 3020417878
|
model-00010-of-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:810de53409a2adb55b1de7e4384e90f3856e53227b57b8f97826efb5b249e7f8
|
| 3 |
+
size 4202692736
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|