Sharathhebbar24 commited on
Commit
526271c
1 Parent(s): f3d47c3

Upload model

Browse files
Files changed (4) hide show
  1. README.md +1 -0
  2. config.json +7 -5
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
README.md CHANGED
@@ -5,6 +5,7 @@ license: apache-2.0
5
  tags:
6
  - gpt2
7
  - dpo
 
8
  datasets:
9
  - HuggingFaceH4/ultrachat_200k
10
  - Intel/orca_dpo_pairs
 
5
  tags:
6
  - gpt2
7
  - dpo
8
+ - trl
9
  datasets:
10
  - HuggingFaceH4/ultrachat_200k
11
  - Intel/orca_dpo_pairs
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Sharathhebbar24/chat_gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
@@ -12,11 +12,13 @@
12
  "layer_norm_epsilon": 1e-05,
13
  "model_type": "gpt2",
14
  "n_ctx": 1024,
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,
@@ -33,7 +35,7 @@
33
  }
34
  },
35
  "torch_dtype": "float32",
36
- "transformers_version": "4.36.2",
37
  "use_cache": true,
38
  "vocab_size": 50257
39
  }
 
1
  {
2
+ "_name_or_path": "openai-community/gpt2-medium",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
 
12
  "layer_norm_epsilon": 1e-05,
13
  "model_type": "gpt2",
14
  "n_ctx": 1024,
15
+ "n_embd": 1024,
16
+ "n_head": 16,
17
  "n_inner": null,
18
+ "n_layer": 24,
19
  "n_positions": 1024,
20
+ "n_special": 0,
21
+ "predict_special_tokens": true,
22
  "reorder_and_upcast_attn": false,
23
  "resid_pdrop": 0.1,
24
  "scale_attn_by_inverse_layer_idx": false,
 
35
  }
36
  },
37
  "torch_dtype": "float32",
38
+ "transformers_version": "4.40.1",
39
  "use_cache": true,
40
  "vocab_size": 50257
41
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
- "transformers_version": "4.36.2"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
+ "transformers_version": "4.40.1"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9518982e1e24453360266d7b9c1ab25b8895bff8e166ad1b1b716a284f85d70
3
- size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45668770622f973a85d1263a4a59659158c7915c22f6266b2ad34ce8cb63c21a
3
+ size 1419322880