samot-samoe commited on
Commit
f2346ef
1 Parent(s): e55d396

Upload model

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. generation_config.json +10 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "IlyaGusev/rugpt3medium_sum_gazeta",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 1,
9
+ "decoder_start_token_id": 1,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 2,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "max_length": 800,
15
+ "model_type": "gpt2",
16
+ "n_ctx": 2048,
17
+ "n_embd": 1024,
18
+ "n_head": 16,
19
+ "n_inner": null,
20
+ "n_layer": 24,
21
+ "n_positions": 2048,
22
+ "n_special": 0,
23
+ "num_beams": 5,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "predict_special_tokens": true,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "torch_dtype": "float16",
37
+ "transformers_version": "4.35.2",
38
+ "use_cache": true,
39
+ "vocab_size": 50257
40
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 1,
5
+ "eos_token_id": 2,
6
+ "max_length": 800,
7
+ "num_beams": 5,
8
+ "pad_token_id": 0,
9
+ "transformers_version": "4.35.2"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5669d74ba7b65d95e83822e9caed115078ef79d04b4af7f2def78256b20b99da
3
+ size 711773528