lvwerra HF Staff commited on
Commit
ca21d84
·
verified ·
1 Parent(s): c28cfdc

Upload SmolLM3ForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +70 -0
  2. generation_config.json +12 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SmolLM3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 100,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 101,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 576,
12
+ "initializer_range": 0.041666666666666664,
13
+ "intermediate_size": 1536,
14
+ "layer_types": [
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention"
31
+ ],
32
+ "max_position_embeddings": 8192,
33
+ "max_window_layers": 28,
34
+ "mlp_bias": false,
35
+ "model_type": "smollm3",
36
+ "no_rope_layer_interval": 4,
37
+ "no_rope_layers": [
38
+ 1,
39
+ 1,
40
+ 1,
41
+ 0,
42
+ 1,
43
+ 1,
44
+ 1,
45
+ 0,
46
+ 1,
47
+ 1,
48
+ 1,
49
+ 0,
50
+ 1,
51
+ 1,
52
+ 1,
53
+ 0
54
+ ],
55
+ "num_attention_heads": 8,
56
+ "num_hidden_layers": 16,
57
+ "num_key_value_heads": 2,
58
+ "pad_token_id": 98,
59
+ "rms_norm_eps": 1e-06,
60
+ "rope_parameters": {
61
+ "rope_theta": 100000.0,
62
+ "rope_type": "default"
63
+ },
64
+ "sliding_window": null,
65
+ "tie_word_embeddings": true,
66
+ "transformers_version": "5.3.0",
67
+ "use_cache": false,
68
+ "use_sliding_window": false,
69
+ "vocab_size": 128
70
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 100,
4
+ "eos_token_id": [
5
+ 101
6
+ ],
7
+ "output_attentions": false,
8
+ "output_hidden_states": false,
9
+ "pad_token_id": 98,
10
+ "transformers_version": "5.3.0",
11
+ "use_cache": true
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c10b4d8d310cc3b94c4be7b3520f7b5d2e0968890596c1ec3d6d9697092d1a
3
+ size 111678328