lysandre HF staff commited on
Commit
479856d
1 Parent(s): c19075d

Upload model

Browse files
Files changed (2) hide show
  1. config.json +16 -19
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,29 +1,26 @@
1
  {
2
- "_name_or_path": "google/gemma-7b",
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": 8,
11
  "hidden_act": "gelu",
 
12
  "hidden_size": 32,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 2,
15
- "max_position_embeddings": 500,
16
- "model_type": "gemma",
17
- "num_attention_heads": 2,
18
- "num_hidden_layers": 1,
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": "float32",
25
- "transformers_version": "4.39.0.dev0",
 
26
  "use_cache": true,
27
- "vocab_size": 256000,
28
- "_attn_implementation": "eager"
29
  }
 
1
  {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-bert",
3
  "architectures": [
4
+ "BertModel"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
 
 
9
  "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
  "hidden_size": 32,
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 37,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 4,
18
+ "num_hidden_layers": 5,
19
  "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
 
 
21
  "torch_dtype": "float32",
22
+ "transformers_version": "4.45.0.dev0",
23
+ "type_vocab_size": 16,
24
  "use_cache": true,
25
+ "vocab_size": 1124
 
26
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:049f839dfbaaf81a9bf876984bc72d7e3261c3b6b7dd092246fe1d15c3037a8c
3
- size 32776472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71faa4ca9a571bb28c19c0094138b3a957a6ba753d910755dc9c916dd73207cf
3
+ size 360804