Playground example errors out with `can't find model zh_core_web_sm` for Anonymize scanner

#3
by sudormrfbin - opened

Running the default example in https://huggingface.co/spaces/protectai/llm-guard-playground gives the following error while applying the Anonymize scanner.

[E050] Can't find model 'zh_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.
  • Prompt example: pii_data.txt
  • Type: prompt

Removing the Anonymize scanner allows the example to run, which leads me to believe that the problem is specifically with this particular scanner.

  • Default example
    image.png
  • Only Anonymize scanner
    image.png

Sign up or log in to comment