nlpso's picture
Load model and tokenizer
2fde8c8
{
"_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",
"1": "I-PER",
"2": "I-DESC",
"3": "I-TITRE",
"4": "I-SPAT",
"5": "I-TITREH",
"6": "I-TITREP",
"7": "I-ACT",
"8": "I-LOC",
"9": "I-CARDINAL",
"10": "I-FT",
"11": "B-PER",
"12": "B-DESC",
"13": "B-TITRE",
"14": "B-SPAT",
"15": "B-TITREH",
"16": "B-TITREP",
"17": "B-ACT",
"18": "B-LOC",
"19": "B-CARDINAL",
"20": "B-FT"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ACT": 17,
"B-CARDINAL": 19,
"B-DESC": 12,
"B-FT": 20,
"B-LOC": 18,
"B-PER": 11,
"B-SPAT": 14,
"B-TITRE": 13,
"B-TITREH": 15,
"B-TITREP": 16,
"I-ACT": 7,
"I-CARDINAL": 9,
"I-DESC": 2,
"I-FT": 10,
"I-LOC": 8,
"I-PER": 1,
"I-SPAT": 4,
"I-TITRE": 3,
"I-TITREH": 5,
"I-TITREP": 6,
"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
}