birgermoell
commited on
Commit
•
04d5605
1
Parent(s):
6793457
Upload OlmoForCausalLM
Browse files- config.json +29 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "allenai/OLMo-1B-hf",
|
3 |
+
"architectures": [
|
4 |
+
"OlmoForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 50280,
|
9 |
+
"clip_qkv": null,
|
10 |
+
"eos_token_id": 50281,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 8192,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"model_type": "olmo",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 16,
|
19 |
+
"num_key_value_heads": 16,
|
20 |
+
"pad_token_id": 50281,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
+
"tie_word_embeddings": true,
|
25 |
+
"torch_dtype": "float16",
|
26 |
+
"transformers_version": "4.40.1",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 50282
|
29 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50280,
|
4 |
+
"eos_token_id": 50281,
|
5 |
+
"pad_token_id": 50281,
|
6 |
+
"transformers_version": "4.40.1"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7bf66a317ee409c700897ce78010562aa44f46f283092540baafbb2fab82c466
|
3 |
+
size 2353451632
|