|
{ |
|
"architectures": [ |
|
"SpanMarkerModel" |
|
], |
|
"encoder": { |
|
"_name_or_path": "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-art-broadcastprogram", |
|
"2": "I-art-broadcastprogram", |
|
"3": "B-art-film", |
|
"4": "I-art-film", |
|
"5": "B-art-music", |
|
"6": "I-art-music", |
|
"7": "B-art-other", |
|
"8": "I-art-other", |
|
"9": "B-art-painting", |
|
"10": "I-art-painting", |
|
"11": "B-art-writtenart", |
|
"12": "I-art-writtenart", |
|
"13": "B-building-airport", |
|
"14": "I-building-airport", |
|
"15": "B-building-hospital", |
|
"16": "I-building-hospital", |
|
"17": "B-building-hotel", |
|
"18": "I-building-hotel", |
|
"19": "B-building-library", |
|
"20": "I-building-library", |
|
"21": "B-building-other", |
|
"22": "I-building-other", |
|
"23": "B-building-restaurant", |
|
"24": "I-building-restaurant", |
|
"25": "B-building-sportsfacility", |
|
"26": "I-building-sportsfacility", |
|
"27": "B-building-theater", |
|
"28": "I-building-theater", |
|
"29": "B-event-attack/battle/war/militaryconflict", |
|
"30": "I-event-attack/battle/war/militaryconflict", |
|
"31": "B-event-disaster", |
|
"32": "I-event-disaster", |
|
"33": "B-event-election", |
|
"34": "I-event-election", |
|
"35": "B-event-other", |
|
"36": "I-event-other", |
|
"37": "B-event-protest", |
|
"38": "I-event-protest", |
|
"39": "B-event-sportsevent", |
|
"40": "I-event-sportsevent", |
|
"41": "B-location-gpe", |
|
"42": "I-location-gpe", |
|
"43": "B-location-bodiesofwater", |
|
"44": "I-location-bodiesofwater", |
|
"45": "B-location-island", |
|
"46": "I-location-island", |
|
"47": "B-location-mountain", |
|
"48": "I-location-mountain", |
|
"49": "B-location-other", |
|
"50": "I-location-other", |
|
"51": "B-location-park", |
|
"52": "I-location-park", |
|
"53": "B-location-road/railway/highway/transit", |
|
"54": "I-location-road/railway/highway/transit", |
|
"55": "B-organization-company", |
|
"56": "I-organization-company", |
|
"57": "B-organization-education", |
|
"58": "I-organization-education", |
|
"59": "B-organization-government/governmentagency", |
|
"60": "I-organization-government/governmentagency", |
|
"61": "B-organization-media/newspaper", |
|
"62": "I-organization-media/newspaper", |
|
"63": "B-organization-other", |
|
"64": "I-organization-other", |
|
"65": "B-organization-politicalparty", |
|
"66": "I-organization-politicalparty", |
|
"67": "B-organization-religion", |
|
"68": "I-organization-religion", |
|
"69": "B-organization-showorganization", |
|
"70": "I-organization-showorganization", |
|
"71": "B-organization-sportsleague", |
|
"72": "I-organization-sportsleague", |
|
"73": "B-organization-sportsteam", |
|
"74": "I-organization-sportsteam", |
|
"75": "B-other-astronomything", |
|
"76": "I-other-astronomything", |
|
"77": "B-other-award", |
|
"78": "I-other-award", |
|
"79": "B-other-biologything", |
|
"80": "I-other-biologything", |
|
"81": "B-other-chemicalthing", |
|
"82": "I-other-chemicalthing", |
|
"83": "B-other-currency", |
|
"84": "I-other-currency", |
|
"85": "B-other-disease", |
|
"86": "I-other-disease", |
|
"87": "B-other-educationaldegree", |
|
"88": "I-other-educationaldegree", |
|
"89": "B-other-god", |
|
"90": "I-other-god", |
|
"91": "B-other-language", |
|
"92": "I-other-language", |
|
"93": "B-other-law", |
|
"94": "I-other-law", |
|
"95": "B-other-livingthing", |
|
"96": "I-other-livingthing", |
|
"97": "B-other-medical", |
|
"98": "I-other-medical", |
|
"99": "B-person-actor", |
|
"100": "I-person-actor", |
|
"101": "B-person-artist/author", |
|
"102": "I-person-artist/author", |
|
"103": "B-person-athlete", |
|
"104": "I-person-athlete", |
|
"105": "B-person-director", |
|
"106": "I-person-director", |
|
"107": "B-person-other", |
|
"108": "I-person-other", |
|
"109": "B-person-politician", |
|
"110": "I-person-politician", |
|
"111": "B-person-scholar", |
|
"112": "I-person-scholar", |
|
"113": "B-person-soldier", |
|
"114": "I-person-soldier", |
|
"115": "B-product-airplane", |
|
"116": "I-product-airplane", |
|
"117": "B-product-car", |
|
"118": "I-product-car", |
|
"119": "B-product-food", |
|
"120": "I-product-food", |
|
"121": "B-product-game", |
|
"122": "I-product-game", |
|
"123": "B-product-other", |
|
"124": "I-product-other", |
|
"125": "B-product-ship", |
|
"126": "I-product-ship", |
|
"127": "B-product-software", |
|
"128": "I-product-software", |
|
"129": "B-product-train", |
|
"130": "I-product-train", |
|
"131": "B-product-weapon", |
|
"132": "I-product-weapon", |
|
"133": "B-datetime-absolute", |
|
"134": "I-datetime-absolute", |
|
"135": "B-datetime-relative", |
|
"136": "I-datetime-relative", |
|
"137": "B-datetime-range", |
|
"138": "I-datetime-range", |
|
"139": "B-datetime-authored", |
|
"140": "I-datetime-authored" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"is_decoder": false, |
|
"is_encoder_decoder": false, |
|
"label2id": { |
|
"B-art-broadcastprogram": 1, |
|
"B-art-film": 3, |
|
"B-art-music": 5, |
|
"B-art-other": 7, |
|
"B-art-painting": 9, |
|
"B-art-writtenart": 11, |
|
"B-building-airport": 13, |
|
"B-building-hospital": 15, |
|
"B-building-hotel": 17, |
|
"B-building-library": 19, |
|
"B-building-other": 21, |
|
"B-building-restaurant": 23, |
|
"B-building-sportsfacility": 25, |
|
"B-building-theater": 27, |
|
"B-datetime-absolute": 133, |
|
"B-datetime-authored": 139, |
|
"B-datetime-range": 137, |
|
"B-datetime-relative": 135, |
|
"B-event-attack/battle/war/militaryconflict": 29, |
|
"B-event-disaster": 31, |
|
"B-event-election": 33, |
|
"B-event-other": 35, |
|
"B-event-protest": 37, |
|
"B-event-sportsevent": 39, |
|
"B-location-bodiesofwater": 43, |
|
"B-location-gpe": 41, |
|
"B-location-island": 45, |
|
"B-location-mountain": 47, |
|
"B-location-other": 49, |
|
"B-location-park": 51, |
|
"B-location-road/railway/highway/transit": 53, |
|
"B-organization-company": 55, |
|
"B-organization-education": 57, |
|
"B-organization-government/governmentagency": 59, |
|
"B-organization-media/newspaper": 61, |
|
"B-organization-other": 63, |
|
"B-organization-politicalparty": 65, |
|
"B-organization-religion": 67, |
|
"B-organization-showorganization": 69, |
|
"B-organization-sportsleague": 71, |
|
"B-organization-sportsteam": 73, |
|
"B-other-astronomything": 75, |
|
"B-other-award": 77, |
|
"B-other-biologything": 79, |
|
"B-other-chemicalthing": 81, |
|
"B-other-currency": 83, |
|
"B-other-disease": 85, |
|
"B-other-educationaldegree": 87, |
|
"B-other-god": 89, |
|
"B-other-language": 91, |
|
"B-other-law": 93, |
|
"B-other-livingthing": 95, |
|
"B-other-medical": 97, |
|
"B-person-actor": 99, |
|
"B-person-artist/author": 101, |
|
"B-person-athlete": 103, |
|
"B-person-director": 105, |
|
"B-person-other": 107, |
|
"B-person-politician": 109, |
|
"B-person-scholar": 111, |
|
"B-person-soldier": 113, |
|
"B-product-airplane": 115, |
|
"B-product-car": 117, |
|
"B-product-food": 119, |
|
"B-product-game": 121, |
|
"B-product-other": 123, |
|
"B-product-ship": 125, |
|
"B-product-software": 127, |
|
"B-product-train": 129, |
|
"B-product-weapon": 131, |
|
"I-art-broadcastprogram": 2, |
|
"I-art-film": 4, |
|
"I-art-music": 6, |
|
"I-art-other": 8, |
|
"I-art-painting": 10, |
|
"I-art-writtenart": 12, |
|
"I-building-airport": 14, |
|
"I-building-hospital": 16, |
|
"I-building-hotel": 18, |
|
"I-building-library": 20, |
|
"I-building-other": 22, |
|
"I-building-restaurant": 24, |
|
"I-building-sportsfacility": 26, |
|
"I-building-theater": 28, |
|
"I-datetime-absolute": 134, |
|
"I-datetime-authored": 140, |
|
"I-datetime-range": 138, |
|
"I-datetime-relative": 136, |
|
"I-event-attack/battle/war/militaryconflict": 30, |
|
"I-event-disaster": 32, |
|
"I-event-election": 34, |
|
"I-event-other": 36, |
|
"I-event-protest": 38, |
|
"I-event-sportsevent": 40, |
|
"I-location-bodiesofwater": 44, |
|
"I-location-gpe": 42, |
|
"I-location-island": 46, |
|
"I-location-mountain": 48, |
|
"I-location-other": 50, |
|
"I-location-park": 52, |
|
"I-location-road/railway/highway/transit": 54, |
|
"I-organization-company": 56, |
|
"I-organization-education": 58, |
|
"I-organization-government/governmentagency": 60, |
|
"I-organization-media/newspaper": 62, |
|
"I-organization-other": 64, |
|
"I-organization-politicalparty": 66, |
|
"I-organization-religion": 68, |
|
"I-organization-showorganization": 70, |
|
"I-organization-sportsleague": 72, |
|
"I-organization-sportsteam": 74, |
|
"I-other-astronomything": 76, |
|
"I-other-award": 78, |
|
"I-other-biologything": 80, |
|
"I-other-chemicalthing": 82, |
|
"I-other-currency": 84, |
|
"I-other-disease": 86, |
|
"I-other-educationaldegree": 88, |
|
"I-other-god": 90, |
|
"I-other-language": 92, |
|
"I-other-law": 94, |
|
"I-other-livingthing": 96, |
|
"I-other-medical": 98, |
|
"I-person-actor": 100, |
|
"I-person-artist/author": 102, |
|
"I-person-athlete": 104, |
|
"I-person-director": 106, |
|
"I-person-other": 108, |
|
"I-person-politician": 110, |
|
"I-person-scholar": 112, |
|
"I-person-soldier": 114, |
|
"I-product-airplane": 116, |
|
"I-product-car": 118, |
|
"I-product-food": 120, |
|
"I-product-game": 122, |
|
"I-product-other": 124, |
|
"I-product-ship": 126, |
|
"I-product-software": 128, |
|
"I-product-train": 130, |
|
"I-product-weapon": 132, |
|
"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.41.2", |
|
"type_vocab_size": 1, |
|
"typical_p": 1.0, |
|
"use_bfloat16": false, |
|
"use_cache": true, |
|
"vocab_size": 50272 |
|
}, |
|
"entity_max_length": 11, |
|
"id2label": { |
|
"0": "O", |
|
"1": "art-broadcastprogram", |
|
"2": "art-film", |
|
"3": "art-music", |
|
"4": "art-other", |
|
"5": "art-painting", |
|
"6": "art-writtenart", |
|
"7": "building-airport", |
|
"8": "building-hospital", |
|
"9": "building-hotel", |
|
"10": "building-library", |
|
"11": "building-other", |
|
"12": "building-restaurant", |
|
"13": "building-sportsfacility", |
|
"14": "building-theater", |
|
"15": "datetime-absolute", |
|
"16": "datetime-authored", |
|
"17": "datetime-range", |
|
"18": "datetime-relative", |
|
"19": "event-attack/battle/war/militaryconflict", |
|
"20": "event-disaster", |
|
"21": "event-election", |
|
"22": "event-other", |
|
"23": "event-protest", |
|
"24": "event-sportsevent", |
|
"25": "location-bodiesofwater", |
|
"26": "location-gpe", |
|
"27": "location-island", |
|
"28": "location-mountain", |
|
"29": "location-other", |
|
"30": "location-park", |
|
"31": "location-road/railway/highway/transit", |
|
"32": "organization-company", |
|
"33": "organization-education", |
|
"34": "organization-government/governmentagency", |
|
"35": "organization-media/newspaper", |
|
"36": "organization-other", |
|
"37": "organization-politicalparty", |
|
"38": "organization-religion", |
|
"39": "organization-showorganization", |
|
"40": "organization-sportsleague", |
|
"41": "organization-sportsteam", |
|
"42": "other-astronomything", |
|
"43": "other-award", |
|
"44": "other-biologything", |
|
"45": "other-chemicalthing", |
|
"46": "other-currency", |
|
"47": "other-disease", |
|
"48": "other-educationaldegree", |
|
"49": "other-god", |
|
"50": "other-language", |
|
"51": "other-law", |
|
"52": "other-livingthing", |
|
"53": "other-medical", |
|
"54": "person-actor", |
|
"55": "person-artist/author", |
|
"56": "person-athlete", |
|
"57": "person-director", |
|
"58": "person-other", |
|
"59": "person-politician", |
|
"60": "person-scholar", |
|
"61": "person-soldier", |
|
"62": "product-airplane", |
|
"63": "product-car", |
|
"64": "product-food", |
|
"65": "product-game", |
|
"66": "product-other", |
|
"67": "product-ship", |
|
"68": "product-software", |
|
"69": "product-train", |
|
"70": "product-weapon" |
|
}, |
|
"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": 19, |
|
"30": 19, |
|
"31": 20, |
|
"32": 20, |
|
"33": 21, |
|
"34": 21, |
|
"35": 22, |
|
"36": 22, |
|
"37": 23, |
|
"38": 23, |
|
"39": 24, |
|
"40": 24, |
|
"41": 26, |
|
"42": 26, |
|
"43": 25, |
|
"44": 25, |
|
"45": 27, |
|
"46": 27, |
|
"47": 28, |
|
"48": 28, |
|
"49": 29, |
|
"50": 29, |
|
"51": 30, |
|
"52": 30, |
|
"53": 31, |
|
"54": 31, |
|
"55": 32, |
|
"56": 32, |
|
"57": 33, |
|
"58": 33, |
|
"59": 34, |
|
"60": 34, |
|
"61": 35, |
|
"62": 35, |
|
"63": 36, |
|
"64": 36, |
|
"65": 37, |
|
"66": 37, |
|
"67": 38, |
|
"68": 38, |
|
"69": 39, |
|
"70": 39, |
|
"71": 40, |
|
"72": 40, |
|
"73": 41, |
|
"74": 41, |
|
"75": 42, |
|
"76": 42, |
|
"77": 43, |
|
"78": 43, |
|
"79": 44, |
|
"80": 44, |
|
"81": 45, |
|
"82": 45, |
|
"83": 46, |
|
"84": 46, |
|
"85": 47, |
|
"86": 47, |
|
"87": 48, |
|
"88": 48, |
|
"89": 49, |
|
"90": 49, |
|
"91": 50, |
|
"92": 50, |
|
"93": 51, |
|
"94": 51, |
|
"95": 52, |
|
"96": 52, |
|
"97": 53, |
|
"98": 53, |
|
"99": 54, |
|
"100": 54, |
|
"101": 55, |
|
"102": 55, |
|
"103": 56, |
|
"104": 56, |
|
"105": 57, |
|
"106": 57, |
|
"107": 58, |
|
"108": 58, |
|
"109": 59, |
|
"110": 59, |
|
"111": 60, |
|
"112": 60, |
|
"113": 61, |
|
"114": 61, |
|
"115": 62, |
|
"116": 62, |
|
"117": 63, |
|
"118": 63, |
|
"119": 64, |
|
"120": 64, |
|
"121": 65, |
|
"122": 65, |
|
"123": 66, |
|
"124": 66, |
|
"125": 67, |
|
"126": 67, |
|
"127": 68, |
|
"128": 68, |
|
"129": 69, |
|
"130": 69, |
|
"131": 70, |
|
"132": 70, |
|
"133": 15, |
|
"134": 15, |
|
"135": 18, |
|
"136": 18, |
|
"137": 17, |
|
"138": 17, |
|
"139": 16, |
|
"140": 16 |
|
}, |
|
"label2id": { |
|
"O": 0, |
|
"art-broadcastprogram": 1, |
|
"art-film": 2, |
|
"art-music": 3, |
|
"art-other": 4, |
|
"art-painting": 5, |
|
"art-writtenart": 6, |
|
"building-airport": 7, |
|
"building-hospital": 8, |
|
"building-hotel": 9, |
|
"building-library": 10, |
|
"building-other": 11, |
|
"building-restaurant": 12, |
|
"building-sportsfacility": 13, |
|
"building-theater": 14, |
|
"datetime-absolute": 15, |
|
"datetime-authored": 16, |
|
"datetime-range": 17, |
|
"datetime-relative": 18, |
|
"event-attack/battle/war/militaryconflict": 19, |
|
"event-disaster": 20, |
|
"event-election": 21, |
|
"event-other": 22, |
|
"event-protest": 23, |
|
"event-sportsevent": 24, |
|
"location-bodiesofwater": 25, |
|
"location-gpe": 26, |
|
"location-island": 27, |
|
"location-mountain": 28, |
|
"location-other": 29, |
|
"location-park": 30, |
|
"location-road/railway/highway/transit": 31, |
|
"organization-company": 32, |
|
"organization-education": 33, |
|
"organization-government/governmentagency": 34, |
|
"organization-media/newspaper": 35, |
|
"organization-other": 36, |
|
"organization-politicalparty": 37, |
|
"organization-religion": 38, |
|
"organization-showorganization": 39, |
|
"organization-sportsleague": 40, |
|
"organization-sportsteam": 41, |
|
"other-astronomything": 42, |
|
"other-award": 43, |
|
"other-biologything": 44, |
|
"other-chemicalthing": 45, |
|
"other-currency": 46, |
|
"other-disease": 47, |
|
"other-educationaldegree": 48, |
|
"other-god": 49, |
|
"other-language": 50, |
|
"other-law": 51, |
|
"other-livingthing": 52, |
|
"other-medical": 53, |
|
"person-actor": 54, |
|
"person-artist/author": 55, |
|
"person-athlete": 56, |
|
"person-director": 57, |
|
"person-other": 58, |
|
"person-politician": 59, |
|
"person-scholar": 60, |
|
"person-soldier": 61, |
|
"product-airplane": 62, |
|
"product-car": 63, |
|
"product-food": 64, |
|
"product-game": 65, |
|
"product-other": 66, |
|
"product-ship": 67, |
|
"product-software": 68, |
|
"product-train": 69, |
|
"product-weapon": 70 |
|
}, |
|
"marker_max_length": 128, |
|
"max_next_context": 2, |
|
"max_prev_context": 2, |
|
"model_max_length": 256, |
|
"model_max_length_default": 512, |
|
"model_type": "span-marker", |
|
"span_marker_version": "1.5.0", |
|
"torch_dtype": "float32", |
|
"trained_with_document_context": true, |
|
"transformers_version": "4.41.2", |
|
"vocab_size": 50272 |
|
} |
|
|