Text Generation
Transformers
PyTorch
English
gpt2
text-generation-inference
Inference Endpoints
ssonpull519 commited on
Commit
ef0dc02
·
1 Parent(s): ecdb16b

Edit task specific params

Browse files
Files changed (1) hide show
  1. config.json +3 -1
config.json CHANGED
@@ -36,7 +36,9 @@
36
  "task_specific_params": {
37
  "text-generation": {
38
  "do_sample": true,
39
- "max_length": 50
 
 
40
  }
41
  },
42
  "torch_dtype": "float32",
 
36
  "task_specific_params": {
37
  "text-generation": {
38
  "do_sample": true,
39
+ "max_length": 50,
40
+ "top_k": 50,
41
+ "top_p": 0.90
42
  }
43
  },
44
  "torch_dtype": "float32",