Nawah-RuleCheck-5M / config.json
oddadmix's picture
Arabic rule-checking classifier — size-ladder rung
0655de3 verified
Raw
History Blame Contribute Delete
925 Bytes
{
"architectures": [
"LlamaForSequenceClassification"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 0,
"dtype": "float32",
"eos_token_id": 2,
"head_dim": 32,
"hidden_act": "silu",
"hidden_size": 128,
"initializer_range": 0.02,
"intermediate_size": 384,
"max_position_embeddings": 2048,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 4,
"num_hidden_layers": 5,
"num_key_value_heads": 2,
"pad_token_id": 1,
"pretraining_tp": 1,
"problem_type": "single_label_classification",
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 10000,
"rope_type": "default"
},
"tie_word_embeddings": true,
"transformers_version": "5.15.1",
"use_cache": false,
"vocab_size": 32000,
"id2label": {
"0": "مخالف",
"1": "مطابق"
},
"label2id": {
"مخالف": 0,
"مطابق": 1
},
"num_labels": 2
}