n4ze3m / page-assist

Use your locally running AI models to assist you in your web browsing
https://chromewebstore.google.com/detail/page-assist-a-web-ui-for/jfgfiigpkhlkbnfnbobbkinehhfdhndo
MIT License
1.58k stars 150 forks source link

Copilot translate with llama 3.2 explains the text rather than translates #201

Open oatmealm opened 1 month ago

oatmealm commented 1 month ago

I've been trying to translate a text in Hebrew to English. llama 3.1 did a fair job. llama 3.2 though explains the original text, rather than translates it, as it should.

I tried updating the prompt like this:

Translate to idiomatic English. Don't add anything and don't analyze or explain the text.

Text:
---------
{text}
---------

Response:

But it returns some gibberish, not even attempting to translate. This prompt though works quite well in a chat window:

Translate this to idiomatic English: