darija-classifier / config.json
elghafiani's picture
Upload folder using huggingface_hub
1f703c1 verified
Raw
History Blame Contribute Delete
2.56 kB
{
"add_cross_attention": false,
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"classifier_dropout": null,
"cls_token": "[CLS]",
"do_lower_case": true,
"dtype": "float32",
"eos_token_id": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "arent_buying",
"1": "asking_about_cheking_the_product",
"2": "asking_about_fixing_mirrors",
"3": "asking_about_our_location",
"4": "asking_for_names",
"5": "asking_for_reduction",
"6": "asking_for_time_to_decide",
"7": "asking_where_to_put_the_product",
"8": "color_request",
"9": "inquiring_about_available_products",
"10": "inquiring_about_delivery_cost",
"11": "inquiring_about_delivery_locations",
"12": "inquiring_about_delivery_reduction",
"13": "inquiring_about_delivery_time",
"14": "inquiring_about_qualities_of_the_product",
"15": "inquiring_about_size",
"16": "inquiring_about_the_product_price",
"17": "no",
"18": "saying_thanks",
"19": "send_more_images",
"20": "want_to_buy",
"21": "yes"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"arent_buying": 0,
"asking_about_cheking_the_product": 1,
"asking_about_fixing_mirrors": 2,
"asking_about_our_location": 3,
"asking_for_names": 4,
"asking_for_reduction": 5,
"asking_for_time_to_decide": 6,
"asking_where_to_put_the_product": 7,
"color_request": 8,
"inquiring_about_available_products": 9,
"inquiring_about_delivery_cost": 10,
"inquiring_about_delivery_locations": 11,
"inquiring_about_delivery_reduction": 12,
"inquiring_about_delivery_time": 13,
"inquiring_about_qualities_of_the_product": 14,
"inquiring_about_size": 15,
"inquiring_about_the_product_price": 16,
"no": 17,
"saying_thanks": 18,
"send_more_images": 19,
"want_to_buy": 20,
"yes": 21
},
"layer_norm_eps": 1e-12,
"mask_token": "[MASK]",
"max_len": 128,
"max_position_embeddings": 512,
"model_max_length": 128,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token": "[PAD]",
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"sep_token": "[SEP]",
"tie_word_embeddings": true,
"transformers_version": "5.0.0",
"type_vocab_size": 2,
"unk_token": "[UNK]",
"use_cache": false,
"vocab_size": 110000
}