langchain-ai / langchain-nvidia

MIT License
50 stars 16 forks source link

Changing max_tokens default value to some higher value may be 512/1024 #34

Closed pranjaldoshi96 closed 5 months ago

pranjaldoshi96 commented 5 months ago

Default value of max_tokens is set to 16, which does not generate good response for most of the scenario. Setting it to something higher value similar to openai can be helpful.

This is mostly my experience, obviously there might be other scenario where folks will prefer smaller values. Still 16 token does not even generate complete a sentence or two sometime.

Will love to hear your opinion on this.

mattf commented 5 months ago

same as #27