narySt commited on
Commit
fef86a6
1 Parent(s): 313a247

Upload T5ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. generation_config.json +14 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/user/commits/commit_messages_generation/model/t5p_CommitChron_v2/checkpoint-225000",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "classifier_dropout": 0.0,
8
+ "d_ff": 3072,
9
+ "d_kv": 64,
10
+ "d_model": 768,
11
+ "decoder_start_token_id": 0,
12
+ "dense_act_fn": "relu",
13
+ "dropout_rate": 0.1,
14
+ "eos_token_id": 32105,
15
+ "feed_forward_proj": "relu",
16
+ "initializer_factor": 1.0,
17
+ "is_encoder_decoder": true,
18
+ "is_gated_act": false,
19
+ "layer_norm_epsilon": 1e-06,
20
+ "model_type": "t5",
21
+ "n_positions": 512,
22
+ "num_decoder_layers": 12,
23
+ "num_heads": 12,
24
+ "num_layers": 12,
25
+ "output_past": true,
26
+ "pad_token_id": 0,
27
+ "relative_attention_max_distance": 128,
28
+ "relative_attention_num_buckets": 32,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.34.0",
31
+ "use_cache": true,
32
+ "vocab_size": 32108
33
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 0,
4
+ "do_sample": true,
5
+ "early_stopping": true,
6
+ "eos_token_id": 32105,
7
+ "max_new_tokens": 128,
8
+ "no_repeat_ngram_size": 2,
9
+ "num_beams": 5,
10
+ "pad_token_id": 0,
11
+ "top_k": 100,
12
+ "top_p": 0.95,
13
+ "transformers_version": "4.34.0"
14
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a87f15af5ec82323c7cdb84fdd7aa63d33f5249a6eb472b2fc6da055eec393
3
+ size 891641934