ask-multiple-pdfs icon indicating copy to clipboard operation
ask-multiple-pdfs copied to clipboard

Issue with response completion

Open maotoledo opened this issue 1 year ago • 5 comments

I've processed a document of a book chapter. But It gives me always same limited length response. image

maotoledo avatar Jun 17 '23 15:06 maotoledo

me too

jasonzhouxf avatar Jun 20 '23 05:06 jasonzhouxf

Same issue here, how to finish the sentence?

kkatrina28 avatar Jun 20 '23 06:06 kkatrina28

try to adjust the chunk_size=1000 and chunk_overlap=200, test with 1500 and 250 respectively and see if that makes any difference.

DjangoMaker avatar Jun 21 '23 18:06 DjangoMaker

any update on this issue please? When I increased the chunk_size=1000 and chunk_overlap=200 then error comes from Inference API: "Input validation error: inputs must have less than 1024 tokens. Given: 1208" How to fix this response completion issue? Please assist @kkatrina28 @DjangoMaker @jasonzhouxf

mohitkapoor1230 avatar Jul 21 '23 12:07 mohitkapoor1230

try this : llm = HuggingFaceHub(repo_id="tiiuae/falcon-7b-instruct", task='text-generation', model_kwargs={'max_new_tokens': 200})

SoniaGrh avatar Nov 03 '23 14:11 SoniaGrh