huseinzol05
commited on
Commit
•
36b2c48
1
Parent(s):
e940175
Upload LlamaForCausalLM
Browse files- config.json +39 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-360M-Instruct",
|
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 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 960,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 2560,
|
15 |
+
"is_llama_config": true,
|
16 |
+
"max_position_embeddings": 8192,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 15,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 5,
|
22 |
+
"pad_token_id": 2,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_interleaved": false,
|
26 |
+
"rope_scaling": null,
|
27 |
+
"rope_theta": 100000,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "bfloat16",
|
30 |
+
"transformers.js_config": {
|
31 |
+
"kv_cache_dtype": {
|
32 |
+
"fp16": "float16",
|
33 |
+
"q4f16": "float16"
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"transformers_version": "4.45.2",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 49152
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 2,
|
6 |
+
"transformers_version": "4.45.2"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c089cc3bbe42266d1045298739ba88a8acb31e11379377d5b92d232acad6daa
|
3 |
+
size 818046848
|