patrickvonplaten commited on
Commit
0d4e004
1 Parent(s): 49c6bbf

correct config

Browse files
Files changed (1) hide show
  1. config.json +0 -31
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "/home/patrick/hugging_face/t5/t5-large-ssm-nqo",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -14,41 +13,11 @@
14
  "is_encoder_decoder": true,
15
  "layer_norm_epsilon": 1e-06,
16
  "model_type": "t5",
17
- "n_positions": 512,
18
  "num_decoder_layers": 24,
19
  "num_heads": 16,
20
  "num_layers": 24,
21
  "output_past": true,
22
  "pad_token_id": 0,
23
  "relative_attention_num_buckets": 32,
24
- "task_specific_params": {
25
- "summarization": {
26
- "early_stopping": true,
27
- "length_penalty": 2.0,
28
- "max_length": 200,
29
- "min_length": 30,
30
- "no_repeat_ngram_size": 3,
31
- "num_beams": 4,
32
- "prefix": "summarize: "
33
- },
34
- "translation_en_to_de": {
35
- "early_stopping": true,
36
- "max_length": 300,
37
- "num_beams": 4,
38
- "prefix": "translate English to German: "
39
- },
40
- "translation_en_to_fr": {
41
- "early_stopping": true,
42
- "max_length": 300,
43
- "num_beams": 4,
44
- "prefix": "translate English to French: "
45
- },
46
- "translation_en_to_ro": {
47
- "early_stopping": true,
48
- "max_length": 300,
49
- "num_beams": 4,
50
- "prefix": "translate English to Romanian: "
51
- }
52
- },
53
  "vocab_size": 32128
54
  }
 
1
  {
 
2
  "architectures": [
3
  "T5ForConditionalGeneration"
4
  ],
 
13
  "is_encoder_decoder": true,
14
  "layer_norm_epsilon": 1e-06,
15
  "model_type": "t5",
 
16
  "num_decoder_layers": 24,
17
  "num_heads": 16,
18
  "num_layers": 24,
19
  "output_past": true,
20
  "pad_token_id": 0,
21
  "relative_attention_num_buckets": 32,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "vocab_size": 32128
23
  }