ybelkada HF staff commited on
Commit
eea4deb
1 Parent(s): 00577ae

Upload GPTJForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +34 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-GPTJForCausalLM",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPTJForCausalLM"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "attn_pdrop": 0.0,
9
+ "bos_token_id": 0,
10
+ "embd_pdrop": 0.0,
11
+ "eos_token_id": 0,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 37,
16
+ "is_decoder": true,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "gptj",
19
+ "n_embd": 32,
20
+ "n_head": 4,
21
+ "n_inner": null,
22
+ "n_layer": 5,
23
+ "n_positions": 512,
24
+ "pad_token_id": 1023,
25
+ "resid_pdrop": 0.0,
26
+ "rotary_dim": 4,
27
+ "scale_attn_weights": true,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.25.1",
31
+ "type_vocab_size": 16,
32
+ "use_cache": true,
33
+ "vocab_size": 1024
34
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fec48a8aaf944558b373ab6d01aab041082f15bfe471f226d8d1d8b67a7dc7d
3
+ size 1847348