Text Classification
Transformers
ONNX
Safetensors
multilingual
xlm-roberta
privacy
pii-detection
text-embeddings-inference
Instructions to use Roblox/roblox-pii-classifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roblox/roblox-pii-classifier-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Roblox/roblox-pii-classifier-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Roblox/roblox-pii-classifier-v2") model = AutoModelForSequenceClassification.from_pretrained("Roblox/roblox-pii-classifier-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#2
by jordansren - opened
README.md
CHANGED
|
@@ -14,14 +14,14 @@ datasets:
|
|
| 14 |
- nvidia/Nemotron-PII
|
| 15 |
---
|
| 16 |
|
| 17 |
-
# Roblox PII Classifier v2
|
| 18 |
|
| 19 |
## Overview
|
| 20 |
We present `Roblox/roblox-pii-classifier-v2`, an upgraded, context-aware PII (Personally Identifiable Information) detection model. Built on the [XLM-RoBERTa-Large](https://huggingface.co/xlm-roberta-large) architecture, v2 is designed to identify attempts to share or solicit personal information across complex, multi-user conversations.
|
| 21 |
|
| 22 |
Unlike its predecessor and other NER models, **v2 evaluates text within its surrounding conversational context**, allowing it to detect sophisticated, adversarial bypass attempts (e.g., collaborative PII exchange, phonetic spelling, implicit references) while drastically reducing false positives. It is intended for use in casual conversations, ensuring freedom of speech while also maintaining safety.
|
| 23 |
|
| 24 |
-
## What’s New in v2
|
| 25 |
|
| 26 |
* **Conversational Context Integration:** Evaluates target messages within the broader multi-user chat context, eliminating ambiguity inherent in isolated messages.
|
| 27 |
* **Massive Multilingual Expansion:** Broadened synthetic data generation and fine-tuning capabilities to expand language coverage from **17 to 189 languages**.
|
|
|
|
| 14 |
- nvidia/Nemotron-PII
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Roblox PII Classifier v2
|
| 18 |
|
| 19 |
## Overview
|
| 20 |
We present `Roblox/roblox-pii-classifier-v2`, an upgraded, context-aware PII (Personally Identifiable Information) detection model. Built on the [XLM-RoBERTa-Large](https://huggingface.co/xlm-roberta-large) architecture, v2 is designed to identify attempts to share or solicit personal information across complex, multi-user conversations.
|
| 21 |
|
| 22 |
Unlike its predecessor and other NER models, **v2 evaluates text within its surrounding conversational context**, allowing it to detect sophisticated, adversarial bypass attempts (e.g., collaborative PII exchange, phonetic spelling, implicit references) while drastically reducing false positives. It is intended for use in casual conversations, ensuring freedom of speech while also maintaining safety.
|
| 23 |
|
| 24 |
+
## What’s New in v2?
|
| 25 |
|
| 26 |
* **Conversational Context Integration:** Evaluates target messages within the broader multi-user chat context, eliminating ambiguity inherent in isolated messages.
|
| 27 |
* **Massive Multilingual Expansion:** Broadened synthetic data generation and fine-tuning capabilities to expand language coverage from **17 to 189 languages**.
|