v0.9.0.4

NVIDIA/garakv0.9.0.4Jul 4, 2023by leondz

AI Summary

Adds a new Hugging Face model generator and improves the auto-red-team module with better progress tracking.

Key Highlights

  • New generator for loading Hugging Face models directly
  • Full exchange capture and progress tracking in auto-red-team
  • Improved error handling for OpenAI server-side errors
  • Custom reporting locations support

Breaking Changes

  • Removed default random seed

New Features

  • Hugging Face direct model generator
  • Auto-red-team progress tracking
  • Custom reporting locations
  • Module documentation

Full Release Notes

# New in `garak`

Happy 4th! πŸ‡ΊπŸ‡ΈπŸŽ†

* full exchange capture and better progress tracking in the auto-red-team module (`probes.art`)
* new generator: load Hugging Face models directly instead of via `transformers.pipeline`
* handle OpenAI server-side errors more gracefully
* remove default random seed
* support custom reporting locations with `--report_prefix` option
* add module documentation