Text Generation
Transformers
PyTorch
Safetensors
gpt2
stable-diffusion
prompt-generator
arxiv:2210.14140
Inference Endpoints
text-generation-inference
FredZhang7 commited on
Commit
09217d1
1 Parent(s): cbc10a7

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -1
config.json CHANGED
@@ -37,7 +37,10 @@
37
  "task_specific_params": {
38
  "text-generation": {
39
  "do_sample": true,
40
- "max_length": 50
 
 
 
41
  }
42
  },
43
  "torch_dtype": "float32",
 
37
  "task_specific_params": {
38
  "text-generation": {
39
  "do_sample": true,
40
+ "max_length": 80,
41
+ "temperature": 0.7,
42
+ "top_k": 4,
43
+ "early_stopping": true
44
  }
45
  },
46
  "torch_dtype": "float32",