#Improve bot behavior

39 messages · Page 1 of 1 (latest)

indigo dune
#

Well I have good prompts but I don't know what should I pass here to get better behavior can someone help me 👀

prisma ferry
#

you can try adding temperature, frequency/presence penalty and reduce top_p

#

just try little by little

#

usually temperature 0.9 is enough for a daily chat bot

#

for top_p you can set it to about 0.7 for unexpected answers

#

I found the other two do not have major influence, but you can try adding them to the max

indigo dune
prisma ferry
#

IUf temperature is much too high, the bot might give nonsense translations

prisma ferry
indigo dune
#

Any language to anyother language

#

👀

#

User enter the language and I put that language in my prompt

prisma ferry
#

When I try to translate English into Chinese, the translation will be non sense when temperature is higher than 0.4

prisma ferry
#

top_p = 1

#

fre and pre penalty don't affect this much

indigo dune
prisma ferry
indigo dune
#

Wait

indigo dune
prisma ferry
#

ah I think your prompt is quite good

prisma ferry
indigo dune
#

Sometimes wrong and random sentences

#

But I dont want to translate like google translate (I mean word by word) I want to AI understand the text and give them best possible translation

prisma ferry
#

So have you try my suggestion before?

prisma ferry
#

Just like this:

The following are some examples
Input: xxxxxxxxxxxxx
Output: xxxxxxxxxxxx

Input:xxxxx
Output:

indigo dune
#

Well its not for 1 language...

#

So

#

😬

#

I cant give example to it

prisma ferry
#

That might be a problem

indigo dune
#

Yup

#

Or I have to translate a text to all languages and then put it in my code

#

So if they write chinese for example

#

Add chinese example to prompt

prisma ferry
#

That's a good idea

#

But many prompt examples of different languages may be a hard work