ybelkada HF staff commited on
Commit
a85e6a0
1 Parent(s): a5a5584

Upload OPTForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +31 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-OPTForCausalLM",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "OPTForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 2,
10
+ "do_layer_norm_before": true,
11
+ "dropout": 0.1,
12
+ "embed_dim": 16,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4,
16
+ "hidden_size": 16,
17
+ "init_std": 0.02,
18
+ "is_decoder": true,
19
+ "layer_norm_elementwise_affine": true,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 100,
22
+ "model_type": "opt",
23
+ "num_attention_heads": 4,
24
+ "num_hidden_layers": 5,
25
+ "pad_token_id": 1,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.25.1",
28
+ "use_cache": true,
29
+ "vocab_size": 50265,
30
+ "word_embed_proj_dim": 16
31
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee6377f924933cd66859563e43d42db613abbd1ac2236213d858cb9b18cf2ec
3
+ size 3276269