nlpso's picture
Load model and tokenizer
e4211ec
{
"_name_or_path": "Jean-Baptiste/camembert-ner",
"architectures": [
"CamembertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 5,
"classifier_dropout": null,
"eos_token_id": 6,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O+O",
"1": "I-PER+O",
"2": "I-PER+i_TITREH",
"3": "I-ACT+O",
"4": "I-DESC+O",
"5": "I-DESC+i_ACT",
"6": "I-DESC+i_TITREP",
"7": "I-SPAT+O",
"8": "I-SPAT+i_LOC",
"9": "I-SPAT+i_CARDINAL",
"10": "I-SPAT+i_FT",
"11": "I-TITRE+O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"I-ACT+O": 3,
"I-DESC+O": 4,
"I-DESC+i_ACT": 5,
"I-DESC+i_TITREP": 6,
"I-PER+O": 1,
"I-PER+i_TITREH": 2,
"I-SPAT+O": 7,
"I-SPAT+i_CARDINAL": 9,
"I-SPAT+i_FT": 10,
"I-SPAT+i_LOC": 8,
"I-TITRE+O": 11,
"O+O": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "camembert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 32005
}