Upload LlamaForCausalLM
Browse files- config.json +31 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceTB/SmolLM2-135M",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 576,
|
12 |
+
"initializer_range": 0.041666666666666664,
|
13 |
+
"intermediate_size": 1536,
|
14 |
+
"is_llama_config": true,
|
15 |
+
"max_position_embeddings": 8192,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 9,
|
18 |
+
"num_hidden_layers": 30,
|
19 |
+
"num_key_value_heads": 3,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_interleaved": false,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 100000,
|
26 |
+
"tie_word_embeddings": true,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.31.0",
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 49152
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.31.0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37dfbf98638ea5d372aafd7c627c3fb514fa21bb7917f8dfeb7ffe765b3cf009
|
3 |
+
size 552953890
|