Back to Promptfoo

huggingface/pii (Huggingface Pii)

examples/huggingface/pii/README.md

0.121.9361 B
Original Source

huggingface/pii (Huggingface Pii)

You can run this example with:

bash
npx promptfoo@latest init --example huggingface/pii
cd huggingface/pii

Usage

To get started, set your HF_API_TOKEN environment variable.

Next, edit promptfooconfig.yaml.

Then run:

bash
promptfoo eval

Afterwards, you can view the results by running promptfoo view