asahi417's picture
add model
4bbb5ac
raw
history blame
13.2 kB
{
"_name_or_path": "cner_output/model/baseline_2021/bert_base_concat/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": [
-1.1784361600875854,
0.8230227828025818,
0.6083476543426514,
-0.46466976404190063,
0.40890294313430786,
-0.3402802646160126,
-0.4319075644016266,
2.1679699420928955,
-0.22664454579353333,
-0.13228356838226318,
0.6921900510787964,
0.6282562017440796,
1.0803894996643066,
0.32320019602775574,
0.944756805896759
],
"start_transitions": [
-0.2573712468147278,
-1.8279385566711426,
0.3725684881210327,
-0.46812015771865845,
0.38480791449546814,
-0.6221200823783875,
-0.3708834946155548,
-0.40874403715133667,
0.49861592054367065,
1.418166995048523,
-0.05870356410741806,
-0.4276886284351349,
0.6564956903457642,
0.11926606297492981,
-1.555813193321228
],
"transitions": [
[
0.03132033720612526,
-0.3145223557949066,
0.27331075072288513,
-0.09601161628961563,
0.020901348441839218,
0.08845632523298264,
0.04358880594372749,
0.20444414019584656,
-0.141111820936203,
0.1636618673801422,
-0.06275730580091476,
0.4083215296268463,
-0.10530378669500351,
0.34957772493362427,
-0.14036357402801514
],
[
0.04589877650141716,
0.015332885086536407,
0.5352703332901001,
-0.04917667433619499,
-0.07727096974849701,
-5.598967618425377e-05,
0.1882724165916443,
-0.41840052604675293,
-0.05572768300771713,
0.00854965765029192,
0.043070558458566666,
0.5325971841812134,
0.33754390478134155,
-0.5539278984069824,
-0.08180070668458939
],
[
-0.0007957788184285164,
-0.09936048090457916,
0.4553416967391968,
0.2869124412536621,
-0.1897118091583252,
-0.2791854441165924,
-0.4526037275791168,
0.13718554377555847,
0.25246211886405945,
0.05742747336626053,
0.21857064962387085,
0.09346925467252731,
0.4194047451019287,
-0.1405026912689209,
-0.3517298400402069
],
[
0.33099186420440674,
0.17982470989227295,
0.19864502549171448,
-0.07644511759281158,
0.19531820714473724,
-0.008181308396160603,
-0.14334580302238464,
-0.25388771295547485,
0.12263830006122589,
-0.007724206894636154,
-0.03847532346844673,
-0.08240124583244324,
-0.15022553503513336,
-0.26107892394065857,
-0.3528973162174225
],
[
-0.40432941913604736,
-0.011147820390760899,
-0.41317716240882874,
0.23091968894004822,
-0.48921728134155273,
0.18733766674995422,
-0.21325065195560455,
0.2340131402015686,
0.18753640353679657,
0.2409665584564209,
-0.16185304522514343,
-0.2387339323759079,
0.502634584903717,
-0.02803623676300049,
0.046201203018426895
],
[
-0.024601569399237633,
-0.12207355350255966,
0.07217153161764145,
-0.20759813487529755,
-0.3120226562023163,
0.18070249259471893,
-0.3101763129234314,
0.12667790055274963,
0.3997851312160492,
-0.12454059720039368,
-0.08637693524360657,
-0.13635194301605225,
0.30795904994010925,
-0.015953699126839638,
0.31013035774230957
],
[
0.09035318344831467,
-0.24563708901405334,
0.0029567291494458914,
0.019346630200743675,
0.16754591464996338,
0.059337079524993896,
0.12834331393241882,
-0.062317658215761185,
-0.18953603506088257,
-0.09557740390300751,
0.09174085408449173,
-0.05325732007622719,
-0.3000761866569519,
0.11868362128734589,
-0.16793039441108704
],
[
0.37220117449760437,
0.1631661057472229,
0.3241932690143585,
0.10896129161119461,
-0.22096721827983856,
0.13079844415187836,
-0.08988973498344421,
0.34547317028045654,
-0.09194803982973099,
-0.03208231180906296,
-0.14436136186122894,
-0.16835236549377441,
0.19740013778209686,
-0.09799733012914658,
0.17859813570976257
],
[
0.05999086797237396,
0.12448107451200485,
0.0030465612653642893,
-0.3586931526660919,
0.02998601458966732,
-0.03307464346289635,
-0.1358829140663147,
0.175531268119812,
-0.238154336810112,
-0.02666693925857544,
-0.08856552839279175,
0.33285462856292725,
-0.23073725402355194,
-0.25868791341781616,
-0.31354472041130066
],
[
0.09989982843399048,
-0.12251261621713638,
-0.18264912068843842,
-0.013907503336668015,
0.3890684247016907,
0.06944388896226883,
0.057583533227443695,
0.22307096421718597,
0.38259682059288025,
-0.3221898376941681,
0.10445944219827652,
-0.14401127398014069,
0.27935659885406494,
0.29310914874076843,
0.43734681606292725
],
[
-0.0032465991098433733,
-0.04708988219499588,
0.009113475680351257,
-0.5305570960044861,
-0.4559648633003235,
0.22894570231437683,
-0.0728539228439331,
0.11732634902000427,
0.2608869671821594,
0.22041931748390198,
-0.23251372575759888,
0.6396380066871643,
0.08384507149457932,
0.355406254529953,
0.08047489821910858
],
[
0.17936480045318604,
-0.1706962138414383,
0.3880193829536438,
-0.05811850354075432,
-0.015490977093577385,
-0.0759989395737648,
-0.45764482021331787,
0.19995512068271637,
-0.05136347562074661,
-0.2539222836494446,
0.3479669690132141,
-0.13660255074501038,
0.019946930930018425,
-0.01037787925451994,
0.31558290123939514
],
[
-0.21639493107795715,
0.1033889427781105,
-0.1722726970911026,
0.20941539108753204,
0.26076745986938477,
0.004916115663945675,
0.3262094557285309,
0.00033329034340567887,
0.10982051491737366,
0.15749068558216095,
-0.2951642870903015,
0.13571599125862122,
0.2021782100200653,
-0.15135805308818817,
0.2793426513671875
],
[
0.36427247524261475,
-0.06094140559434891,
0.3703797161579132,
0.18454404175281525,
0.23540163040161133,
0.2433035969734192,
0.20433282852172852,
0.48850521445274353,
0.27865123748779297,
0.626146674156189,
0.3145672380924225,
0.14104898273944855,
0.296699196100235,
-0.1723642349243164,
0.26502808928489685
],
[
-0.27464139461517334,
0.07425778359174728,
0.38873451948165894,
-0.003799798898398876,
0.062224991619586945,
-0.2657175660133362,
-0.2644821107387543,
-0.2142518013715744,
0.12898725271224976,
0.22072143852710724,
-0.17387987673282623,
0.3533235192298889,
0.38423269987106323,
-0.25629356503486633,
0.162906214594841
]
]
},
"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
}