system HF staff commited on
Commit
4b4cb58
1 Parent(s): 63cd594

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +54 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "t5-base",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 3072,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dropout_rate": 0.1,
11
+ "eos_token_id": 1,
12
+ "initializer_factor": 1.0,
13
+ "is_encoder_decoder": true,
14
+ "layer_norm_epsilon": 1e-06,
15
+ "model_type": "t5",
16
+ "n_positions": 512,
17
+ "num_decoder_layers": 12,
18
+ "num_heads": 12,
19
+ "num_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 0,
22
+ "relative_attention_num_buckets": 32,
23
+ "task_specific_params": {
24
+ "summarization": {
25
+ "early_stopping": true,
26
+ "length_penalty": 2.0,
27
+ "max_length": 200,
28
+ "min_length": 30,
29
+ "no_repeat_ngram_size": 3,
30
+ "num_beams": 4,
31
+ "prefix": "summarize: "
32
+ },
33
+ "translation_en_to_de": {
34
+ "early_stopping": true,
35
+ "max_length": 300,
36
+ "num_beams": 4,
37
+ "prefix": "translate English to German: "
38
+ },
39
+ "translation_en_to_fr": {
40
+ "early_stopping": true,
41
+ "max_length": 300,
42
+ "num_beams": 4,
43
+ "prefix": "translate English to French: "
44
+ },
45
+ "translation_en_to_ro": {
46
+ "early_stopping": true,
47
+ "max_length": 300,
48
+ "num_beams": 4,
49
+ "prefix": "translate English to Romanian: "
50
+ }
51
+ },
52
+ "vocab_size": 32128,
53
+ "xla_device": true
54
+ }