Upload 3 files
Browse files- config.json +86 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 1,
|
| 9 |
+
"compression_config": {
|
| 10 |
+
"config_groups": {
|
| 11 |
+
"group_0": {
|
| 12 |
+
"input_activations": null,
|
| 13 |
+
"output_activations": null,
|
| 14 |
+
"targets": [
|
| 15 |
+
"Linear"
|
| 16 |
+
],
|
| 17 |
+
"weights": {
|
| 18 |
+
"block_structure": null,
|
| 19 |
+
"dynamic": false,
|
| 20 |
+
"group_size": null,
|
| 21 |
+
"num_bits": 4,
|
| 22 |
+
"observer": "minmax",
|
| 23 |
+
"observer_kwargs": {},
|
| 24 |
+
"strategy": "channel",
|
| 25 |
+
"symmetric": true,
|
| 26 |
+
"type": "int"
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"kv_cache": {
|
| 30 |
+
"input_activations": null,
|
| 31 |
+
"output_activations": {
|
| 32 |
+
"block_structure": null,
|
| 33 |
+
"dynamic": false,
|
| 34 |
+
"group_size": null,
|
| 35 |
+
"num_bits": 8,
|
| 36 |
+
"observer": "minmax",
|
| 37 |
+
"observer_kwargs": {},
|
| 38 |
+
"strategy": "tensor",
|
| 39 |
+
"symmetric": true,
|
| 40 |
+
"type": "float"
|
| 41 |
+
},
|
| 42 |
+
"targets": [
|
| 43 |
+
"re:.*k_proj",
|
| 44 |
+
"re:.*v_proj"
|
| 45 |
+
],
|
| 46 |
+
"weights": null
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"format": "pack-quantized",
|
| 50 |
+
"global_compression_ratio": null,
|
| 51 |
+
"ignore": [],
|
| 52 |
+
"kv_cache_scheme": {
|
| 53 |
+
"block_structure": null,
|
| 54 |
+
"dynamic": false,
|
| 55 |
+
"group_size": null,
|
| 56 |
+
"num_bits": 8,
|
| 57 |
+
"observer": "minmax",
|
| 58 |
+
"observer_kwargs": {},
|
| 59 |
+
"strategy": "tensor",
|
| 60 |
+
"symmetric": true,
|
| 61 |
+
"type": "float"
|
| 62 |
+
},
|
| 63 |
+
"quant_method": "compressed-tensors",
|
| 64 |
+
"quantization_status": "calibration"
|
| 65 |
+
},
|
| 66 |
+
"eos_token_id": 2,
|
| 67 |
+
"hidden_act": "silu",
|
| 68 |
+
"hidden_size": 2048,
|
| 69 |
+
"initializer_range": 0.02,
|
| 70 |
+
"intermediate_size": 5632,
|
| 71 |
+
"max_position_embeddings": 2048,
|
| 72 |
+
"mlp_bias": false,
|
| 73 |
+
"model_type": "llama",
|
| 74 |
+
"num_attention_heads": 32,
|
| 75 |
+
"num_hidden_layers": 22,
|
| 76 |
+
"num_key_value_heads": 4,
|
| 77 |
+
"pretraining_tp": 1,
|
| 78 |
+
"rms_norm_eps": 1e-05,
|
| 79 |
+
"rope_scaling": null,
|
| 80 |
+
"rope_theta": 10000.0,
|
| 81 |
+
"tie_word_embeddings": false,
|
| 82 |
+
"torch_dtype": "float32",
|
| 83 |
+
"transformers_version": "4.42.0.dev0",
|
| 84 |
+
"use_cache": true,
|
| 85 |
+
"vocab_size": 32000
|
| 86 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"eos_token_id": 2,
|
| 4 |
+
"max_length": 2048,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.42.0.dev0"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efb296382c3fed58f7520fa1884f1165d16a9ee103bfa6732ecb6921975ceeea
|
| 3 |
+
size 781492288
|