How to use other models

#1
by rpalmer123 - opened

Hello all,
Thanks to the creators of Presidio, I am using it with great success in my project.
My question is, when you instantiate an AnalyzerEngine object, it defaults to using the spaCy model.
Is there a simple way to get the analyzer using the Hugging Face obi_roberta_i2b2 model? From testing with the demo, I find that model gives better results on my data set.
I've been through the demo code and can't make heads or tails of it, obviously whomever wrote it was quite a bit brighter than I.
Thanks for any advice you can offer.

Sign up or log in to comment