Use Huggingface model as entity extractor insted of DIETClassifier

Hey Everyone How can I use a Hugging Face model as an entity extractor in my Rasa chatbot instead of the default DIETClassifier? I want to leverage the power of Hugging Face models for entity extraction in my project.

You can find docs on entity extractors here and there is a comment about how to use huggingface models on that page.

Thanks for your response, But the comment is about using a huggingface model as a feature extractor, not as an Entity extractor