Sigurdur commited on
Commit
e2a9ede
·
1 Parent(s): 8c5e8c3

Upload model

Browse files
Files changed (3) hide show
  1. config.json +8 -16
  2. generation_config.json +3 -4
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,26 +1,24 @@
1
  {
2
- "_name_or_path": "jonfd/gpt2-igc-is",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
6
  ],
7
- "attn_pdrop": 0.0,
8
- "bos_token_id": 50256,
9
- "do_sample": true,
10
- "embd_pdrop": 0.0,
11
- "eos_token_id": 50256,
12
  "initializer_range": 0.02,
13
  "layer_norm_epsilon": 1e-05,
14
- "max_length": 50,
15
  "model_type": "gpt2",
16
- "n_ctx": 1024,
17
  "n_embd": 768,
18
  "n_head": 12,
19
  "n_inner": null,
20
  "n_layer": 12,
21
  "n_positions": 1024,
22
  "reorder_and_upcast_attn": false,
23
- "resid_pdrop": 0.0,
24
  "scale_attn_by_inverse_layer_idx": false,
25
  "scale_attn_weights": true,
26
  "summary_activation": null,
@@ -28,14 +26,8 @@
28
  "summary_proj_to_labels": true,
29
  "summary_type": "cls_index",
30
  "summary_use_proj": true,
31
- "task_specific_params": {
32
- "text-generation": {
33
- "do_sample": true,
34
- "max_length": 50
35
- }
36
- },
37
  "torch_dtype": "float32",
38
  "transformers_version": "4.37.0.dev0",
39
  "use_cache": true,
40
- "vocab_size": 51000
41
  }
 
1
  {
2
+ "_name_or_path": "models/jonas-hallgrimsson-gpt2/checkpoint-5000",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
6
  ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 51000,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 51000,
 
11
  "initializer_range": 0.02,
12
  "layer_norm_epsilon": 1e-05,
 
13
  "model_type": "gpt2",
14
+ "n_ctx": 512,
15
  "n_embd": 768,
16
  "n_head": 12,
17
  "n_inner": null,
18
  "n_layer": 12,
19
  "n_positions": 1024,
20
  "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
  "scale_attn_by_inverse_layer_idx": false,
23
  "scale_attn_weights": true,
24
  "summary_activation": null,
 
26
  "summary_proj_to_labels": true,
27
  "summary_type": "cls_index",
28
  "summary_use_proj": true,
 
 
 
 
 
 
29
  "torch_dtype": "float32",
30
  "transformers_version": "4.37.0.dev0",
31
  "use_cache": true,
32
+ "vocab_size": 51001
33
  }
generation_config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "do_sample": true,
5
- "eos_token_id": 50256,
6
- "max_length": 50,
7
  "transformers_version": "4.37.0.dev0"
8
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 51000,
4
+ "eos_token_id": 51000,
5
+ "pad_token_id": 51000,
 
6
  "transformers_version": "4.37.0.dev0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c53a5fa05a5ecd028da74d5fc3a09debcf060aba3a275f5155548a860f1a8e3c
3
- size 500056704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50dc5de325e72791733b805ac7463750687463fdf7488afaef2bc826183a6340
3
+ size 500059776