rockerritesh commited on
Commit
99da1b3
·
verified ·
1 Parent(s): 6bfe672

Upload gemma/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. gemma/config.json +85 -0
gemma/config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_sliding_window_pattern": 6,
3
+ "architectures": [
4
+ "Gemma3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": null,
9
+ "bos_token_id": 2,
10
+ "cache_implementation": "hybrid",
11
+ "dtype": "bfloat16",
12
+ "eos_token_id": [
13
+ 1,
14
+ 106
15
+ ],
16
+ "final_logit_softcapping": null,
17
+ "head_dim": 256,
18
+ "hidden_activation": "gelu_pytorch_tanh",
19
+ "hidden_size": 1152,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 6912,
22
+ "layer_types": [
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "sliding_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "full_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "full_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "full_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "sliding_attention"
49
+ ],
50
+ "max_position_embeddings": 32768,
51
+ "model_type": "gemma3_text",
52
+ "num_attention_heads": 4,
53
+ "num_hidden_layers": 26,
54
+ "num_key_value_heads": 1,
55
+ "pad_token_id": 0,
56
+ "query_pre_attn_scalar": 256,
57
+ "rms_norm_eps": 1e-06,
58
+ "rope_parameters": {
59
+ "full_attention": {
60
+ "rope_theta": 1000000,
61
+ "rope_type": "default"
62
+ },
63
+ "sliding_attention": {
64
+ "rope_theta": 10000,
65
+ "rope_type": "default"
66
+ }
67
+ },
68
+ "sliding_window": 512,
69
+ "sliding_window_pattern": 6,
70
+ "tie_word_embeddings": true,
71
+ "transformers_version": "5.3.0.dev0",
72
+ "use_bidirectional_attention": false,
73
+ "use_cache": true,
74
+ "vocab_size": 262144,
75
+ "transformers.js_config": {
76
+ "use_external_data_format": {
77
+ "model.onnx": 2,
78
+ "model": 1
79
+ },
80
+ "kv_cache_dtype": {
81
+ "q4f16": "float16",
82
+ "fp16": "float16"
83
+ }
84
+ }
85
+ }