Lakoc commited on
Commit
6cd0002
1 Parent(s): f9c9ff6

Upload model

Browse files
Files changed (3) hide show
  1. config.json +53 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "adapters": {
4
+ "adapters": {},
5
+ "config_map": {},
6
+ "fusion_config_map": {},
7
+ "fusions": {}
8
+ },
9
+ "architectures": [
10
+ "GPT2LMMultiHeadModel"
11
+ ],
12
+ "attn_pdrop": 0.1,
13
+ "bos_token_id": 50256,
14
+ "embd_pdrop": 0.1,
15
+ "eos_token_id": 50256,
16
+ "head_locations": [
17
+ 0,
18
+ 1,
19
+ 2,
20
+ 3,
21
+ 4
22
+ ],
23
+ "head_weights": [
24
+ 0.3,
25
+ 0.3,
26
+ 0.3,
27
+ 0.3,
28
+ 0.3,
29
+ 0.7
30
+ ],
31
+ "initializer_range": 0.02,
32
+ "layer_norm_epsilon": 1e-05,
33
+ "model_type": "gpt2-multi-head",
34
+ "n_embd": 512,
35
+ "n_head": 4,
36
+ "n_inner": null,
37
+ "n_layer": 6,
38
+ "n_positions": 1024,
39
+ "output_hidden_size": 512,
40
+ "reorder_and_upcast_attn": false,
41
+ "resid_pdrop": 0.1,
42
+ "scale_attn_by_inverse_layer_idx": false,
43
+ "scale_attn_weights": true,
44
+ "summary_activation": null,
45
+ "summary_first_dropout": 0.1,
46
+ "summary_proj_to_labels": true,
47
+ "summary_type": "cls_index",
48
+ "summary_use_proj": true,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.26.1",
51
+ "use_cache": true,
52
+ "vocab_size": 5000
53
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.26.1"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee04db0046c7cf362c0ba5003fd40d5b9ff07c3156a3fb96de7f736827b7ad5b
3
+ size 145518664