Ammar-alhaj-ali's picture
Update config.json
93d47c5
raw
history blame
2.12 kB
{
"_name_or_path": "UBC-NLP/MARBERT",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"directionality": "bidi",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "البسيط",
"1": "الخفيف",
"2": "الدوبيت",
"3": "الرجز",
"4": "الرمل",
"5": "السريع",
"6": "السلسلة",
"7": "الطويل",
"8": "الكامل",
"9": "المتدارك",
"10": "المتقارب",
"11": "المجتث",
"12": "المديد",
"13": "المضارع",
"14": "المقتضب",
"15": "المنسرح",
"16": "المواليا",
"17": "الهزج",
"18": "الوافر",
"19": "شعر التفعيلة",
"20": "شعر حر",
"21": "عامي",
"22": "موشح"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"البسيط": 0,
"الخفيف": 1,
"المتقارب": 10,
"المجتث": 11,
"المديد": 12,
"المضارع": 13,
"المقتضب": 14,
"المنسرح": 15,
"المواليا": 16,
"الهزج": 17,
"الوافر": 18,
"شعر التفعيلة": 19,
"الدوبيت": 2,
"شعر حر": 20,
"عامي": 21,
"موشح": 22,
"الرجز": 3,
"الرمل": 4,
"السريع": 5,
"السلسلة": 6,
"الطويل": 7,
"الكامل": 8,
"المتدارك": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.20.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 100000
}