marella / chatdocs

Chat with your documents offline using AI.
MIT License
683 stars 97 forks source link

Responses get cut off in the middle. #56

Closed nickorrnah closed 1 year ago

nickorrnah commented 1 year ago

I often find that whenever I have a response around 2 paragraphs or so in length that the response just gets cut off and does not fully complete. Is there a config setting to increase max response length or some other way to get around this issue?

Ananderz commented 1 year ago

Increase your max_new_tokens in the config.yml file to like 1500 and that will sort out the problem

nickorrnah commented 1 year ago

Thank you for the help! I hadn't thought of looking at the ctransformers documentation options.