li-jay-cs commited on
Commit
8e2b8dc
1 Parent(s): 0be6dfd

iter_count = 1

Browse files
Files changed (3) hide show
  1. config.json +4 -38
  2. generation_config.json +1 -5
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,43 +1,9 @@
1
  {
2
- "_name_or_path": "li-jay-cs/gpt2-medium-supervised-summarize-checkpoint",
3
- "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2LMHeadModel"
6
  ],
7
- "attn_pdrop": 0.1,
8
- "bos_token_id": 50256,
9
- "embd_pdrop": 0.1,
10
- "end_token_id": 50256,
11
- "eos_token_id": 50256,
12
- "initializer_range": 0.02,
13
- "layer_norm_epsilon": 1e-05,
14
- "model_type": "gpt2",
15
- "n_ctx": 1024,
16
- "n_embd": 1024,
17
- "n_head": 16,
18
- "n_inner": null,
19
- "n_layer": 24,
20
- "n_positions": 1024,
21
- "n_special": 0,
22
- "pad_token_id": 50256,
23
- "predict_special_tokens": true,
24
- "reorder_and_upcast_attn": false,
25
- "resid_pdrop": 0.1,
26
- "scale_attn_by_inverse_layer_idx": false,
27
- "scale_attn_weights": true,
28
- "summary_activation": null,
29
- "summary_first_dropout": 0.1,
30
- "summary_proj_to_labels": true,
31
- "summary_type": "cls_index",
32
- "summary_use_proj": true,
33
- "task_specific_params": {
34
- "text-generation": {
35
- "do_sample": true,
36
- "max_length": 50
37
- }
38
- },
39
  "torch_dtype": "float32",
40
- "transformers_version": "4.36.2",
41
- "use_cache": false,
42
- "vocab_size": 50257
43
  }
 
1
  {
 
 
2
  "architectures": [
3
+ "PPOModel"
4
  ],
5
+ "model_type": "ppo",
6
+ "sft_model_path": "li-jay-cs/gpt2-medium-supervised-summarize-checkpoint",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  "torch_dtype": "float32",
8
+ "transformers_version": "4.36.2"
 
 
9
  }
generation_config.json CHANGED
@@ -1,8 +1,4 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "eos_token_id": 50256,
5
- "pad_token_id": 50256,
6
- "transformers_version": "4.36.2",
7
- "use_cache": false
8
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "transformers_version": "4.36.2"
 
 
 
 
4
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1527fc4813712eb58687816a98f31ed9931a6629773833907a5d340871e6285
3
- size 1419322880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebabca746e91a47a964cf7faa724d78cf074674eeb567d6b9f58ef29fab9fa3b
3
+ size 2838660960