CASALIOY icon indicating copy to clipboard operation
CASALIOY copied to clipboard

Define the Answer Language

Open neeewwww opened this issue 1 year ago • 3 comments

Issue you'd like to raise.

I'm utilizing a Portuguese PDF file and presenting questions in Portuguese. However, there are instances when the answer is accurate but in English. Is there a means to specify the answer language when using the default models?

Suggestion:

No response

neeewwww avatar May 18 '23 17:05 neeewwww

Have you tried modifying your question to request explicitely an answer in Portuguese ? If that doesn't work, what about modifying the default prompt, e.g. translating it in portuguese ?

hippalectryon-0 avatar May 18 '23 18:05 hippalectryon-0

Issue you'd like to raise.

I'm utilizing a Portuguese PDF file and presenting questions in Portuguese. However, there are instances when the answer is accurate but in English. Is there a means to specify the answer language when using the default models?

Suggestion:

No response

What model are you using, @neeewwww ?

GiancarloJSantos avatar May 19 '23 14:05 GiancarloJSantos

The default one, also tried using: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 and sentence-transformers/distiluse-base-multilingual-cased-v2. And using: eachadea/ggml-vicuna-7b-1.1/ggml-vic7b-q5_1.bin

The answer in english happens every now and then.

On Fri, May 19, 2023 at 11:58 AM Giancarlo Santos @.***> wrote:

Issue you'd like to raise.

I'm utilizing a Portuguese PDF file and presenting questions in Portuguese. However, there are instances when the answer is accurate but in English. Is there a means to specify the answer language when using the default models? Suggestion:

No response

What model are you using, @neeewwww https://github.com/neeewwww ?

— Reply to this email directly, view it on GitHub https://github.com/su77ungr/CASALIOY/issues/96#issuecomment-1554717636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZ6BAJOIN5OBH4OKWUOLJ3XG6DB5ANCNFSM6AAAAAAYGYRJQ4 . You are receiving this because you were mentioned.Message ID: @.***>

--

Thiago Hagui dos Santos Móvel/Mobile: +55-11-9-7519-7652

neeewwww avatar May 19 '23 15:05 neeewwww