hf-transformers-bot commited on
Commit
8dd30be
·
verified ·
1 Parent(s): 2b74ff6

Update tiny models for OlmoHybridForCausalLM

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OlmoHybridForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "dtype": "float32",
9
+ "eos_token_id": 100257,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 32,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 32,
14
+ "is_decoder": true,
15
+ "layer_types": [
16
+ "linear_attention",
17
+ "full_attention"
18
+ ],
19
+ "linear_a_log_max": 16.0,
20
+ "linear_a_log_min": 0.0,
21
+ "linear_allow_neg_eigval": false,
22
+ "linear_conv_kernel_dim": 4,
23
+ "linear_dt_init_floor": 0.0001,
24
+ "linear_dt_max": 0.1,
25
+ "linear_dt_min": 0.001,
26
+ "linear_key_head_dim": 8,
27
+ "linear_num_key_heads": 4,
28
+ "linear_num_value_heads": 4,
29
+ "linear_value_head_dim": 8,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "olmo_hybrid",
32
+ "num_attention_heads": 2,
33
+ "num_hidden_layers": 2,
34
+ "num_key_value_heads": 2,
35
+ "pad_token_id": 100277,
36
+ "rms_norm_eps": 1e-06,
37
+ "rope_parameters": {
38
+ "rope_theta": 10000.0,
39
+ "rope_type": "default"
40
+ },
41
+ "tie_word_embeddings": false,
42
+ "transformers_version": "5.16.0.dev0",
43
+ "use_cache": true,
44
+ "vocab_size": 100278
45
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 100257,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "pad_token_id": 100277,
8
+ "transformers_version": "5.16.0.dev0",
9
+ "use_cache": true
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d05ec56bb8f2ca8870b9e4d5c92f2fc287c30cea3a6340a3a3bb8e050285f38
3
+ size 25739560
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
7
+ "is_local": true,
8
+ "local_files_only": false,
9
+ "model_max_length": 512,
10
+ "pad_token": "<|pad|>",
11
+ "tokenizer_class": "TokenizersBackend",
12
+ "unk_token": "<|endoftext|>"
13
+ }