pierreguillou commited on
Commit
e66f7fa
1 Parent(s): 8a98e0c

task_specific_params for text-generation

Browse files
Files changed (1) hide show
  1. config.json +7 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/content/drive/MyDrive/byt5-small/models/e3_lr0.0001",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -24,5 +24,11 @@
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.12.5",
26
  "use_cache": false,
 
 
 
 
 
 
27
  "vocab_size": 384
28
  }
 
1
  {
2
+ "_name_or_path": "google/byt5-small",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.12.5",
26
  "use_cache": false,
27
+ "task_specific_params": {
28
+ "text-generation": {
29
+ "num_beams": 1,
30
+ "max_length": 64
31
+ }
32
+ },
33
  "vocab_size": 384
34
  }