shjwudp commited on
Commit
b58c4ea
1 Parent(s): 3df8c70

Upload model

Browse files
Files changed (2) hide show
  1. config.json +33 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/cephfs/changjianbin/github.com/shjwudp/transformers/examples/pytorch/language-modeling/test-clm",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2Model"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 1,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 1,
11
+ "initializer_range": 0.014,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_embd": 1024,
15
+ "n_head": 16,
16
+ "n_inner": null,
17
+ "n_layer": 24,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.0,
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
+ "tokenizer_class": "ByT5Tokenizer",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.22.2",
31
+ "use_cache": true,
32
+ "vocab_size": 384
33
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83d6131a24a7deb113f69d0f3f71f3ff91015c25c3a8eb37849002e4221dc540
3
+ size 1240278169