sensitivity-scanner-v6 / config.json
JACA369's picture
Add v6 browser build (fp16 ONNX)
40ce164 verified
Raw History Blame Contribute Delete
2.25 kB
{
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"dtype": "float16",
"eos_token_id": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 384,
"initializer_range": 0.02,
"intermediate_size": 1536,
"layer_norm_eps": 1e-07,
"legacy": true,
"max_position_embeddings": 512,
"max_relative_positions": -1,
"model_type": "deberta-v2",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 6,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooler_dropout": 0.0,
"pooler_hidden_act": "gelu",
"pooler_hidden_size": 384,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"tie_word_embeddings": true,
"transformers_version": "5.19.0",
"type_vocab_size": 0,
"vocab_size": 128011,
"architectures": [
"DebertaV2Model"
],
"gliner2": {
"description": "Classification path of finetune/out/small-ft-v6/best: encoder, hidden state at each [L] label marker, classifier MLP, one logit per label.",
"special_tokens": [
"[SEP_STRUCT]",
"[SEP_TEXT]",
"[P]",
"[C]",
"[E]",
"[R]",
"[L]",
"[EXAMPLE]",
"[OUTPUT]",
"[DESCRIPTION]"
],
"max_len": 512,
"temperature": 1.0,
"inputs": "input_ids, attention_mask, marker_positions (index of each [L] token)",
"output": "logits (batch, markers); softmax within each question's markers",
"labels": {
"medical": "Health, medical, or mental-health details about a specific person",
"student_records": "Grades, conduct, advising, accommodations, or other FERPA records about a named student",
"id_numbers": "Social Security, passport, driver's license, visa, or other ID numbers",
"financial": "Bank accounts, card numbers, salaries, income, or payroll for a specific person",
"credentials": "Real passwords, API keys, private keys, or login secrets",
"legal_hr": "Legal, HR, disciplinary, harassment, criminal, or immigration matters about a person",
"none": "None of these: general, public, aggregate, fictional, redacted, or placeholder content"
},
"source": "finetune/out/small-ft-v6/best"
}
}