Instructions to use fastino/GLiNER2-Guardrails-PII-Multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/GLiNER2-Guardrails-PII-Multi with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("fastino/GLiNER2-Guardrails-PII-Multi") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
Demo for this model on Spaces
Hi @fastino 🤗
I'm Apolinario, from the open-source team at Hugging Face. Congrats and thanks for open-sourcing fastino/GLiNER2-Guardrails-PII-Multi on the Hub! We were excited about this work and built with an agent an interactive demo app of it on Hugging Face Spaces, running on a free ZeroGPU infrastructure.
Here's a link to the demo: https://huggingface.co/spaces/hugging-apps/gliner2-guardrails-pii-multi
We would love to transfer this demo to you or your organization. Would you like this demo to live under your own account or organization? If so just let me know here which username to transfer to, and we'll transfer the Space over to you, we hope it can give your work more visibility, discoverability and allows folks to try it out.
(If you have any questions or just want to chat more about this, you can find me on Twitter, LinkedIn or apolinario @ huggingface.co)
Cheers,
Poli
Hi Poli! 🤗 @multimodalart
Thanks so much for this, really appreciate the effort you put into building the demo, and glad the work caught your attention. Please feel free transfer it to fastino, and let me know if you need anything from our side side
Urchade
No worries! Thanks again for contributing to open source 🤗
Transferred: https://huggingface.co/spaces/fastino/gliner2-guardrails-pii-multi - please move it to public (it's currently private atm as per your org's config)
Once public, feel free to post about, put the demo on the project page, reference it on repos, etc. as you wish
Also, feel more than free to take ownership and make modifications as you see fit. For future releases from you, would be great if they already came with a demos! You can use this one as a blueprint to build by yourself or with the help of an agent, you can load the huggingface-spaces skill on Claude Code, Codex, Pi, etc.