Modify generation params for a model in the Model hub
Hello, I would like to increase themax_lengthparam on my modelnouamanetazi/cover-letter-t5-base · Hugging Facebut I can’t seem to find how to do it in docs. Should I edit the config.json file? Can anyone provide an example please.
2021-12-01T08:34:29Z
Hey there! You can change the inference parameters as documentedhere.In short, you can do something like this in the metadata of the model card (README.md file)inference:
  parameters:
    temperature: 0.7