Text Classification
Transformers
ONNX
Safetensors
multilingual
xlm-roberta
privacy
pii-detection
text-embeddings-inference
Instructions to use Roblox/roblox-pii-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roblox/roblox-pii-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Roblox/roblox-pii-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Roblox/roblox-pii-classifier") model = AutoModelForSequenceClassification.from_pretrained("Roblox/roblox-pii-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
10b5f14
1
Parent(s): 5996110
add blog post link
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ library_name: transformers
|
|
| 12 |
## Roblox PII Classifier
|
| 13 |
|
| 14 |
We present `Roblox/roblox-pii-classifier`, a PII detection classification model that can be used for identifying attempts to share or solicit personally identifiable information in text. The model has been fine-tuned on the [XLM-RoBERTa-Large](https://huggingface.co/xlm-roberta-large) architecture for [multilingual support](https://arxiv.org/pdf/1911.02116).
|
| 15 |
-
All the model training has been conducted with Roblox anonymized internal text datasets labeled by experts and AI generated conversations. More details can be found in the [Tech Blog Post].
|
| 16 |
|
| 17 |
The model classifies text into two PII-related categories in a multi-label fashion. The class labels are as follows: `privacy_asking_for_pii` and `privacy_giving_pii`.
|
| 18 |
- **PRIVACY_ASKING_FOR_PII**: Attempting to obtain personal identifying information (PII) through direct questions or insinuation.
|
|
@@ -31,7 +31,7 @@ The table below displays evaluation metrics on internal held-out datasets and co
|
|
| 31 |
|NemoGuard 8B|3.26%|26.29%|No multilingual support|
|
| 32 |
|Piiranha NER|33.20%|13.88%|9.11%|
|
| 33 |
|
| 34 |
-
It is worth noting that the model is specifically designed to understand context and detect adversarial patterns where users attempt to bypass filters through creative spelling, character substitution, or implicit references. It focus on conversational context of asking/sharing PII rather than traditional focus on named-entity recognition, and is especially good at detecting subtle attempts to solicit or share PII even when explicit personal information is not present in the text. More technical details can be found in the Tech Blog Post.
|
| 35 |
|
| 36 |
|
| 37 |
## Usage
|
|
|
|
| 12 |
## Roblox PII Classifier
|
| 13 |
|
| 14 |
We present `Roblox/roblox-pii-classifier`, a PII detection classification model that can be used for identifying attempts to share or solicit personally identifiable information in text. The model has been fine-tuned on the [XLM-RoBERTa-Large](https://huggingface.co/xlm-roberta-large) architecture for [multilingual support](https://arxiv.org/pdf/1911.02116).
|
| 15 |
+
All the model training has been conducted with Roblox anonymized internal text datasets labeled by experts and AI generated conversations. More details can be found in the [Tech Blog Post](https://corp.roblox.com/newsroom/2025/11/open-sourcing-roblox-pii-classifier-ai-pii-detection-chat).
|
| 16 |
|
| 17 |
The model classifies text into two PII-related categories in a multi-label fashion. The class labels are as follows: `privacy_asking_for_pii` and `privacy_giving_pii`.
|
| 18 |
- **PRIVACY_ASKING_FOR_PII**: Attempting to obtain personal identifying information (PII) through direct questions or insinuation.
|
|
|
|
| 31 |
|NemoGuard 8B|3.26%|26.29%|No multilingual support|
|
| 32 |
|Piiranha NER|33.20%|13.88%|9.11%|
|
| 33 |
|
| 34 |
+
It is worth noting that the model is specifically designed to understand context and detect adversarial patterns where users attempt to bypass filters through creative spelling, character substitution, or implicit references. It focus on conversational context of asking/sharing PII rather than traditional focus on named-entity recognition, and is especially good at detecting subtle attempts to solicit or share PII even when explicit personal information is not present in the text. More technical details can be found in the [Tech Blog Post](https://corp.roblox.com/newsroom/2025/11/open-sourcing-roblox-pii-classifier-ai-pii-detection-chat).
|
| 35 |
|
| 36 |
|
| 37 |
## Usage
|