filipignijic commited on
Commit
b13f0c5
1 Parent(s): f0de1be

Upload ActivationsGPTNeoForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +41 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "c:\\Users\\Filip\\Documents\\School\\Delft\\Research project\\results\\upload\\GPT-PReLU",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "ActivationsGPTNeoForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "attention_layers": [
9
+ "global",
10
+ "local"
11
+ ],
12
+ "attention_types": [
13
+ [
14
+ [
15
+ "global",
16
+ "local"
17
+ ],
18
+ 1
19
+ ]
20
+ ],
21
+ "bos_token_id": 50256,
22
+ "classifier_dropout": 0.1,
23
+ "custom_activation": "prelu",
24
+ "embed_dropout": 0.0,
25
+ "eos_token_id": 50256,
26
+ "hidden_size": 512,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 1024,
29
+ "layer_norm_epsilon": 1e-05,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "activations_gpt_neo",
32
+ "num_heads": 4,
33
+ "num_layers": 2,
34
+ "pad_token_id": 0,
35
+ "resid_dropout": 0.0,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.26.1",
38
+ "use_cache": true,
39
+ "vocab_size": 10000,
40
+ "window_size": 256
41
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.26.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e36190f9b206a129635412216c214d84f8e399c840f7110566c59bd374b7fbf6
3
+ size 38886682