Views
No views yet
FacebookAI/xlm-roberta-base (no LoRA). Part of the v2 rebuild on a
provenance-aware train/val/test methodology; supersedes the deprecated v1.⚠️ Validation caveat. This model was trained with gold-in-train: ~413 rows of the production.odsacceptance set are in the training split, so the standard acceptance gate against the full.odsis not a clean check and was skipped for this upload. It is validated only on the held-out 20% gold-test slice below. The.odsis a curated 886-prompt set, not live production traffic — treat these numbers as a proxy and confirm on real traffic before relying on the model.
| Field | Value |
|---|---|
| Base model | FacebookAI/xlm-roberta-base |
| Task / policy | crisis_help_detector / crisis-help-production-v2 (production-v2) |
| Languages | es, gl |
| Labels | 0 = negative/pass, 1 = positive/flag |
| Decision threshold | 0.9900 |
| Temperature (Guo et al. 2017) | 1.4116 |
| Calibration slice | val (recall=0.9970059880239521, fp=0.0010298661174047373) |
| Dataset slug | v2-crisis_help_detector-seed20260526 |
.ods slice unseen in training)| Operating point | recall | FP | ROC-AUC | acceptance |
|---|---|---|---|---|
| shipped (threshold=0.990, val-calibrated) | 1.0 | 0.0 | 1.0 | ✅ |
| gold-recalibrated (threshold=0.99) | 1.0 | 0.0 | — | ✅ |
reports/v2/crisis_help_detector_lr_check_goldtrain.json.eval_loss)| source | rows |
|---|---|
| chitchat | 1880 |
| prod_medical_queries | 1812 |
| prod_crisis_positives | 1648 |
| snomed_clinical | 1451 |
| balidea_malign | 660 |
| ods | 413 |
| translated_aimh-crisis | 204 |
| author_seeds | 97 |
1from safeguard.inference import SafeguardClassifier # applies temperature + threshold
2
3clf = SafeguardClassifier("crisis_help_detector-v2") # or a local path / this repo id
4print(clf.predict_detailed(["texto a clasificar"]))1from transformers import AutoModelForSequenceClassification, AutoTokenizer
2model = AutoModelForSequenceClassification.from_pretrained("REPO_ID")
3tokenizer = AutoTokenizer.from_pretrained("REPO_ID")