asahi417's picture
add model
00acb04
raw
history blame
13.2 kB
{
"_name_or_path": "cner_output/model/baseline_2021/bert_base_continuous/best_model",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"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.988692581653595,
-0.005920513067394495,
-1.7164989709854126,
-1.3780202865600586,
-0.40995755791664124,
-0.17200325429439545,
-0.7475465536117554,
-1.7900420427322388,
0.5941512584686279,
0.4054413139820099,
-0.05689741298556328,
-0.7344450354576111,
0.30765047669410706,
-0.17101752758026123,
0.043886590749025345
],
"start_transitions": [
-0.7569681406021118,
0.35520291328430176,
-0.06396930664777756,
0.08297624439001083,
0.6533010005950928,
0.4433658719062805,
-1.3232845067977905,
-1.133614182472229,
0.16001451015472412,
1.7339645624160767,
0.37911757826805115,
-0.12526611983776093,
0.5473248362541199,
1.4499040842056274,
-0.7266306281089783
],
"transitions": [
[
-0.21585801243782043,
-0.05678745359182358,
-0.12178809195756912,
0.06802785396575928,
0.3227683901786804,
0.5148430466651917,
0.07755537331104279,
-0.11155492812395096,
0.027429992333054543,
-0.4311729073524475,
0.14430218935012817,
0.07312431931495667,
-0.05690857768058777,
0.03170710802078247,
-0.43538886308670044
],
[
0.296607106924057,
0.23009531199932098,
0.10259402543306351,
0.2708793580532074,
-0.11154530197381973,
-0.07044149190187454,
0.15968063473701477,
0.14207790791988373,
-0.24927113950252533,
0.08864541351795197,
-0.2318304032087326,
-0.06596832722425461,
0.08759216964244843,
0.031194763258099556,
-0.017913328483700752
],
[
-0.2286965698003769,
0.20569559931755066,
-0.2213839739561081,
0.011376376263797283,
0.2668052911758423,
0.025028616189956665,
0.11362739652395248,
0.08374837785959244,
0.2872343361377716,
0.20114746689796448,
0.30334487557411194,
0.08916278183460236,
-0.1375424712896347,
-0.0702895000576973,
-0.027445407584309578
],
[
0.30002617835998535,
0.14837531745433807,
0.001129376469179988,
-0.015230001881718636,
0.08293090760707855,
0.20992301404476166,
-0.24067166447639465,
-0.38507983088493347,
0.06118938326835632,
0.2193448692560196,
0.03972918912768364,
0.14168177545070648,
-0.4269395172595978,
0.16976505517959595,
-0.3038647770881653
],
[
0.29933667182922363,
-0.19141210615634918,
0.04720282182097435,
0.03736117482185364,
0.5126026272773743,
0.45516711473464966,
-0.08278591185808182,
0.30062758922576904,
-0.1627749800682068,
0.26870808005332947,
0.04722385108470917,
-0.02061418630182743,
0.11052718758583069,
0.6106382608413696,
-0.3389560580253601
],
[
-0.023728664964437485,
-0.047980666160583496,
0.04523283615708351,
-0.26230159401893616,
0.05725162476301193,
0.3777161240577698,
-0.2606940269470215,
-0.3171112835407257,
-0.26374632120132446,
-0.12749645113945007,
0.19898909330368042,
-0.2915514409542084,
0.3201725482940674,
-0.1331482231616974,
0.153957799077034
],
[
-0.6791375279426575,
0.4103759825229645,
0.4522882401943207,
-0.15028922259807587,
0.14903172850608826,
0.25113028287887573,
-0.3143283426761627,
0.10747785121202469,
-0.15669427812099457,
0.17046307027339935,
0.21639567613601685,
0.12473615258932114,
-0.042246945202350616,
-0.05834811180830002,
-0.22723057866096497
],
[
-0.19334951043128967,
0.0774654746055603,
-0.17013083398342133,
0.8666149973869324,
-0.016716118901968002,
-0.34174221754074097,
0.524635910987854,
-0.3596889078617096,
0.08421032130718231,
-0.017469210550189018,
0.35915112495422363,
-0.0166487880051136,
0.11598213016986847,
-0.07268775254487991,
-0.03496219217777252
],
[
-0.15884225070476532,
-0.02842717245221138,
-0.10498315840959549,
-0.04269758611917496,
0.25444865226745605,
-0.265816330909729,
0.11558064818382263,
-0.12308495491743088,
0.19501550495624542,
0.3570692241191864,
-0.011265352368354797,
-0.1377689689397812,
0.1499650478363037,
-0.011228085495531559,
-0.4142223596572876
],
[
-0.1334221214056015,
0.20140819251537323,
0.49844658374786377,
-0.17576992511749268,
-0.05121186375617981,
0.38968750834465027,
-0.31401899456977844,
0.24499398469924927,
-0.4078451991081238,
-0.2052684873342514,
0.07759694010019302,
0.1386953741312027,
-0.12401415407657623,
-0.30940067768096924,
0.16765092313289642
],
[
-0.4481010138988495,
-0.15269149839878082,
0.3660091459751129,
0.036085620522499084,
0.13928179442882538,
0.020950797945261,
0.044411800801754,
-0.5288288593292236,
0.16205503046512604,
0.22459650039672852,
-0.30685532093048096,
-0.0839032232761383,
0.1908932328224182,
-0.0195367019623518,
0.1567438393831253
],
[
0.3678167760372162,
-0.21204540133476257,
0.14232565462589264,
0.08079339563846588,
-0.10455019026994705,
0.21082457900047302,
-0.21760395169258118,
0.2089865505695343,
0.06174713373184204,
-0.44710734486579895,
-0.02984442189335823,
0.055884018540382385,
-0.18504518270492554,
-0.06711764633655548,
0.04255671054124832
],
[
0.25474315881729126,
0.29641613364219666,
-0.28846779465675354,
0.001665900694206357,
-0.030182668939232826,
0.11564184725284576,
-0.3957299292087555,
-0.3265557289123535,
0.05231938511133194,
-0.27931004762649536,
-0.2654215395450592,
0.10072335600852966,
-0.05203852429986,
-0.01782940700650215,
0.017748184502124786
],
[
-0.35089239478111267,
0.05377105996012688,
-0.30334779620170593,
-0.2032313197851181,
-0.06926944851875305,
-0.027495477348566055,
0.0019207756267860532,
-0.1833014041185379,
0.45163828134536743,
-0.289008229970932,
-0.19094155728816986,
-0.05420289188623428,
-0.37942150235176086,
0.1559513360261917,
0.03071577288210392
],
[
-0.21270300447940826,
-0.3407062590122223,
-0.12700395286083221,
0.27645763754844666,
-0.26622670888900757,
-0.49944522976875305,
-0.14602088928222656,
-0.17826248705387115,
0.0517779216170311,
-0.2270205020904541,
0.2049490362405777,
0.04938635602593422,
0.28023359179496765,
-0.08752642571926117,
0.2665055990219116
]
]
},
"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-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.17.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}