deven367 commited on
Commit
67b25a9
1 Parent(s): 417d799

Upload OPTForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +29 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "babylm-10M-cbt-50-2048-bs16/new",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "OPTForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 2,
10
+ "do_layer_norm_before": true,
11
+ "dropout": 0.1,
12
+ "enable_bias": true,
13
+ "eos_token_id": 2,
14
+ "ffn_dim": 3072,
15
+ "hidden_size": 768,
16
+ "init_std": 0.02,
17
+ "layer_norm_elementwise_affine": true,
18
+ "layerdrop": 0.0,
19
+ "max_position_embeddings": 2048,
20
+ "model_type": "opt",
21
+ "num_attention_heads": 12,
22
+ "num_hidden_layers": 12,
23
+ "pad_token_id": 1,
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.34.1",
26
+ "use_cache": false,
27
+ "vocab_size": 50272,
28
+ "word_embed_proj_dim": 768
29
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.34.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0419927ff95053a21019f56b6343999712159ce5e98c05b6b455fad855bfa1dc
3
+ size 501018873