Diego Carpintero
dcarpintero
AI & ML interests
AI Engineering
Recent Activity
published an article about 14 hours ago
The Zero-Trust Gap in LLMs, How Encoders Can Protect Your AI updated a Space 30 days ago
dcarpintero/pangolin liked a model about 1 month ago
facebook/sam3Organizations
published an article about 14 hours ago
Article
upvoted a collection 5 months ago
published an article 8 months ago
Article
Design Patterns for Building Agentic Workflows
•
10
published an article about 1 year ago
Article
PangolinGuard: Fine-Tuning ModernBERT as a Lightweight Approach to AI Guardrails
•
13
upvoted an article about 1 year ago
Article
Training and Finetuning Reranker Models with Sentence Transformers
•
191
commented on Finally, a Replacement for BERT: Introducing ModernBERT about 1 year ago
Well done! Just sharing PangolinGuard, a fine-tuned model from ModernBERT-large aimed at implementing AI guardrails. Despite its small size, the model closely approximates the performance of Claude 3.7 and Gemini Flash 2.0 on a mixed benchmark (based on BIPIA, NotInject, Wildguard-Benign and PINT). I believe this could provide a lightweight, inexpensive approach for (i) adding custom, self-hosted safety checks, (ii) steering conversations to compliant topics, and (iii) mitigating risks when connecting AI pipelines to external services.
If someone wants to explore the use of ModernBERT for AI safety, feel free to get in touch:
📝 article | 🤗 hf-space | repo
Article
Finally, a Replacement for BERT: Introducing ModernBERT


- +13
•
739
Article
PangolinGuard: Fine-Tuning ModernBERT as a Lightweight Approach to AI Guardrails
•
13