appohfaiths commited on
Commit
0ab7c13
·
verified ·
1 Parent(s): 4b44057

Upload model

Browse files
Files changed (3) hide show
  1. config.json +25 -17
  2. generation_config.json +6 -0
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,24 +1,32 @@
1
  {
2
- "_name_or_path": "distilbert/distilbert-base-uncased",
3
- "activation": "relu",
4
  "architectures": [
5
- "DistilBertForQuestionAnswering"
6
  ],
7
- "attention_dropout": 0.4,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
11
  "initializer_range": 0.02,
12
- "max_position_embeddings": 512,
13
- "model_type": "distilbert",
14
- "n_heads": 12,
15
- "n_layers": 6,
16
- "pad_token_id": 0,
17
- "qa_dropout": 0.1,
18
- "seq_classif_dropout": 0.2,
19
- "sinusoidal_pos_embds": false,
20
- "tie_weights_": true,
 
 
 
 
 
 
 
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.47.1",
23
- "vocab_size": 30522
 
24
  }
 
1
  {
2
+ "_name_or_path": "distilbert/distilgpt2",
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
+ "eos_token_id": 50256,
11
  "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.47.1",
30
+ "use_cache": true,
31
+ "vocab_size": 50257
32
  }
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.47.1"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ff400350725866c809f3f5b2c77149278be0bf66ae656cb94d9da041b0331e7
3
- size 265470032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e78e61065a45800b9d68840c30e624f78e0da4efca292e66c9d810adad6b5897
3
+ size 497774208