Skip to main content

Installation

Fair Forge uses a modular dependency system, allowing you to install only the components you need.

Requirements

  • Python 3.10 or higher
  • uv (recommended) or pip

Basic Installation

Optional Dependencies

Fair Forge provides optional dependency groups for each metric and feature:

Metrics

Features

Combined Extras

Installation Examples

LLM Provider Dependencies

Several metrics require LangChain-compatible chat models. Install your preferred provider:

Development Installation

For contributing to Fair Forge:

Verifying Installation

Troubleshooting

Install the toxicity extras:
Install your preferred LLM provider:
For CPU-only installation:
Ensure you’re using Python 3.10+:

Next Steps

Quickstart

Run your first evaluation

Core Concepts

Understand the architecture