yongsun-shim commited on
Commit
68bc0aa
1 Parent(s): 0308b41

Upload T5ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +75 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "t5-small",
3
+ "adapters": {
4
+ "adapters": {
5
+ "summarization": "pfeiffer"
6
+ },
7
+ "config_map": {},
8
+ "fusion_config_map": {},
9
+ "fusions": {}
10
+ },
11
+ "architectures": [
12
+ "T5ForConditionalGeneration"
13
+ ],
14
+ "d_ff": 2048,
15
+ "d_kv": 64,
16
+ "d_model": 512,
17
+ "decoder_start_token_id": 0,
18
+ "dense_act_fn": "relu",
19
+ "dropout_rate": 0.1,
20
+ "early_stopping": true,
21
+ "eos_token_id": 1,
22
+ "feed_forward_proj": "relu",
23
+ "initializer_factor": 1.0,
24
+ "is_encoder_decoder": true,
25
+ "is_gated_act": false,
26
+ "layer_norm_epsilon": 1e-06,
27
+ "length_penalty": 2.0,
28
+ "max_length": 200,
29
+ "min_length": 30,
30
+ "model_type": "t5",
31
+ "n_positions": 512,
32
+ "no_repeat_ngram_size": 3,
33
+ "num_beams": 4,
34
+ "num_decoder_layers": 6,
35
+ "num_heads": 8,
36
+ "num_layers": 6,
37
+ "output_past": true,
38
+ "pad_token_id": 0,
39
+ "prefix": "summarize: ",
40
+ "relative_attention_max_distance": 128,
41
+ "relative_attention_num_buckets": 32,
42
+ "task_specific_params": {
43
+ "summarization": {
44
+ "early_stopping": true,
45
+ "length_penalty": 2.0,
46
+ "max_length": 200,
47
+ "min_length": 30,
48
+ "no_repeat_ngram_size": 3,
49
+ "num_beams": 4,
50
+ "prefix": "summarize: "
51
+ },
52
+ "translation_en_to_de": {
53
+ "early_stopping": true,
54
+ "max_length": 300,
55
+ "num_beams": 4,
56
+ "prefix": "translate English to German: "
57
+ },
58
+ "translation_en_to_fr": {
59
+ "early_stopping": true,
60
+ "max_length": 300,
61
+ "num_beams": 4,
62
+ "prefix": "translate English to French: "
63
+ },
64
+ "translation_en_to_ro": {
65
+ "early_stopping": true,
66
+ "max_length": 300,
67
+ "num_beams": 4,
68
+ "prefix": "translate English to Romanian: "
69
+ }
70
+ },
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.26.1",
73
+ "use_cache": true,
74
+ "vocab_size": 32128
75
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "early_stopping": true,
5
+ "eos_token_id": 1,
6
+ "length_penalty": 2.0,
7
+ "max_length": 200,
8
+ "min_length": 30,
9
+ "no_repeat_ngram_size": 3,
10
+ "num_beams": 4,
11
+ "pad_token_id": 0,
12
+ "transformers_version": "4.26.1"
13
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc3c63a4ab7fa992a5f3f0541ef96125067c017f8b573ac39d679ba7eaedfe2a
3
+ size 243685401