WINOGRANDE: An Adversarial Winograd Schema Challenge at Scale

Reasoning

Set of 273 expert-crafted pronoun resolution problems originally designed to be unsolvable for statistical models that rely on selectional preferences or word associations.

Overview

WinoGrande is a collection of 44k problems inspired by the Winograd Schema Challenge. Formulated as a fill-in-a-blank task with binary options, the goal is to choose the right option for a given sentence which requires commonsense reasoning.

Usage

Installation

There are two ways of using Inspect Evals, from pypi as a dependency of your own project and as a standalone checked out GitHub repository.

If you are using it from pypi, install the package and its dependencies via:

pip install inspect-evals

If you are using Inspect Evals in its repository, start by installing the necessary dependencies with:

uv sync

Running evaluations

Now you can start evaluating models. For simplicity’s sake, this section assumes you are using Inspect Evals from the standalone repo. If that’s not the case and you are not using uv to manage dependencies in your own project, you can use the same commands with uv run dropped.

uv run inspect eval inspect_evals/winogrande --model openai/gpt-5-nano

You can also import tasks as normal Python objects and run them from python:

from inspect_ai import eval
from inspect_evals.winogrande import winogrande
eval(winogrande)

After running evaluations, you can view their logs using the inspect view command:

uv run inspect view

For VS Code, you can also download Inspect AI extension for viewing logs.

If you don’t want to specify the --model each time you run an evaluation, create a .env configuration file in your working directory that defines the INSPECT_EVAL_MODEL environment variable along with your API key. For example:

INSPECT_EVAL_MODEL=anthropic/claude-opus-4-1-20250805
ANTHROPIC_API_KEY=<anthropic-api-key>

Options

You can control a variety of options from the command line. For example:

uv run inspect eval inspect_evals/winogrande --limit 10
uv run inspect eval inspect_evals/winogrande --max-connections 10
uv run inspect eval inspect_evals/winogrande --temperature 0.5

See uv run inspect eval --help for all available options.

Parameters

winogrande

  • dataset_name (str): (default: 'winogrande_xl')
  • fewshot (int): (default: 5)
  • fewshot_seed (int): (default: 42)
  • fewshot_shuffle (bool): (default: True)
  • shuffle (bool): (default: False)

Dataset

Here is an example from the dataset:

Sentence: He never comes to my home, but I always go to his house because the [BLANK] is smaller.

Options: home, house

The model is tasked to fill the [BLANK] with either of the two options.

Evaluation

A simple accuracy is calculated over the datapoints.