/ Модель

Характеристики

Контекст
514 токенов
Параметры
659 млн
Лицензия
Apache 2.0
Архитектура
xlm-roberta · dense
Базовая модель
xlm-roberta-large
Библиотека
transformers
Опубликована
27 окт 2025

roblox-pii-classifier

Классификация текстаТекст → label3 профессии

Мультиязычный классификатор Roblox выявляет в тексте попытки запросить или раскрыть персональные данные для задач модерации.

72скачиваний за 30 дней31лайквеса обновлены19 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Roblox PII Classifier — мультиязычный классификатор текста от Roblox, дообученный на архитектуре XLM-RoBERTa-Large. Он определяет попытки запросить или передать персональные данные, включая контактную информацию и учётные данные, а также попытки увести собеседника с платформы на внешнюю площадку или в реальное место. Модель выдаёт отдельные оценки для классов privacy_asking_for_pii и privacy_giving_pii.

Модель предназначена для модерации чатов и выявления обхода фильтров с помощью необычного написания, замены символов и косвенных формулировок. Она принимает текст длиной до 512 токенов; выходные оценки не калиброваны. Порог, рекомендованный для обнаружения PII в англоязычных анонимизированных чатах Roblox, может не переноситься на другие данные и языки. Модель распространяется по лицензии Apache-2.0.

Сценарии применения

  • выявление запросов чужих персональных данных в чате
  • обнаружение публикации телефонов, адресов электронной почты и учётных данных
  • модерация попыток увести собеседника с платформы
  • поиск обхода фильтров через замену символов и необычное написание

Ограничения

Оценки модели не калиброваны, а рекомендованные пороги подобраны для англоязычных анонимизированных чатов Roblox и могут не подходить для других данных. Максимальная длина входа — 512 токенов.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Roblox PII Classifier

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 architecture for multilingual support. All the model training has been conducted with Roblox anonymized internal text datasets labeled by experts and AI generated conversations. The specifcs of AI synthetic data generation can be found in the Tech Blog Post.

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.

  • PRIVACY_ASKING_FOR_PII: Attempting to obtain personal identifying information (PII) through direct questions or insinuation.
  • PRIVACY_GIVING_PII: Sharing or threatening to share someone's personal identifying information (PII), including but not limited to telephone numbers, email addresses, government ID numbers, social media handles, and account passwords/credentials. This category also includes attempts to direct a user off-platform to an external platform or real-world location (DUOP).

The classifier expects text input with a maximum sequence length of 512 tokens. The outputs are uncalibrated scores. The recommended cutoff for pii detection is when the sum of both categories max(privacy_asking_for_pii, privacy_giving_pii) >= 0.2691, which achives the optimal F1 score on Roblox English anonymized chat. For per-category cutoffs we recommend privacy_asking_for_pii >= 0.2 and privacy_giving_pii >= 0.3.

The table below displays evaluation metrics on internal held-out datasets and comparisons with other state-of-the-art models.

ModelF1 Score (Kaggle PII dataset)F1 Score (Roblox Annonymized English Chat)F1 Score (Roblox Annonymized All Languages Chat)
PII Classifier v1.145.48%94.34%83.10%
LlamaGuard v3 1B5.90%3.17%20.88%
LlamaGuard v3 8B5.46%27.73%0.03%
LlamaGuard v4 12B3.72%26.55%0.08%
NemoGuard 8B3.26%26.29%No multilingual support
Piiranha NER33.20%13.88%9.11%

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.

Usage

The dependencies for the inference file can be installed as follows:

pip install -r requirements.txt

The provided Python file demonstrates how to use the classifier with text input. To run the inference, please run the following command:

python inference.py --input_file <your text file path> --model_path <path to Huggingface model>

If model_path isn't specified, the model will be loaded directly from HuggingFace.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · text-classification

Можно запустить

Подбираем GPU…

Класс архитектуры
XLMRobertaForSequenceClassification
Ревизия весов
253c205

0 моделей