|
{ |
|
"_name_or_path": "cner_output/model/random_split/bertweet_base/best_model", |
|
"adapters": { |
|
"adapters": {}, |
|
"config_map": {}, |
|
"fusion_config_map": {}, |
|
"fusions": {} |
|
}, |
|
"architectures": [ |
|
"RobertaForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"bos_token_id": 0, |
|
"classifier_dropout": null, |
|
"crf_state_dict": { |
|
"_constraint_mask": [ |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
1.0 |
|
], |
|
[ |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
1.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
1.0, |
|
0.0, |
|
0.0 |
|
], |
|
[ |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0, |
|
0.0 |
|
] |
|
], |
|
"end_transitions": [ |
|
-0.3407667577266693, |
|
0.36233043670654297, |
|
0.8086718320846558, |
|
0.279022753238678, |
|
1.1861590147018433, |
|
0.41188421845436096, |
|
-0.30316606163978577, |
|
-0.010524463839828968, |
|
-0.8110523223876953, |
|
1.9230037927627563, |
|
-1.9224460124969482, |
|
0.0031394655816257, |
|
0.67181795835495, |
|
-2.0443153381347656, |
|
1.1062015295028687 |
|
], |
|
"start_transitions": [ |
|
1.1081407070159912, |
|
1.2525883913040161, |
|
-0.13709044456481934, |
|
-0.025371748954057693, |
|
0.025721577927470207, |
|
-0.2715192139148712, |
|
0.444713830947876, |
|
-1.5932167768478394, |
|
-0.3700118958950043, |
|
-1.2341413497924805, |
|
0.733309268951416, |
|
0.29886332154273987, |
|
-0.15772993862628937, |
|
-0.8600311279296875, |
|
0.13170506060123444 |
|
], |
|
"transitions": [ |
|
[ |
|
-0.41647768020629883, |
|
-0.039999186992645264, |
|
-0.06118518114089966, |
|
-0.3534643352031708, |
|
0.09070663154125214, |
|
0.16106635332107544, |
|
-0.23758754134178162, |
|
-0.2461189180612564, |
|
-0.0001287240447709337, |
|
-0.0021741183008998632, |
|
-0.009026475250720978, |
|
-0.19798199832439423, |
|
-0.11112895607948303, |
|
0.17952607572078705, |
|
-0.21149732172489166 |
|
], |
|
[ |
|
-0.1485978662967682, |
|
-0.26530206203460693, |
|
-0.37919583916664124, |
|
0.023582424968481064, |
|
0.18990691006183624, |
|
0.026056472212076187, |
|
0.35350537300109863, |
|
0.04627866670489311, |
|
0.32889702916145325, |
|
-0.22120650112628937, |
|
-0.18460658192634583, |
|
-0.11427135020494461, |
|
0.1846669614315033, |
|
-0.33599212765693665, |
|
-0.10074103623628616 |
|
], |
|
[ |
|
-0.5219749808311462, |
|
0.09157605469226837, |
|
0.15104453265666962, |
|
0.22027039527893066, |
|
0.10557673871517181, |
|
0.3379409909248352, |
|
-0.025182543322443962, |
|
0.10058418661355972, |
|
0.31371036171913147, |
|
0.2409067153930664, |
|
-0.2717832624912262, |
|
0.17459537088871002, |
|
-0.0853327289223671, |
|
0.0015063423197716475, |
|
-0.012609066441655159 |
|
], |
|
[ |
|
-0.14090342819690704, |
|
0.15843415260314941, |
|
0.18011724948883057, |
|
0.012389151379466057, |
|
-0.3595483899116516, |
|
-0.10692987591028214, |
|
0.0844520628452301, |
|
0.07912128418684006, |
|
0.2929031252861023, |
|
0.3255094289779663, |
|
0.3825341463088989, |
|
0.06330381333827972, |
|
0.17058774828910828, |
|
0.03401830047369003, |
|
-0.07615210115909576 |
|
], |
|
[ |
|
0.1655508279800415, |
|
-0.5043104290962219, |
|
-0.09533687680959702, |
|
0.004884487949311733, |
|
-0.10074400156736374, |
|
-0.14827443659305573, |
|
-0.004928763024508953, |
|
-0.30324339866638184, |
|
0.0972704067826271, |
|
0.19928942620754242, |
|
-0.3639674186706543, |
|
-0.1244390457868576, |
|
0.07223345339298248, |
|
-0.18350964784622192, |
|
0.35463523864746094 |
|
], |
|
[ |
|
-0.009806155227124691, |
|
0.31905412673950195, |
|
-0.24095061421394348, |
|
-0.27815794944763184, |
|
-0.041254378855228424, |
|
0.2221224009990692, |
|
0.20389804244041443, |
|
0.6757580637931824, |
|
-0.18621987104415894, |
|
-0.4809761047363281, |
|
0.640440821647644, |
|
0.4489683508872986, |
|
0.24140699207782745, |
|
0.1190430223941803, |
|
-0.13215525448322296 |
|
], |
|
[ |
|
0.2754819095134735, |
|
-0.196623295545578, |
|
-0.1583544760942459, |
|
0.224313884973526, |
|
-0.49933552742004395, |
|
0.05413254722952843, |
|
0.0796324759721756, |
|
-0.007126623764634132, |
|
0.14550451934337616, |
|
-0.2462705820798874, |
|
-0.31476330757141113, |
|
-0.16385212540626526, |
|
0.45440295338630676, |
|
-0.04343525692820549, |
|
0.07075830549001694 |
|
], |
|
[ |
|
-0.12733620405197144, |
|
0.2807876467704773, |
|
0.33489322662353516, |
|
-0.036251846700906754, |
|
-0.07866939157247543, |
|
-0.2690936028957367, |
|
-0.10057717561721802, |
|
0.41248828172683716, |
|
-0.7608613967895508, |
|
0.04904859513044357, |
|
-0.3766234815120697, |
|
-0.31788215041160583, |
|
0.11717163026332855, |
|
0.3401285409927368, |
|
0.2820500433444977 |
|
], |
|
[ |
|
-0.016512978821992874, |
|
-0.13496337831020355, |
|
0.4004914462566376, |
|
0.6437240242958069, |
|
0.003187158377841115, |
|
-0.09935931861400604, |
|
0.12580180168151855, |
|
0.9198015332221985, |
|
-0.071290023624897, |
|
-0.06906415522098541, |
|
0.08009427785873413, |
|
0.13796444237232208, |
|
0.12518897652626038, |
|
0.5019533038139343, |
|
0.40496858954429626 |
|
], |
|
[ |
|
-0.5174171924591064, |
|
-0.3072071373462677, |
|
-0.5880889296531677, |
|
0.1996927559375763, |
|
-0.3417242765426636, |
|
0.09750057011842728, |
|
-0.0532342903316021, |
|
-0.011504300870001316, |
|
0.05483667179942131, |
|
0.21022427082061768, |
|
0.0997505635023117, |
|
-0.10185617953538895, |
|
0.3606787919998169, |
|
-0.5665490031242371, |
|
0.2448437660932541 |
|
], |
|
[ |
|
-0.12127119302749634, |
|
-0.5787784457206726, |
|
-0.09304465353488922, |
|
0.33903467655181885, |
|
0.3308398425579071, |
|
0.4217588007450104, |
|
0.25866422057151794, |
|
0.12358541786670685, |
|
-0.16063740849494934, |
|
0.14353697001934052, |
|
0.23891888558864594, |
|
0.20436906814575195, |
|
-0.11453109234571457, |
|
-0.04988321661949158, |
|
-0.27893462777137756 |
|
], |
|
[ |
|
-0.30981284379959106, |
|
-0.3038272261619568, |
|
0.030278801918029785, |
|
-0.28530919551849365, |
|
-0.26606637239456177, |
|
0.06356187909841537, |
|
-0.18173740804195404, |
|
0.15339060127735138, |
|
-0.027348089963197708, |
|
-0.08461347967386246, |
|
0.06088481470942497, |
|
0.39765703678131104, |
|
0.13438475131988525, |
|
-0.2662977874279022, |
|
0.16342389583587646 |
|
], |
|
[ |
|
0.13373036682605743, |
|
0.2607469856739044, |
|
-0.7934741377830505, |
|
-0.13741888105869293, |
|
-0.23298054933547974, |
|
0.20722486078739166, |
|
0.05672098323702812, |
|
0.1743832230567932, |
|
-0.1889309138059616, |
|
0.08423931896686554, |
|
-0.16674299538135529, |
|
0.19875392317771912, |
|
-0.021968873217701912, |
|
0.5821887850761414, |
|
0.04197007417678833 |
|
], |
|
[ |
|
-0.3285062611103058, |
|
-0.018182402476668358, |
|
0.21664872765541077, |
|
-0.2036614567041397, |
|
0.28762248158454895, |
|
-0.1287466138601303, |
|
-0.3394554555416107, |
|
-0.015680460259318352, |
|
-0.08847520500421524, |
|
0.14840751886367798, |
|
-0.4374801516532898, |
|
0.11762797832489014, |
|
-0.03344683349132538, |
|
0.43975651264190674, |
|
-0.1361853927373886 |
|
], |
|
[ |
|
-0.10614348202943802, |
|
0.019435269758105278, |
|
0.21830017864704132, |
|
-0.47376370429992676, |
|
0.043178074061870575, |
|
-0.06981731206178665, |
|
-0.2835734486579895, |
|
0.12190479785203934, |
|
-0.017776958644390106, |
|
0.30994731187820435, |
|
0.5409758687019348, |
|
-0.020324572920799255, |
|
-0.0911090224981308, |
|
-0.18575845658779144, |
|
0.11065295338630676 |
|
] |
|
] |
|
}, |
|
"eos_token_id": 2, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "B-corporation", |
|
"1": "B-creative_work", |
|
"2": "B-event", |
|
"3": "B-group", |
|
"4": "B-location", |
|
"5": "B-person", |
|
"6": "B-product", |
|
"7": "I-corporation", |
|
"8": "I-creative_work", |
|
"9": "I-event", |
|
"10": "I-group", |
|
"11": "I-location", |
|
"12": "I-person", |
|
"13": "I-product", |
|
"14": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-corporation": 0, |
|
"B-creative_work": 1, |
|
"B-event": 2, |
|
"B-group": 3, |
|
"B-location": 4, |
|
"B-person": 5, |
|
"B-product": 6, |
|
"I-corporation": 7, |
|
"I-creative_work": 8, |
|
"I-event": 9, |
|
"I-group": 10, |
|
"I-location": 11, |
|
"I-person": 12, |
|
"I-product": 13, |
|
"O": 14 |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"max_position_embeddings": 130, |
|
"model_type": "roberta", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 1, |
|
"position_embedding_type": "absolute", |
|
"tokenizer_class": "BertweetTokenizer", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.12.5", |
|
"type_vocab_size": 1, |
|
"use_cache": true, |
|
"vocab_size": 64001 |
|
} |
|
|