XGBoost Jailbreak Prediction Model: llama2:7b

XGBoost + TF-IDF classifier for unsafe/jailbreak likelihood in multi-turn conversations.

Evaluation Results (best fold: 5)

Metric Value
F1 0.7429
PR-AUC 0.7525
ROC-AUC 0.9181
Precision 0.9286
Recall 0.6190
Best Threshold 0.50

Training Details

  • Target model: llama2:7b
  • Datasets: HarmBench
  • K-Folds: 5
  • Input format: category + goal + turns
  • TF-IDF ngram_range: (1, 2)
  • TF-IDF max_features: 120000
  • XGBoost n_estimators: 1041
  • XGBoost learning_rate: 0.05506052874003388
  • XGBoost max_depth: 5

Dataset Size (before turn expansion)

Original rows (after cleaning and balancing): 355 (unsafe: 0, safe: 0)

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Evaluation results