osanseviero HF staff commited on
Commit
4525b2f
1 Parent(s): d17e188

Upload model

Browse files
Files changed (2) hide show
  1. config.json +40 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2Model"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 98,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 98,
12
+ "gradient_checkpointing": false,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 37,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "gpt2",
19
+ "n_ctx": 512,
20
+ "n_embd": 32,
21
+ "n_head": 4,
22
+ "n_inner": null,
23
+ "n_layer": 5,
24
+ "n_positions": 512,
25
+ "pad_token_id": 98,
26
+ "reorder_and_upcast_attn": false,
27
+ "resid_pdrop": 0.1,
28
+ "scale_attn_by_inverse_layer_idx": false,
29
+ "scale_attn_weights": true,
30
+ "summary_activation": null,
31
+ "summary_first_dropout": 0.1,
32
+ "summary_proj_to_labels": true,
33
+ "summary_type": "cls_index",
34
+ "summary_use_proj": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.35.2",
37
+ "type_vocab_size": 16,
38
+ "use_cache": true,
39
+ "vocab_size": 1000
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11bb09d54e5ba74ac1dc1c497aa9f5f6141629164a6cad05c0e9b88dca4c550d
3
+ size 453096