paper-qa icon indicating copy to clipboard operation
paper-qa copied to clipboard

Have cheaper mode

Open whitead opened this issue 2 years ago • 6 comments

Perhaps using curie or sentence-transformer for embeddings (relatively cheap anyway). Distillbert might be good too.

https://huggingface.co/deepset/deberta-v3-large-squad2

whitead avatar Feb 15 '23 20:02 whitead

excuse me sir, i met a question on huggingface project you made.

Error like this:

This does not look like a text document: /tmp/requirementfyo6931m.txt. Path disable_check to ignore this error.

I draged a txt, input the apikey, then ask question below, the error came out.

actually, it's txt, why, what's wrong?

May you help me?

Thanks

tiwentichat avatar Feb 24 '23 09:02 tiwentichat

@tiwentichat should be fixed

whitead avatar Feb 26 '23 02:02 whitead

I also have this issue.

liusok avatar Feb 26 '23 13:02 liusok

Hi, whitead. I got this message: "This model's maximum context length is 8191 tokens, however you requested 19149 tokens (19149 in your prompt; 0 for the completion). Please reduce your prompt; or completion length." I only ask a question with 10 words. How to fix it?

liusok avatar Feb 26 '23 23:02 liusok

@tiwentichat should be fixed

yes,great!

tiwentichat avatar Feb 27 '23 13:02 tiwentichat

@liusok try latest version - had this problem too yesterday

whitead avatar Feb 27 '23 15:02 whitead

Got cheaper mode now

whitead avatar Mar 02 '23 05:03 whitead