rafaelm47labs's picture
Modified model and configuration, correct output labels
c41a7de
{
"_name_or_path": "dbmdz/bert-base-italian-cased",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "arts, culture, entertainment and media",
"1": "conflict, war and peace",
"2": "crime, law and justice",
"3": "disaster, accident and emergency incident",
"4": "economy, business and finance",
"5": "enviroment",
"6": "health",
"7": "labour",
"8": "lifestyle and leisure",
"9": "science and technology",
"10": "society",
"11": "sport",
"12": "weather"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"arts, culture, entertainment and media": 0,
"conflict, war and peace": 1,
"crime, law and justice": 2,
"disaster, accident and emergency incident": 3,
"economy, business and finance": 4,
"enviroment": 5,
"health": 6,
"labour": 7,
"lifestyle and leisure": 8,
"science and technology": 9,
"society": 10,
"sport": 11,
"weather": 12
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.10.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 31102
}