garak vs LM Evaluation Harness
garak
garak.aiLM Evaluation Harness
github.comSide by side
| Figure | garak | LM Evaluation Harness |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · LLM Evaluation Tools | 7.8 (#12) | 7.5 (#17) |
| Purpose | garak is an LLM vulnerability scanner that probes language models and systems using them for security weaknesses. | LM Evaluation Harness is a unified framework for evaluating generative language models across evaluation tasks. |
| Support | The project points users to its user guide, reference documentation, Discord, GitHub issues, and an NVIDIA email address for support. | The project directs users to open a GitHub issue or join the EleutherAI Discord for support. |
Plans
In their own words
garak
garak is a command-line scanner for probing language models and systems that use them for security weaknesses. Its checks cover issues such as hallucination, data leakage, prompt injection, misinformation, toxicity generation, and jailbreaks. Probes try to elicit failures, while detectors inspect responses for patterns such as unsafe content or a failure to refuse. A standard scan can run without supervision and produce a report, with scan settings available for customization. Integrations include OpenAI, Hugging Face, Cohere, Replicate, AWS Bedrock, LiteLLM, REST-accessible models, and custom Python integrations. Hugging Face models can run locally or be accessed through an inference API or private endpoint. Output includes screen results, a detailed report log, a hit log, and a debug log. garak assesses text output only. It is developed in Linux and OSX and can be installed with pip or from source; listed platforms include Linux, macOS, Windows, and self-hosted use. It is free, with a free plan and no free trial. Listed capabilities include custom metrics, LLM-as-a-judge, and safety evaluations.
LM Evaluation Harness
LM Evaluation Harness is a free, open-source framework for evaluating generative language models across many tasks. It lists more than 60 standard academic benchmarks, with hundreds of subtasks and variants. Supported model options include Hugging Face Transformers, GPT-NeoX, Megatron-DeepSpeed, and vLLM. The harness also connects to hosted OpenAI and Anthropic APIs and to local servers compatible with OpenAI APIs. Users can define prompts and metrics, configure tasks with YAML, and extend model backends, filters, metrics, and aggregations through external packages or local modules. Publicly available prompts are intended to support reproducibility and comparison between papers. The base package contains the core framework; model backends are separate optional installs. It runs self-hosted on Linux and API environments, with documented Windows ML and ONNX Runtime accelerator options. MIT licensing applies. APIs without logits or log probabilities are limited to generate-until tasks.