italian-legal-ner / config.json
fabiod20's picture
Initial commit
f723dab
raw
history blame
1.56 kB
{
"_name_or_path": "/content/drive/MyDrive/models/electra-base-italian-xxl-cased-discriminator/checkpoint-4065",
"architectures": [
"ElectraForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"embedding_size": 768,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "I-AVV",
"1": "I-CNS",
"2": "B-RIC",
"3": "I-SNT",
"4": "B-CNS",
"5": "B-PMI",
"6": "B-AVV",
"7": "I-RCR",
"8": "B-DOM",
"9": "B-CTR",
"10": "I-CTR",
"11": "B-SNT",
"12": "I-DOM",
"13": "I-RIC",
"14": "B-RCR",
"15": "I-CDA",
"16": "I-PMI",
"17": "O",
"18": "B-CDA"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-AVV": 6,
"B-CDA": 18,
"B-CNS": 4,
"B-CTR": 9,
"B-DOM": 8,
"B-PMI": 5,
"B-RCR": 14,
"B-RIC": 2,
"B-SNT": 11,
"I-AVV": 0,
"I-CDA": 15,
"I-CNS": 1,
"I-CTR": 10,
"I-DOM": 12,
"I-PMI": 16,
"I-RCR": 7,
"I-RIC": 13,
"I-SNT": 3,
"O": 17
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "electra",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"summary_activation": "gelu",
"summary_last_dropout": 0.1,
"summary_type": "first",
"summary_use_proj": true,
"torch_dtype": "float32",
"transformers_version": "4.16.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 31102
}