system HF staff commited on
Commit
e1dba80
1 Parent(s): ced5595

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +84 -0
config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 2,
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": null,
7
+ "d_ff": 256,
8
+ "d_kv": 8,
9
+ "d_model": 64,
10
+ "decoder_start_token_id": 0,
11
+ "do_sample": false,
12
+ "dropout_rate": 0.1,
13
+ "early_stopping": false,
14
+ "eos_token_id": 1,
15
+ "finetuning_task": null,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1"
19
+ },
20
+ "initializer_factor": 1.0,
21
+ "is_decoder": false,
22
+ "is_encoder_decoder": true,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1
26
+ },
27
+ "layer_norm_epsilon": 1e-06,
28
+ "length_penalty": 1.0,
29
+ "max_length": 20,
30
+ "min_length": 0,
31
+ "model_type": "t5",
32
+ "n_positions": 512,
33
+ "no_repeat_ngram_size": 0,
34
+ "num_beams": 1,
35
+ "num_heads": 2,
36
+ "num_layers": 2,
37
+ "num_return_sequences": 1,
38
+ "output_attentions": false,
39
+ "output_hidden_states": false,
40
+ "output_past": true,
41
+ "pad_token_id": 0,
42
+ "prefix": null,
43
+ "pruned_heads": {},
44
+ "relative_attention_num_buckets": 32,
45
+ "repetition_penalty": 1.0,
46
+ "task_specific_params": {
47
+ "summarization": {
48
+ "early_stopping": true,
49
+ "length_penalty": 2.0,
50
+ "max_length": 200,
51
+ "min_length": 30,
52
+ "no_repeat_ngram_size": 3,
53
+ "num_beams": 4,
54
+ "prefix": "summarize: "
55
+ },
56
+ "translation_en_to_de": {
57
+ "early_stopping": true,
58
+ "length_penalty": 2.0,
59
+ "max_length": 300,
60
+ "num_beams": 4,
61
+ "prefix": "translate English to German: "
62
+ },
63
+ "translation_en_to_fr": {
64
+ "early_stopping": true,
65
+ "length_penalty": 2.0,
66
+ "max_length": 300,
67
+ "num_beams": 4,
68
+ "prefix": "translate English to French: "
69
+ },
70
+ "translation_en_to_ro": {
71
+ "early_stopping": true,
72
+ "length_penalty": 2.0,
73
+ "max_length": 300,
74
+ "num_beams": 4,
75
+ "prefix": "translate English to Romanian: "
76
+ }
77
+ },
78
+ "temperature": 1.0,
79
+ "top_k": 50,
80
+ "top_p": 1.0,
81
+ "torchscript": false,
82
+ "use_bfloat16": false,
83
+ "vocab_size": 32128
84
+ }