Kasivs commited on
Commit
f7224b8
1 Parent(s): 484f9e1

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +28 -13
config.json CHANGED
@@ -1,13 +1,28 @@
1
- import json
2
-
3
- config = {
4
- "model_type": "bert",
5
- "hidden_size": 768,
6
- "num_attention_heads": 12,
7
- "num_hidden_layers": 12,
8
- "vocab_size": 30522,
9
- "max_position_embeddings": 512
10
- }
11
-
12
- with open("config.json", "w") as f:
13
- json.dump(config, f)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/gemma-2b",
3
+ "architectures": [
4
+ "GemmaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 2,
9
+ "eos_token_id": 1,
10
+ "head_dim": 256,
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 16384,
15
+ "max_position_embeddings": 8192,
16
+ "model_type": "gemma",
17
+ "num_attention_heads": 8,
18
+ "num_hidden_layers": 18,
19
+ "num_key_value_heads": 1,
20
+ "pad_token_id": 0,
21
+ "rms_norm_eps": 1e-06,
22
+ "rope_scaling": null,
23
+ "rope_theta": 10000.0,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.38.0",
26
+ "use_cache": true,
27
+ "vocab_size": 256000
28
+ }