mamiksik commited on
Commit
be61d1b
1 Parent(s): 444fc8e

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +48 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/s2498103/bsc-model/src/../output-model/t5-pl-hub",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "d_ff": 3072,
8
+ "d_kv": 64,
9
+ "d_model": 768,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 2,
14
+ "feed_forward_proj": "relu",
15
+ "id2label": {
16
+ "0": "LABEL_0"
17
+ },
18
+ "initializer_factor": 1.0,
19
+ "is_encoder_decoder": true,
20
+ "is_gated_act": false,
21
+ "label2id": {
22
+ "LABEL_0": 0
23
+ },
24
+ "layer_norm_epsilon": 1e-06,
25
+ "model_type": "t5",
26
+ "n_positions": 512,
27
+ "num_decoder_layers": 12,
28
+ "num_heads": 12,
29
+ "num_layers": 12,
30
+ "output_past": true,
31
+ "pad_token_id": 0,
32
+ "relative_attention_max_distance": 128,
33
+ "relative_attention_num_buckets": 32,
34
+ "task_specific_params": {
35
+ "summarization": {
36
+ "early_stopping": true,
37
+ "length_penalty": 2.0,
38
+ "max_length": 256,
39
+ "min_length": 1,
40
+ "no_repeat_ngram_size": 3,
41
+ "num_beams": 5
42
+ }
43
+ },
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.25.1",
46
+ "use_cache": true,
47
+ "vocab_size": 32103
48
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3dee48f24ab2a97e21afc46bcbcb932dbe2e1d6c3f7de1b3f04b200b80e8d6
3
+ size 891622545