toxicity-scorer-qwen / config.json
tcapelle's picture
Upload folder using huggingface_hub
c1d0c89 verified
{
"_name_or_path": "Qwen/Qwen2.5-0.5B",
"architectures": [
"Qwen2ForSequenceClassification"
],
"attention_dropout": 0.0,
"bos_token_id": 151643,
"eos_token_id": 151643,
"hidden_act": "silu",
"hidden_size": 896,
"id2label": {
"0": "Race/Origin",
"1": "Gender/Sex",
"2": "Religion",
"3": "Ability",
"4": "Violence"
},
"initializer_range": 0.02,
"intermediate_size": 4864,
"label2id": {
"Ability": 3,
"Gender/Sex": 1,
"Race/Origin": 0,
"Religion": 2,
"Violence": 4
},
"max_position_embeddings": 32768,
"max_window_layers": 24,
"model_type": "qwen2",
"num_attention_heads": 14,
"num_hidden_layers": 24,
"num_key_value_heads": 2,
"pad_token_id": 151643,
"problem_type": "multi_label_classification",
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000.0,
"sliding_window": null,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.46.3",
"use_cache": true,
"use_mrope": false,
"use_sliding_window": false,
"vocab_size": 151936
}