tmwstw7's picture
macpaw-research/mnemos_entity_extractor_v1_small
3e3b1e0 verified
{
"architectures": [
"SpanMarkerModel"
],
"encoder": {
"_attn_implementation_autoset": false,
"_name_or_path": "bert-base-cased",
"add_cross_attention": false,
"architectures": [
"BertForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"bad_words_ids": null,
"begin_suppress_tokens": null,
"bos_token_id": null,
"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": null,
"exponential_decay_length_penalty": null,
"finetuning_task": null,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-action",
"2": "B-app_data_type",
"3": "B-app_name",
"4": "B-contact_info",
"5": "B-date",
"6": "B-event_title",
"7": "B-file_name",
"8": "B-file_size",
"9": "B-file_type",
"10": "B-folder_name",
"11": "B-in_file_data",
"12": "B-limits",
"13": "B-location",
"14": "B-person_name",
"15": "B-relationship",
"16": "B-setting",
"17": "B-system_command",
"18": "B-time",
"19": "I-action",
"20": "I-app_data_type",
"21": "I-app_name",
"22": "I-contact_info",
"23": "I-date",
"24": "I-event_title",
"25": "I-file_name",
"26": "I-file_size",
"27": "I-file_type",
"28": "I-folder_name",
"29": "I-in_file_data",
"30": "I-limits",
"31": "I-location",
"32": "I-person_name",
"33": "I-relationship",
"34": "I-setting",
"35": "I-system_command",
"36": "I-time"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"B-action": 1,
"B-app_data_type": 2,
"B-app_name": 3,
"B-contact_info": 4,
"B-date": 5,
"B-event_title": 6,
"B-file_name": 7,
"B-file_size": 8,
"B-file_type": 9,
"B-folder_name": 10,
"B-in_file_data": 11,
"B-limits": 12,
"B-location": 13,
"B-person_name": 14,
"B-relationship": 15,
"B-setting": 16,
"B-system_command": 17,
"B-time": 18,
"I-action": 19,
"I-app_data_type": 20,
"I-app_name": 21,
"I-contact_info": 22,
"I-date": 23,
"I-event_title": 24,
"I-file_name": 25,
"I-file_size": 26,
"I-file_type": 27,
"I-folder_name": 28,
"I-in_file_data": 29,
"I-limits": 30,
"I-location": 31,
"I-person_name": 32,
"I-relationship": 33,
"I-setting": 34,
"I-system_command": 35,
"I-time": 36,
"O": 0
},
"layer_norm_eps": 1e-12,
"length_penalty": 1.0,
"max_length": 20,
"max_position_embeddings": 512,
"min_length": 0,
"model_type": "bert",
"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": 0,
"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.51.3",
"type_vocab_size": 2,
"typical_p": 1.0,
"use_bfloat16": false,
"use_cache": true,
"vocab_size": 29000
},
"entity_max_length": 12,
"id2label": {
"0": "O",
"1": "action",
"2": "app_data_type",
"3": "app_name",
"4": "contact_info",
"5": "date",
"6": "event_title",
"7": "file_name",
"8": "file_size",
"9": "file_type",
"10": "folder_name",
"11": "in_file_data",
"12": "limits",
"13": "location",
"14": "person_name",
"15": "relationship",
"16": "setting",
"17": "system_command",
"18": "time"
},
"id2reduced_id": {
"0": 0,
"1": 1,
"2": 2,
"3": 3,
"4": 4,
"5": 5,
"6": 6,
"7": 7,
"8": 8,
"9": 9,
"10": 10,
"11": 11,
"12": 12,
"13": 13,
"14": 14,
"15": 15,
"16": 16,
"17": 17,
"18": 18,
"19": 1,
"20": 2,
"21": 3,
"22": 4,
"23": 5,
"24": 6,
"25": 7,
"26": 8,
"27": 9,
"28": 10,
"29": 11,
"30": 12,
"31": 13,
"32": 14,
"33": 15,
"34": 16,
"35": 17,
"36": 18
},
"label2id": {
"O": 0,
"action": 1,
"app_data_type": 2,
"app_name": 3,
"contact_info": 4,
"date": 5,
"event_title": 6,
"file_name": 7,
"file_size": 8,
"file_type": 9,
"folder_name": 10,
"in_file_data": 11,
"limits": 12,
"location": 13,
"person_name": 14,
"relationship": 15,
"setting": 16,
"system_command": 17,
"time": 18
},
"marker_max_length": 128,
"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.51.3",
"vocab_size": 29000
}