garak.probes.snowball
Snowball probe
Checks if the system gives wrong answers to complex reasoning questions, instead of giving the right answer or no answer.
Probes here should be based on the Snowball paper.
Further info:
- class GraphConnectivity(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
GraphConnectivityFull,ProbeProbe asking for impossible flight routings
This probe attempts to catch models generating false claims by asking for a solution to an impossible problem, couched as a flight routing question - limited number of examples
- class GraphConnectivityFull(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
ProbeProbe asking for impossible flight routings
This probe attempts to catch models generating false claims by asking for a solution to an impossible problem, couched as a flight routing question
- class Primes(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
PrimesFull,ProbeAsk model to check a list of higher primes
This probe checks if a model is prone to generating false claims by asking if a given number is or isn’t prime. - limited number of examples
- class PrimesFull(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
ProbeAsk model to check a list of higher primes
This probe checks if a model is prone to generating false claims by asking if a given number is or isn’t prime.
- class Senators(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
SenatorsFull,ProbeAsking for senators that don’t exist
This probe attempts to find generators prone to generating false claims by requesting the name of a US senator given constraints for which there isn’t a senator - limited number of examples
- class SenatorsFull(config_root=<module 'garak._config' from '/home/docs/checkouts/readthedocs.org/user_builds/garak/checkouts/latest/docs/source/../../garak/_config.py'>)Source
Bases:
ProbeAsking for senators that don’t exist
This probe attempts to find generators prone to generating false claims by requesting the name of a US senator given constraints for which there isn’t a senator