bilelomrani
commited on
Commit
•
43a1969
1
Parent(s):
ea3b4d5
Upload LlamaForCausalLM
Browse files- config.json +25 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 32,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 32,
|
11 |
+
"max_position_embeddings": 512,
|
12 |
+
"model_type": "llama",
|
13 |
+
"num_attention_heads": 2,
|
14 |
+
"num_hidden_layers": 2,
|
15 |
+
"num_key_value_heads": 2,
|
16 |
+
"pretraining_tp": 1,
|
17 |
+
"rms_norm_eps": 1e-06,
|
18 |
+
"rope_scaling": null,
|
19 |
+
"rope_theta": 10000.0,
|
20 |
+
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.33.2",
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 1024
|
25 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.33.2"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5d46196c630335d55387354fd94b6f21dc149cb2172246b613fa3973fe22da2
|
3 |
+
size 326768
|