|
{ |
|
"_name_or_path": "cner_output/model/baseline/t_roberta_base_2022/best_model", |
|
"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.7248373031616211, |
|
-1.3250535726547241, |
|
-1.238042950630188, |
|
-1.8640010356903076, |
|
-0.965349018573761, |
|
-0.1863299161195755, |
|
-0.7912645936012268, |
|
1.4802711009979248, |
|
-0.4689944386482239, |
|
1.0708144903182983, |
|
0.3068462312221527, |
|
0.37443068623542786, |
|
-1.1966969966888428, |
|
-0.055049434304237366, |
|
0.6622454524040222 |
|
], |
|
"start_transitions": [ |
|
1.0002515316009521, |
|
-0.04015535116195679, |
|
-0.8670881390571594, |
|
0.9236595034599304, |
|
0.07832314819097519, |
|
-0.3673419952392578, |
|
-0.24263814091682434, |
|
0.2928946614265442, |
|
0.6428078413009644, |
|
-0.1384342759847641, |
|
-0.271012544631958, |
|
0.8364740014076233, |
|
0.20240704715251923, |
|
0.265673965215683, |
|
0.2794044613838196 |
|
], |
|
"transitions": [ |
|
[ |
|
-0.19830092787742615, |
|
-0.13582372665405273, |
|
-0.12073229998350143, |
|
0.25484904646873474, |
|
0.25305289030075073, |
|
0.05760170519351959, |
|
-0.4358609914779663, |
|
-0.5250968933105469, |
|
0.02049984224140644, |
|
0.15535128116607666, |
|
-0.046997472643852234, |
|
0.4760189950466156, |
|
-0.05055249109864235, |
|
-0.3142959773540497, |
|
0.18833135068416595 |
|
], |
|
[ |
|
0.10692369937896729, |
|
0.03263413533568382, |
|
0.07600385695695877, |
|
0.034954700618982315, |
|
-0.20752181112766266, |
|
0.40504103899002075, |
|
0.054932884871959686, |
|
-0.013336260803043842, |
|
0.40240249037742615, |
|
0.19205589592456818, |
|
0.5722540020942688, |
|
-0.04101502150297165, |
|
0.18296916782855988, |
|
0.256483256816864, |
|
0.20473100244998932 |
|
], |
|
[ |
|
0.1943396031856537, |
|
0.3385190963745117, |
|
-0.17483557760715485, |
|
-0.015533149242401123, |
|
-0.031113043427467346, |
|
-0.14347144961357117, |
|
-0.10215189307928085, |
|
0.13988104462623596, |
|
-0.3071790933609009, |
|
-0.08714884519577026, |
|
-0.3342129588127136, |
|
-0.1799870729446411, |
|
0.24064011871814728, |
|
-0.19465984404087067, |
|
-0.29567137360572815 |
|
], |
|
[ |
|
0.09136845916509628, |
|
-0.009105491451919079, |
|
0.5846728682518005, |
|
0.2852058410644531, |
|
-0.29854682087898254, |
|
0.00814754143357277, |
|
0.3502309322357178, |
|
0.01235206238925457, |
|
0.21020762622356415, |
|
-0.041252002120018005, |
|
-0.31073427200317383, |
|
-0.445946604013443, |
|
-0.29465553164482117, |
|
0.008040227927267551, |
|
-0.14015959203243256 |
|
], |
|
[ |
|
0.18763092160224915, |
|
-0.05240518972277641, |
|
0.044191304594278336, |
|
0.02282695099711418, |
|
0.3202250897884369, |
|
0.06268587708473206, |
|
-0.28191664814949036, |
|
-0.7732872366905212, |
|
-0.17959663271903992, |
|
-0.07336942851543427, |
|
0.22290365397930145, |
|
0.5105679631233215, |
|
0.23740871250629425, |
|
-0.15903250873088837, |
|
0.261173278093338 |
|
], |
|
[ |
|
0.1347816437482834, |
|
0.26247280836105347, |
|
-0.05249320715665817, |
|
-0.13490167260169983, |
|
-0.08574680238962173, |
|
-0.15867862105369568, |
|
-0.43396908044815063, |
|
0.06032521650195122, |
|
-0.038445260375738144, |
|
0.0817585214972496, |
|
0.1681945025920868, |
|
-0.18633638322353363, |
|
-0.16218791902065277, |
|
0.12412740290164948, |
|
-0.13791009783744812 |
|
], |
|
[ |
|
0.10211635380983353, |
|
0.21277543902397156, |
|
0.39344826340675354, |
|
-0.1770319789648056, |
|
-0.09169110655784607, |
|
-0.3957147002220154, |
|
0.2442212998867035, |
|
-0.03915054351091385, |
|
0.3669700026512146, |
|
-0.039707817137241364, |
|
0.4332636594772339, |
|
-0.2531760632991791, |
|
-0.20547547936439514, |
|
-0.5067554712295532, |
|
-0.04287389665842056 |
|
], |
|
[ |
|
0.3931991755962372, |
|
-0.0005324154044501483, |
|
-0.04831073805689812, |
|
0.4030506908893585, |
|
0.20860819518566132, |
|
-0.1735442727804184, |
|
0.4719473719596863, |
|
-0.35490962862968445, |
|
-0.16085989773273468, |
|
-0.09112006425857544, |
|
0.09354880452156067, |
|
0.1908678114414215, |
|
0.09317291527986526, |
|
-0.4545051157474518, |
|
-0.18989354372024536 |
|
], |
|
[ |
|
0.05879821255803108, |
|
0.25522056221961975, |
|
-0.19149765372276306, |
|
0.03234975039958954, |
|
-0.2667979300022125, |
|
0.5397224426269531, |
|
-0.12756061553955078, |
|
0.03526274859905243, |
|
0.24147899448871613, |
|
0.06959354132413864, |
|
-0.16020624339580536, |
|
-0.19780242443084717, |
|
0.5274875164031982, |
|
-0.05285263806581497, |
|
0.19394885003566742 |
|
], |
|
[ |
|
-0.5500757694244385, |
|
-0.5167273283004761, |
|
-0.14909255504608154, |
|
0.2016400545835495, |
|
-0.23858976364135742, |
|
-0.4715944528579712, |
|
0.1670967936515808, |
|
0.27642375230789185, |
|
-0.1320122331380844, |
|
0.016481151804327965, |
|
-0.00753033347427845, |
|
0.24110542237758636, |
|
0.04576841741800308, |
|
-0.19003573060035706, |
|
0.0677867978811264 |
|
], |
|
[ |
|
0.20913326740264893, |
|
-0.21055908501148224, |
|
0.23760391771793365, |
|
0.24142178893089294, |
|
0.005368152633309364, |
|
0.09362325072288513, |
|
-0.06476642936468124, |
|
0.030585795640945435, |
|
0.2618114650249481, |
|
0.13281747698783875, |
|
-0.34928616881370544, |
|
-0.05690222233533859, |
|
-0.23799338936805725, |
|
-0.6137758493423462, |
|
0.21076355874538422 |
|
], |
|
[ |
|
0.2405969500541687, |
|
-0.6893971562385559, |
|
0.168503075838089, |
|
0.17611774802207947, |
|
0.08093681186437607, |
|
0.1449487805366516, |
|
-0.33097243309020996, |
|
-0.29773765802383423, |
|
-0.1255664825439453, |
|
-0.1136176660656929, |
|
0.07963965088129044, |
|
-0.21960555016994476, |
|
-0.12959186732769012, |
|
-0.12042835354804993, |
|
0.004753532353788614 |
|
], |
|
[ |
|
0.24293968081474304, |
|
0.26982083916664124, |
|
-0.5328823328018188, |
|
0.054971784353256226, |
|
0.38983336091041565, |
|
0.40833720564842224, |
|
0.16860853135585785, |
|
0.17862389981746674, |
|
-0.3087080419063568, |
|
0.22554795444011688, |
|
-0.3473990261554718, |
|
-0.09554319083690643, |
|
0.1429056078195572, |
|
-0.6196850538253784, |
|
-0.2077360600233078 |
|
], |
|
[ |
|
0.4031035602092743, |
|
-0.47755351662635803, |
|
0.16773033142089844, |
|
-0.27740588784217834, |
|
-0.00847700983285904, |
|
0.36099129915237427, |
|
0.35934242606163025, |
|
0.011215165257453918, |
|
0.06884148716926575, |
|
-0.11279373615980148, |
|
-0.2145668864250183, |
|
-0.037049245089292526, |
|
-0.4012583792209625, |
|
-0.16180723905563354, |
|
0.19404776394367218 |
|
], |
|
[ |
|
-0.13290119171142578, |
|
-0.19923454523086548, |
|
-0.17270231246948242, |
|
-0.005734644830226898, |
|
0.30502521991729736, |
|
-0.14698636531829834, |
|
-0.17754724621772766, |
|
-0.49032026529312134, |
|
0.28617003560066223, |
|
0.2525816559791565, |
|
-0.03923565149307251, |
|
0.08377853780984879, |
|
-0.433346688747406, |
|
0.13236667215824127, |
|
-0.28475841879844666 |
|
] |
|
] |
|
}, |
|
"eos_token_id": 2, |
|
"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": 514, |
|
"model_type": "roberta", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 1, |
|
"position_embedding_type": "absolute", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.20.1", |
|
"type_vocab_size": 1, |
|
"use_cache": true, |
|
"vocab_size": 50265 |
|
} |
|
|