[GH-ISSUE #69] SAFETY RULES for Gemini. #35

Open
opened 2026-03-03 13:52:24 +03:00 by kerem · 10 comments
Owner

Originally created by @Anooxy17 on GitHub (Aug 29, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/69

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

Originally created by @Anooxy17 on GitHub (Aug 29, 2024). Original GitHub issue: https://github.com/jehna/humanify/issues/69 I've been trying so many times, even tried to add my own, but I am still getting errors about safety, tf ![image](https://github.com/user-attachments/assets/c7dda0f1-78f5-4fb2-9ab2-89acfddd1779) ![image](https://github.com/user-attachments/assets/75d1b3e9-1770-4939-aa0c-e52cfef44c5b) ![image](https://github.com/user-attachments/assets/b642099a-0b1c-40d9-bb8c-08ae62e47253)
Author
Owner

@jehna commented on GitHub (Aug 29, 2024):

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

<!-- gh-comment-id:2318725744 --> @jehna commented on GitHub (Aug 29, 2024): Huh, that's weird. Gemini is a very recent addition, have you tried with OpenAI or local version yet?
Author
Owner

@jehna commented on GitHub (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
      }
]
<!-- gh-comment-id:2318742424 --> @jehna commented on GitHub (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 } ] ```
Author
Owner

@jehna commented on GitHub (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.

<!-- gh-comment-id:2318747989 --> @jehna commented on GitHub (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.
Author
Owner

@Manouchehri commented on GitHub (Aug 29, 2024):

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

<!-- gh-comment-id:2319202660 --> @Manouchehri commented on GitHub (Aug 29, 2024): @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.
Author
Owner

@Anooxy17 commented on GitHub (Aug 30, 2024):

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

<!-- gh-comment-id:2321332517 --> @Anooxy17 commented on GitHub (Aug 30, 2024): @jehna @Manouchehri [asd.txt](https://github.com/user-attachments/files/16817985/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 ;)
Author
Owner

@jehna commented on GitHub (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 👍

<!-- gh-comment-id:2327292776 --> @jehna commented on GitHub (Sep 3, 2024): Thanks for the file! I'll check on it later – unfortunately [something came up](https://x.com/Disobey_fi/status/1830590725748392159), 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 👍
Author
Owner

@Anooxy17 commented on GitHub (Sep 4, 2024):

Thannks for respond now, good luck 😊

<!-- gh-comment-id:2327857818 --> @Anooxy17 commented on GitHub (Sep 4, 2024): Thannks for respond now, good luck 😊
Author
Owner

@Anooxy17 commented on GitHub (Sep 16, 2024):

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

<!-- gh-comment-id:2353332360 --> @Anooxy17 commented on GitHub (Sep 16, 2024): Sorry for another interrupt, but have to ask, any ideas? 😄
Author
Owner

@tt-thoma commented on GitHub (Dec 30, 2024):

Maybe killing children processes?

<!-- gh-comment-id:2565731060 --> @tt-thoma commented on GitHub (Dec 30, 2024): Maybe killing children processes?
Author
Owner

@tt-thoma commented on GitHub (Dec 30, 2024):

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

<!-- gh-comment-id:2565733061 --> @tt-thoma commented on GitHub (Dec 30, 2024): Things that makes sense in programming but could be badly interpreted by non-programmers
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#35
No description provided.