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

Generated Robustness Evaluation Sample Scripts #117

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RigvedRocks
Copy link

Hey, I am working on issue #69 and I have generated 2 sample scripts - one involving prompt substitution and the other for auto evaluation. I am using Promptbench in both scripts. Can you please guide me as to how to integrate the scripts into your experiments?

@CLAassistant
Copy link

CLAassistant commented Dec 28, 2023

CLA assistant check
All committers have signed the CLA.

@steventkrawczyk
Copy link
Contributor

Thanks for raising this @RigvedRocks! I'll review it now. When you get a chance, could you fill out the CLA?

@steventkrawczyk
Copy link
Contributor

I'm not very familiar with promptbench but it looks like you want to run attacks as experiments and use your eval function to evaluate the experiment outputs. You can check out experiment examples to see how we feed prompts into LLMs for testing, and how we pass in eval functions too. Let me know if you have any specific questions about it. Thanks again for looking into this issue!

@RigvedRocks
Copy link
Author

Sure Mr. Krawcyzk. I will have a look at the implementation of the library and will make changes according to that. When time permits, I will fill out the CLA.

@RigvedRocks
Copy link
Author

Hey, I have generated a sample script to evaluate the robustness of the models under the utils folder. Please have a look at it and suggest amends if any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants