angkul07 commited on
Commit
1e6cd57
·
verified ·
1 Parent(s): c9f9aec

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +28 -8
  2. generation_config.json +6 -0
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,11 +1,31 @@
1
  {
2
- "context_length": 256,
3
- "drop_rate": 0.2,
4
- "emb_dim": 768,
5
- "flash": true,
 
 
 
 
 
 
6
  "model_type": "gpt2",
7
- "n_heads": 16,
8
- "n_layers": 12,
9
- "qkv_bias": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "vocab_size": 26000
11
- }
 
1
  {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 26001,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 26001,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
  "model_type": "gpt2",
13
+ "n_embd": 768,
14
+ "n_head": 16,
15
+ "n_inner": null,
16
+ "n_layer": 12,
17
+ "n_positions": 256,
18
+ "reorder_and_upcast_attn": false,
19
+ "resid_pdrop": 0.1,
20
+ "scale_attn_by_inverse_layer_idx": false,
21
+ "scale_attn_weights": true,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.52.4",
29
+ "use_cache": true,
30
  "vocab_size": 26000
31
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 26001,
4
+ "eos_token_id": 26001,
5
+ "transformers_version": "4.52.4"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:feeb6556ea287e7d4f0cfbaebd1d4922e247d0e068a35e8ca627696694aa2190
3
- size 420785376
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be4d4fb98f3316bcc4a84bb0f476a070cbf70f2edbe410587a38be2adf15e974
3
+ size 420897408