asahi417's picture
add model
fc83fc3
raw
history blame contribute delete
No virus
16.4 kB
{
"_name_or_path": "deberta-v3-large-mit-restaurant",
"architectures": [
"DebertaV2ForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"crf_state_dict": {
"_constraint_mask": [
[
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
1.0,
0.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
1.0,
1.0,
1.0,
1.0,
0.0,
1.0,
0.0,
1.0,
0.0,
0.0,
0.0,
1.0
],
[
1.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,
0.16160768270492554,
-0.4194011092185974,
0.6211336851119995,
-2.5234134197235107,
1.7603507041931152,
-0.24117253720760345,
0.8462532758712769,
0.17639747262001038,
0.5874640941619873,
-0.2184540033340454,
0.011268599890172482,
1.0485070943832397,
1.316797137260437
],
"start_transitions": [
0.6896801590919495,
-1.6267002820968628,
-2.2352285385131836,
-0.9108026027679443,
-1.0284698009490967,
-0.7746689319610596,
1.8170346021652222,
-0.4709113538265228,
-1.6400972604751587,
0.49747708439826965,
-0.3650157153606415,
-0.5319101214408875,
0.4762911796569824,
-0.45982280373573303,
0.9830871820449829,
-1.1098592281341553,
-0.9213809370994568
],
"transitions": [
[
0.14672401547431946,
0.037852693349123,
-0.26534658670425415,
0.1751430779695511,
-0.08361663669347763,
0.3216018080711365,
0.08860483020544052,
0.02454369142651558,
-0.12012410163879395,
0.19325119256973267,
0.13043062388896942,
-0.05465183034539223,
-0.661835253238678,
-0.018059182912111282,
-0.29240480065345764,
-0.09840615838766098,
0.12266739457845688
],
[
0.06614010781049728,
-0.29163816571235657,
0.1748499572277069,
0.003474385244771838,
0.010508605279028416,
0.12406276911497116,
0.26835834980010986,
0.5934258699417114,
0.13879071176052094,
-0.07429144531488419,
0.13833488523960114,
-0.2680215835571289,
0.19882088899612427,
0.019115038216114044,
-0.15438947081565857,
0.08180519938468933,
0.22683095932006836
],
[
0.2386692613363266,
-0.24786362051963806,
0.4095517098903656,
0.14135830104351044,
-0.4260388910770416,
-0.14648616313934326,
0.09123822301626205,
-0.08680494874715805,
0.04519357904791832,
0.4624166488647461,
0.29155388474464417,
0.13954630494117737,
0.1663731336593628,
-0.08895862847566605,
-0.006237451918423176,
-0.2523474097251892,
-0.1912996619939804
],
[
0.3874271810054779,
-0.13290151953697205,
-0.26308998465538025,
-0.2632429897785187,
0.29853761196136475,
0.23594990372657776,
-0.3742351531982422,
-0.010513102635741234,
-0.15266713500022888,
0.1864774078130722,
-0.07489833980798721,
0.20577804744243622,
0.1535036861896515,
0.009028623811900616,
-0.5034010410308838,
0.012946655042469501,
-0.050455886870622635
],
[
-0.5570425987243652,
0.1326894909143448,
-0.14053721725940704,
-0.2607894837856293,
-0.007492595352232456,
-0.028440697118639946,
0.2621573209762573,
-0.2326243370771408,
0.09883242845535278,
-0.15417695045471191,
0.1247735247015953,
0.15016211569309235,
-0.010118785314261913,
-0.4208305776119232,
0.034803688526153564,
-0.35098299384117126,
-0.2069704681634903
],
[
0.2105875313282013,
0.2362518012523651,
-0.062378231436014175,
0.4688335061073303,
0.09742087870836258,
-0.26729822158813477,
-0.044560063630342484,
-0.17622610926628113,
-0.08609848469495773,
0.21814024448394775,
0.44070130586624146,
-0.1230631172657013,
-0.0159302931278944,
-0.013762427493929863,
-0.02348482236266136,
-0.21608053147792816,
0.1266109049320221
],
[
-0.11695778369903564,
-0.24338987469673157,
0.007385957986116409,
-0.5221767425537109,
-0.1417030394077301,
0.11622404307126999,
-0.1654634326696396,
0.45435914397239685,
0.16270215809345245,
-0.4689447581768036,
0.4768480658531189,
0.08175992965698242,
-0.20682048797607422,
0.29220643639564514,
0.5721096992492676,
-0.5803536772727966,
0.17495088279247284
],
[
0.10829492658376694,
0.07618990540504456,
0.023738259449601173,
-0.29587870836257935,
-0.06193305924534798,
0.24577271938323975,
0.05920741334557533,
0.17658168077468872,
0.24182404577732086,
0.020571433007717133,
-0.15402591228485107,
-0.4205871522426605,
-0.0555693693459034,
0.0489056296646595,
-0.03827016428112984,
0.03169294819235802,
0.018080521374940872
],
[
0.2266029268503189,
0.20095762610435486,
0.4150680601596832,
0.3755989074707031,
-0.1662364900112152,
0.22992470860481262,
0.012662019580602646,
0.006216580048203468,
-0.1813211292028427,
-0.22341057658195496,
-0.15172487497329712,
0.24168382585048676,
-0.20436452329158783,
0.5115900635719299,
0.3489842712879181,
0.19073233008384705,
-0.023268379271030426
],
[
0.20252135396003723,
-0.4400792419910431,
-0.21608205139636993,
0.9606838822364807,
0.031695060431957245,
-0.09271460026502609,
-0.067579485476017,
0.3078795373439789,
0.2120906263589859,
0.22209781408309937,
0.13279536366462708,
0.1184755489230156,
0.3480633795261383,
-0.03643788397312164,
0.16130594909191132,
0.08715011179447174,
0.00793122872710228
],
[
0.12118851393461227,
-0.25379475951194763,
0.18567092716693878,
-0.04668651148676872,
0.054580748081207275,
-0.00696348212659359,
0.16723191738128662,
-0.04362548515200615,
-0.11331053078174591,
-0.01879776082932949,
-0.07203113287687302,
0.08541633188724518,
-0.13914857804775238,
-0.06153032183647156,
-0.33072784543037415,
0.17303365468978882,
-0.0811653733253479
],
[
-0.227926105260849,
0.048387959599494934,
-0.11188752949237823,
0.17035704851150513,
0.02162863314151764,
0.10534431785345078,
-0.2505374550819397,
0.15792320668697357,
-0.15540507435798645,
-0.03151918947696686,
0.0006299123633652925,
-0.13702355325222015,
-0.1180037334561348,
-0.05092361196875572,
-0.03306593373417854,
0.19443398714065552,
0.07909434288740158
],
[
0.14036965370178223,
0.010201465338468552,
0.014902089722454548,
-0.4923253357410431,
-0.20052894949913025,
0.10894423723220825,
-0.1427217721939087,
-0.18467651307582855,
0.18656213581562042,
-0.28927600383758545,
-0.2782909870147705,
0.374061644077301,
0.16634610295295715,
-0.49240848422050476,
0.2727661728858948,
0.013290687464177608,
-0.004177681636065245
],
[
0.23686252534389496,
0.3418636918067932,
-0.008120452053844929,
-0.15494808554649353,
-0.09338771551847458,
-0.2635531425476074,
-0.04957322031259537,
0.05253693461418152,
0.27143019437789917,
-0.3672366738319397,
-0.06297288089990616,
0.12619321048259735,
-0.43765759468078613,
0.4231376349925995,
0.2087457925081253,
0.07838568836450577,
-0.008345509879291058
],
[
-0.1377846896648407,
-0.22005456686019897,
0.27294933795928955,
-0.28291353583335876,
0.18532982468605042,
0.20330804586410522,
0.1272982507944107,
0.04101027548313141,
0.2012283354997635,
0.2594245970249176,
0.4372044801712036,
-0.05901434272527695,
-0.0071645937860012054,
-0.19420845806598663,
-0.06897619366645813,
0.3560091257095337,
-0.031213417649269104
],
[
0.00762128783389926,
-0.022425247356295586,
0.26701435446739197,
0.2032865583896637,
-0.077154241502285,
-0.06906048208475113,
0.37676095962524414,
0.09880504757165909,
-0.13522733747959137,
-0.08288570493459702,
0.20055831968784332,
-0.3200417757034302,
-0.24269238114356995,
-0.25374075770378113,
0.16556963324546814,
-0.11833684146404266,
-0.3527127206325531
],
[
0.4249963164329529,
0.017850134521722794,
0.4418013393878937,
0.036334291100502014,
0.14733977615833282,
0.10987396538257599,
-0.10894860327243805,
0.27711787819862366,
0.34080415964126587,
0.3344211280345917,
-0.060685895383358,
0.23272450268268585,
-0.3712374269962311,
0.011358657851815224,
-0.23833611607551575,
-0.2048734724521637,
0.43539759516716003
]
]
},
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-Rating",
"2": "I-Rating",
"3": "B-Amenity",
"4": "I-Amenity",
"5": "B-Location",
"6": "I-Location",
"7": "B-Restaurant_Name",
"8": "I-Restaurant_Name",
"9": "B-Price",
"10": "B-Hours",
"11": "I-Hours",
"12": "B-Dish",
"13": "I-Dish",
"14": "B-Cuisine",
"15": "I-Price",
"16": "I-Cuisine"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-Amenity": 3,
"B-Cuisine": 14,
"B-Dish": 12,
"B-Hours": 10,
"B-Location": 5,
"B-Price": 9,
"B-Rating": 1,
"B-Restaurant_Name": 7,
"I-Amenity": 4,
"I-Cuisine": 16,
"I-Dish": 13,
"I-Hours": 11,
"I-Location": 6,
"I-Price": 15,
"I-Rating": 2,
"I-Restaurant_Name": 8,
"O": 0
},
"layer_norm_eps": 1e-07,
"max_position_embeddings": 512,
"max_relative_positions": -1,
"model_type": "deberta-v2",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pooler_dropout": 0,
"pooler_hidden_act": "gelu",
"pooler_hidden_size": 1024,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"torch_dtype": "float32",
"transformers_version": "4.11.3",
"type_vocab_size": 0,
"vocab_size": 128100
}