browsesafe / config.json
codelion's picture
Upload BrowseSafe prompt injection classifier (74.9% F1)
5c2bc2d verified
raw
history blame
1.28 kB
{
"config": {
"batch_size": 32,
"cost_coefficients": {},
"cost_function_type": "separable",
"device_map": "auto",
"early_stopping_patience": 3,
"enable_strategic_mode": false,
"epochs": 10,
"ewc_lambda": 100.0,
"gradient_checkpointing": false,
"learning_rate": 0.001,
"max_examples_per_class": 1000,
"max_length": 512,
"min_confidence": 0.1,
"min_examples_per_class": 3,
"neural_weight": 0.3,
"num_representative_examples": 5,
"prototype_update_frequency": 100,
"prototype_weight": 0.7,
"quantization": null,
"similarity_threshold": 0.6,
"strategic_blend_regular_weight": 0.6,
"strategic_blend_strategic_weight": 0.4,
"strategic_lambda": 0.1,
"strategic_prediction_head_weight": 0.5,
"strategic_prediction_proto_weight": 0.5,
"strategic_robust_head_weight": 0.2,
"strategic_robust_proto_weight": 0.8,
"strategic_training_frequency": 10,
"warmup_steps": 0
},
"embedding_dim": 768,
"id_to_label": {
"0": "no",
"1": "yes"
},
"label_to_id": {
"no": 0,
"yes": 1
},
"library_name": "adaptive-classifier",
"model_name": "answerdotai/ModernBERT-base",
"train_steps": 111,
"training_history": {
"no": 5566,
"yes": 5473
}
}