presidio: ValueError: NLP engine 'transformers' is not available.
I am trying to use Transformers based Named Entity Recognition models using the following configuration, Iam getting the following error
configuration = {
"nlp_engine_name": "transformers",
"models": [{
"lang_code": "en",
"model_name": {
"spacy": "en_core_web_sm",
"transformers": "bigcode/starpii",
},
}],
}
ValueError: NLP engine ‘transformers’ is not available. Make sure you have all required packages installed
what else need to be installed ? I have followed as in the documentation
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 19 (9 by maintainers)
Thanks @omri374. That helped.
transformers doesn’t come with the vanilla Presidio installation. Have you installed it with the [transformers] extra?
thankz @omri374