-
Notifications
You must be signed in to change notification settings - Fork 260
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
Package hallucination #950
base: main
Are you sure you want to change the base?
Package hallucination #950
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR does not yet enable the probe to consume the timestamp.
Another item to ensure, is all date columns should be formatted into a date time value with timezone details. A format string example can be found in the _plugin package:
https://github.com/leondz/garak/blob/bd0bb3f468c6c05a5675aca9c1e4093b35970018/garak/_plugins.py#L22
This is important to ensure results are consistent globally when run on systems in with clock set to varying timezones.
NB datestamp is to be consumed by |
Ok, thank you @leondz @jmartin-tech . I've just finished my final midterm. I am working on these changes right now.
|
Ok, I've generated new datasets following your feedback and added to huggingface/updated references here |
garak/configs/cutoff.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the contents of this file are useful for testing it should not be committed to the repository for distribution as part of the primary package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good @jmartin-tech , I will remove this
tools/packagehallucination
Verification
List the steps needed to make sure this thing works
python -m garak -m openai -n gpt-3.5-turbo -p packagehallucination.Python --parallel_requests 16 -g 3
-> runs python hallucination test and result is sanepython -m pytest tests/