> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# HF Datasets

> Set up Hugging Face Datasets credentials.

## Credentials

### 1. Pick a Dataset Repo

Browse [huggingface.co/datasets](https://huggingface.co/datasets) and note the
full `namespace/dataset-name` (e.g. `AlienKevin/SWE-ZERO-12M-trajectories`).

Public datasets need no token. Gated/private datasets do.

### 2. Create an Access Token (gated/private only)

1. Go to [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)
2. Create a fine-grained token with **Read** access to the dataset

### 3. Set Environment Variables

```bash theme={null}
# .env.development
HF_DATASET_REPO=AlienKevin/SWE-ZERO-12M-trajectories
HF_TOKEN=hf_...   # optional, public datasets work without it
```

For Python configuration, see the
[HF Datasets resource](/python/resource/hf_datasets) docs.
