You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've been stuck with these error when i'm trying to run the example code i found form the guardrails-ai website and github.
i followed the instruction on https://www.guardrailsai.com/docs/getting_started/quickstart, which i pip install guardrails-ai and guardrails configure, then everytime when i try to run "from guardrails.hub import ProfanityFree" i got this error :
ImportError: cannot import name 'ProfanityFree' from 'guardrails.hub' (/usr/local/lib/python3.10/dist-packages/guardrails/hub/init.py)
i've tried many ways to deal with it, such as !python -m spacy download en_core_web_sm or viewing the Guardrails hub downlaod path and the files within the package, but none of them works.
the OSError seem to be related to the previous error, i encounter this freuqently when i'm installing thing related to Dbias :
OSError: [E050] Can't find model 'en_pipeline'. It doesn't seem to be a Python package or a valid path to a data directory
i've try install the missing packages chatgpt suggested me, but still stuck here
i'm coding in google colab by the way
it'll be realy helpful if someone can provide a comperhensive code for installing and runing guardrail-ai validator
any comments and suggestions will be appreciated.
The text was updated successfully, but these errors were encountered:
hi could you try guardrails hub uninstall hub://guardrails/profanity_free it looks like there might have been an error with its installation and its blocking the initialization of the rest of the library
the OSError seem to be related to the previous error, i encounter this freuqently when i'm installing thing related to Dbias :
OSError: [E050] Can't find model 'en_pipeline'.
The following might work: pip install https://huggingface.co/d4data/en_pipeline/resolve/main/en_pipeline-any-py3-none-any.whl
@dtam it works(solve the previous import error), thanks a lot
@AlejandroEsquivel i tried install it by pip install and download it then install with path, but both way encounterd the below error
ERROR: Invalid requirement: 'en-pipeline==any': Expected end or semicolon (after name and no valid version specifier) en-pipeline==any
i've been stuck with these error when i'm trying to run the example code i found form the guardrails-ai website and github.
i followed the instruction on https://www.guardrailsai.com/docs/getting_started/quickstart, which i pip install guardrails-ai and guardrails configure, then everytime when i try to run "from guardrails.hub import ProfanityFree" i got this error :
ImportError: cannot import name 'ProfanityFree' from 'guardrails.hub' (/usr/local/lib/python3.10/dist-packages/guardrails/hub/init.py)
i've tried many ways to deal with it, such as !python -m spacy download en_core_web_sm or viewing the Guardrails hub downlaod path and the files within the package, but none of them works.
the OSError seem to be related to the previous error, i encounter this freuqently when i'm installing thing related to Dbias :
OSError: [E050] Can't find model 'en_pipeline'. It doesn't seem to be a Python package or a valid path to a data directory
i've try install the missing packages chatgpt suggested me, but still stuck here
i'm coding in google colab by the way
it'll be realy helpful if someone can provide a comperhensive code for installing and runing guardrail-ai validator
any comments and suggestions will be appreciated.
The text was updated successfully, but these errors were encountered: