Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAFETY RULES for Gemini. #69

Open
Anooxy17 opened this issue Aug 29, 2024 · 8 comments
Open

SAFETY RULES for Gemini. #69

Anooxy17 opened this issue Aug 29, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Anooxy17
Copy link

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

@jehna
Copy link
Owner

jehna commented Aug 29, 2024

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

@jehna jehna added the bug Something isn't working label Aug 29, 2024
@jehna
Copy link
Owner

jehna commented Aug 29, 2024

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
Copy link
Owner

jehna commented Aug 29, 2024

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.

@Manouchehri
Copy link

@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.

@Anooxy17
Copy link
Author

@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 ;)

@jehna
Copy link
Owner

jehna commented Sep 3, 2024

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 👍

@Anooxy17
Copy link
Author

Anooxy17 commented Sep 4, 2024

Thannks for respond now, good luck 😊

@Anooxy17
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants