humanify icon indicating copy to clipboard operation
humanify copied to clipboard

SAFETY RULES for Gemini.

Open Anooxy17 opened this issue 1 year ago • 10 comments

I've been trying so many times, even tried to add my own, but I am still getting errors about safety, tf

image image image

Anooxy17 avatar Aug 29 '24 18:08 Anooxy17

Huh, that's weird. Gemini is a very recent addition, have you tried with OpenAI or local version yet?

jehna avatar Aug 29 '24 19:08 jehna

I found one more, can you try:

[
      {
        category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
        threshold: HarmBlockThreshold.BLOCK_NONE
      },
      {
        category: HarmCategory.HARM_CATEGORY_HARASSMENT,
        threshold: HarmBlockThreshold.BLOCK_NONE
      },
      {
        category: HarmCategory.HARM_CATEGORY_HATE_SPEECH,
        threshold: HarmBlockThreshold.BLOCK_NONE
      },
      {
        category: HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
        threshold: HarmBlockThreshold.BLOCK_NONE
      },
      {
        category: HarmCategory.HARM_CATEGORY_UNSPECIFIED,
        threshold: HarmBlockThreshold.BLOCK_NONE
      }
]

jehna avatar Aug 29 '24 19:08 jehna

If you have some example code snippets that would result in safety errors, I'd be happy to test against them. It would help to resolve the issue.

jehna avatar Aug 29 '24 19:08 jehna

@Anooxy17 Could you share the input script that trigger the failure? I'll try on my company's Vertex AI account to see if we get a different outcome.

Manouchehri avatar Aug 29 '24 22:08 Manouchehri

@jehna @Manouchehri asd.txt

I put here whole file, if it's possible put output. I've only 3 requests on ChatGPT, and then syntax and safety on Gemini all the time, so if u have maybe output of this thing I'm trying to deobfuscate since I remember, and only your script is making me 60% max, feel free to put output, keep me updated if there's something wrong ;)

Anooxy17 avatar Aug 30 '24 13:08 Anooxy17

Thanks for the file! I'll check on it later – unfortunately something came up, so I don't have time to work on humanify for a little while. I'll get back to you a bit later on this 👍

jehna avatar Sep 03 '24 19:09 jehna

Thannks for respond now, good luck 😊

Anooxy17 avatar Sep 04 '24 03:09 Anooxy17

Sorry for another interrupt, but have to ask, any ideas? 😄

Anooxy17 avatar Sep 16 '24 16:09 Anooxy17

Maybe killing children processes?

tt-thoma avatar Dec 30 '24 17:12 tt-thoma

Things that makes sense in programming but could be badly interpreted by non-programmers

tt-thoma avatar Dec 30 '24 17:12 tt-thoma