CliReNER-roberta-base / config.json
P0L3's picture
Upload 10 files
ad674ae verified
{
"architectures": [
"SpanMarkerModel"
],
"encoder": {
"_attn_implementation_autoset": false,
"_name_or_path": "FacebookAI/roberta-base",
"add_cross_attention": false,
"architectures": [
"RobertaForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"bad_words_ids": null,
"begin_suppress_tokens": null,
"bos_token_id": 0,
"chunk_size_feed_forward": 0,
"classifier_dropout": null,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"diversity_penalty": 0.0,
"do_sample": false,
"early_stopping": false,
"encoder_no_repeat_ngram_size": 0,
"eos_token_id": 2,
"exponential_decay_length_penalty": null,
"finetuning_task": null,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Asset",
"2": "I-Asset",
"3": "B-Body Part",
"4": "I-Body Part",
"5": "B-Body of Water",
"6": "I-Body of Water",
"7": "B-Chemical",
"8": "I-Chemical",
"9": "B-Disease",
"10": "I-Disease",
"11": "B-Ecosystem",
"12": "I-Ecosystem",
"13": "B-Energy Source",
"14": "I-Energy Source",
"15": "B-Field of Study",
"16": "I-Field of Study",
"17": "B-Geographical Feature",
"18": "I-Geographical Feature",
"19": "B-Intellectual Artefact",
"20": "I-Intellectual Artefact",
"21": "B-Location",
"22": "I-Location",
"23": "B-Mathematical Expression",
"24": "I-Mathematical Expression",
"25": "B-Measuring Device",
"26": "I-Measuring Device",
"27": "B-Meteorological Phenomenon",
"28": "I-Meteorological Phenomenon",
"29": "B-Method",
"30": "I-Method",
"31": "B-Natural Disaster",
"32": "I-Natural Disaster",
"33": "B-Natural Phenomenon",
"34": "I-Natural Phenomenon",
"35": "B-Organism",
"36": "I-Organism",
"37": "B-Organization",
"38": "I-Organization",
"39": "B-Other",
"40": "I-Other",
"41": "B-Person",
"42": "I-Person",
"43": "B-Physical Artefact",
"44": "I-Physical Artefact",
"45": "B-Physical Phenomenon",
"46": "I-Physical Phenomenon",
"47": "B-Policy",
"48": "I-Policy",
"49": "B-Quantity",
"50": "I-Quantity",
"51": "B-Satellite",
"52": "I-Satellite",
"53": "B-System",
"54": "I-System",
"55": "B-Time Period",
"56": "I-Time Period"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"B-Asset": 1,
"B-Body Part": 3,
"B-Body of Water": 5,
"B-Chemical": 7,
"B-Disease": 9,
"B-Ecosystem": 11,
"B-Energy Source": 13,
"B-Field of Study": 15,
"B-Geographical Feature": 17,
"B-Intellectual Artefact": 19,
"B-Location": 21,
"B-Mathematical Expression": 23,
"B-Measuring Device": 25,
"B-Meteorological Phenomenon": 27,
"B-Method": 29,
"B-Natural Disaster": 31,
"B-Natural Phenomenon": 33,
"B-Organism": 35,
"B-Organization": 37,
"B-Other": 39,
"B-Person": 41,
"B-Physical Artefact": 43,
"B-Physical Phenomenon": 45,
"B-Policy": 47,
"B-Quantity": 49,
"B-Satellite": 51,
"B-System": 53,
"B-Time Period": 55,
"I-Asset": 2,
"I-Body Part": 4,
"I-Body of Water": 6,
"I-Chemical": 8,
"I-Disease": 10,
"I-Ecosystem": 12,
"I-Energy Source": 14,
"I-Field of Study": 16,
"I-Geographical Feature": 18,
"I-Intellectual Artefact": 20,
"I-Location": 22,
"I-Mathematical Expression": 24,
"I-Measuring Device": 26,
"I-Meteorological Phenomenon": 28,
"I-Method": 30,
"I-Natural Disaster": 32,
"I-Natural Phenomenon": 34,
"I-Organism": 36,
"I-Organization": 38,
"I-Other": 40,
"I-Person": 42,
"I-Physical Artefact": 44,
"I-Physical Phenomenon": 46,
"I-Policy": 48,
"I-Quantity": 50,
"I-Satellite": 52,
"I-System": 54,
"I-Time Period": 56,
"O": 0
},
"layer_norm_eps": 1e-05,
"length_penalty": 1.0,
"max_length": 20,
"max_position_embeddings": 514,
"min_length": 0,
"model_type": "roberta",
"no_repeat_ngram_size": 0,
"num_attention_heads": 12,
"num_beam_groups": 1,
"num_beams": 1,
"num_hidden_layers": 12,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_scores": false,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"remove_invalid_values": false,
"repetition_penalty": 1.0,
"return_dict": true,
"return_dict_in_generate": false,
"sep_token_id": null,
"suppress_tokens": null,
"task_specific_params": null,
"temperature": 1.0,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"top_k": 50,
"top_p": 1.0,
"torch_dtype": null,
"torchscript": false,
"transformers_version": "4.50.0",
"type_vocab_size": 1,
"typical_p": 1.0,
"use_bfloat16": false,
"use_cache": true,
"vocab_size": 50272
},
"entity_max_length": 14,
"id2label": {
"0": "O",
"1": "Asset",
"2": "Body Part",
"3": "Body of Water",
"4": "Chemical",
"5": "Disease",
"6": "Ecosystem",
"7": "Energy Source",
"8": "Field of Study",
"9": "Geographical Feature",
"10": "Intellectual Artefact",
"11": "Location",
"12": "Mathematical Expression",
"13": "Measuring Device",
"14": "Meteorological Phenomenon",
"15": "Method",
"16": "Natural Disaster",
"17": "Natural Phenomenon",
"18": "Organism",
"19": "Organization",
"20": "Other",
"21": "Person",
"22": "Physical Artefact",
"23": "Physical Phenomenon",
"24": "Policy",
"25": "Quantity",
"26": "Satellite",
"27": "System",
"28": "Time Period"
},
"id2reduced_id": {
"0": 0,
"1": 1,
"2": 1,
"3": 2,
"4": 2,
"5": 3,
"6": 3,
"7": 4,
"8": 4,
"9": 5,
"10": 5,
"11": 6,
"12": 6,
"13": 7,
"14": 7,
"15": 8,
"16": 8,
"17": 9,
"18": 9,
"19": 10,
"20": 10,
"21": 11,
"22": 11,
"23": 12,
"24": 12,
"25": 13,
"26": 13,
"27": 14,
"28": 14,
"29": 15,
"30": 15,
"31": 16,
"32": 16,
"33": 17,
"34": 17,
"35": 18,
"36": 18,
"37": 19,
"38": 19,
"39": 20,
"40": 20,
"41": 21,
"42": 21,
"43": 22,
"44": 22,
"45": 23,
"46": 23,
"47": 24,
"48": 24,
"49": 25,
"50": 25,
"51": 26,
"52": 26,
"53": 27,
"54": 27,
"55": 28,
"56": 28
},
"label2id": {
"Asset": 1,
"Body Part": 2,
"Body of Water": 3,
"Chemical": 4,
"Disease": 5,
"Ecosystem": 6,
"Energy Source": 7,
"Field of Study": 8,
"Geographical Feature": 9,
"Intellectual Artefact": 10,
"Location": 11,
"Mathematical Expression": 12,
"Measuring Device": 13,
"Meteorological Phenomenon": 14,
"Method": 15,
"Natural Disaster": 16,
"Natural Phenomenon": 17,
"O": 0,
"Organism": 18,
"Organization": 19,
"Other": 20,
"Person": 21,
"Physical Artefact": 22,
"Physical Phenomenon": 23,
"Policy": 24,
"Quantity": 25,
"Satellite": 26,
"System": 27,
"Time Period": 28
},
"marker_max_length": 256,
"max_next_context": null,
"max_prev_context": null,
"model_max_length": 512,
"model_max_length_default": 512,
"model_type": "span-marker",
"span_marker_version": "1.7.0",
"torch_dtype": "float32",
"trained_with_document_context": false,
"transformers_version": "4.50.0",
"vocab_size": 50272
}