lighthouse-scoring / data /artifacts /conversation_head.params.json
AaravArora's picture
scoring service: FastAPI mounted at root, gradio at /ui
92d53f7 verified
Raw
History Blame Contribute Delete
12.8 kB
{
"note": "Generated by `python -m lighthouse.model.predict --fit`. Fitted on all 80 synthetic conversations. These weights are for INFERENCE ONLY \u2014 every performance number in docs/results.md is cross-validated and comes from conversation_head.py, not from a model fitted on its own test set.",
"seed": 20260804,
"n_train": 85,
"feature_groups": [
"gate",
"turn",
"trend",
"report",
"history"
],
"feature_names": [
"gate_score",
"gate_has_floor",
"gate_floor_rank",
"gate_is_high",
"gate_is_grey",
"gate_hit_count",
"gate_max_weight",
"gate_self_harm_intent",
"gate_suicidal_ideation",
"gate_abuse_disclosure",
"gate_threat_of_violence",
"gate_weapon_mention",
"gate_imminent_time_marker",
"max_risk",
"mean_risk",
"topk_mean_risk",
"frac_above_tau",
"count_above_tau",
"max_p_none",
"max_p_distress",
"max_p_harassment",
"max_p_identity_attack",
"max_p_threat",
"max_p_self_harm",
"trend_slope",
"last_risk",
"second_half_delta",
"peak_position",
"n_turns",
"duration_score",
"frequency_count",
"has_frequency",
"avoidance_count",
"has_avoidance",
"barrier_count",
"has_identity_target",
"prior_sessions",
"prior_max_tier_rank"
],
"tier_order": [
"T0",
"T1",
"T2",
"T3",
"T4"
],
"head": {
"scaler_mean": [
0.3,
0.32941176470588235,
1.1529411764705881,
0.24705882352941178,
0.08235294117647059,
0.4470588235294118,
0.3,
0.023529411764705882,
0.15294117647058825,
0.058823529411764705,
0.09411764705882353,
0.03529411764705882,
0.058823529411764705,
0.4423134705882352,
0.22036654803921574,
0.22651840784313731,
0.1666666666666667,
0.5176470588235295,
0.9532597529411765,
0.15455048235294114,
0.1094841764705882,
0.00858790588235294,
0.03833462352941176,
0.19598316470588234,
0.00489994,
0.2012407411764706,
-0.057032329411764705,
0.4529411764705881,
3.0588235294117645,
0.19998462168364986,
0.5411764705882353,
0.4,
0.16470588235294117,
0.11764705882352941,
0.11764705882352941,
0.08235294117647059,
0.0,
0.0
],
"scaler_scale": [
0.43331825011456987,
0.4699996318926632,
1.6838742607307589,
0.4313012418781968,
0.27490168107171603,
0.7113513627214576,
0.43331825011456987,
0.15157763207911917,
0.3599307891947849,
0.2352941176470588,
0.2919923210821377,
0.1845222016630368,
0.2352941176470588,
0.33785266688350446,
0.16657333353070486,
0.17502533105672824,
0.22397187031591811,
0.6964069923269995,
0.040101299131047916,
0.1761483924126682,
0.16744633137408368,
0.005845074150636241,
0.1332708093076099,
0.24049294498263343,
0.029525267431593356,
0.2585865733258014,
0.3447095031399419,
0.39656347702610545,
0.2352941176470587,
0.32782474132518347,
0.7444372715085351,
0.48989794855663554,
0.5051978953784448,
0.32218973970892134,
0.3884135063345688,
0.27490168107171603,
1.0,
1.0
],
"coef": [
[
-0.2068299305571436,
-0.20321101258360907,
-0.18839483447244507,
-0.15153836335919127,
-0.10967709140329755,
-0.20031598277553436,
-0.2068299305571436,
-0.05400546498695367,
-0.16643651012959831,
-0.043482745547084124,
-0.08710507889707836,
-0.07374152350232525,
-0.01905001148684489,
-0.2900578592159518,
-0.04613831769416191,
-0.06235668125567295,
0.09638861224769575,
0.07786964585705745,
0.10401628985082174,
-0.6454954841162571,
0.060949797651635135,
0.00608355510622488,
0.1583196720667819,
0.2976833085577481,
-0.022618627541798504,
0.13699465865782773,
-0.3717576168840254,
-0.207637364548175,
-0.10748239408362661,
-0.2783453834759476,
-0.3384277284243402,
0.06818898253192017,
-0.14463251882917327,
-0.22147285467050973,
-0.16450101269087486,
-0.13602885090594813,
0.0,
0.0
],
[
-0.17828092251378536,
-0.17965772377457062,
-0.16023086291608574,
-0.1493874967495839,
-0.07278257118526574,
-0.12847752286854267,
-0.17828092251378536,
-0.04154036205609704,
-0.042970765240390625,
-0.07202736324837038,
-0.07460117698694427,
-0.14595897290949822,
-0.004806732515830284,
0.1682010426718246,
-0.06876369476963314,
-0.07192062870873989,
-0.2608563028626403,
-0.2560113752543138,
0.06035139745101065,
0.118686583224063,
0.3208032742471316,
-0.20007767236674964,
-0.04310586687957551,
-0.14710884932469007,
-0.044206306796139745,
0.18716605455079713,
0.13903358404489258,
0.8070599042758503,
-0.04987201079412427,
-0.31870111014855895,
-0.13768910912202065,
-0.03655766582872186,
-0.26237312741085184,
-0.37256922888554905,
-0.17246249551307669,
-0.1625067355871575,
0.0,
0.0
],
[
-0.18272285225562307,
-0.1890377467046296,
-0.17612383717389865,
-0.1405295841491126,
-0.10271704083718992,
-0.14516785332579937,
-0.18272285225562307,
-0.06319992258014373,
-0.1072680268479791,
-0.0634325918319643,
-0.08630155920386916,
-0.033478946534891973,
-0.003356340233576393,
-0.004115097039449625,
0.06683541226791102,
0.07063430090412696,
0.09268548003534474,
0.11036554435277038,
-0.11397927556988573,
0.34534789190279497,
-0.12977886805911373,
0.0004976846647178699,
-0.20704963768373197,
-0.34297405066046205,
-0.0655734550513806,
-0.4714261893013637,
0.06998983692511308,
-0.08613952572114988,
-0.08391647186958956,
0.5302486758453185,
0.43000709353484223,
-0.1774261765325585,
0.14060128084550644,
0.4506137171066495,
0.40758764090163246,
-0.6162104824736717,
0.0,
0.0
],
[
0.20502797014785124,
0.2873956087339306,
0.028465795505393,
-0.05689056902470499,
0.5806177785518462,
0.08719696893181493,
0.20502797014785124,
-0.017714799866646088,
0.010492565131435512,
-0.24432664628908507,
0.39948150862853066,
0.3417164520691005,
-0.37388670596524337,
-0.018996926954874174,
0.011705744860057028,
0.03457396394636991,
0.11627594091031947,
0.120335953882903,
0.06431781179462243,
0.12613625187042918,
-0.16429644841656457,
0.08542044977013011,
0.11873314240614306,
0.022354251180088453,
0.13697140050144432,
0.30248139923020634,
0.22413879976467027,
-0.34698463363925514,
0.22889818655332966,
-0.1002468339910965,
0.14446415070410315,
0.2291236696005116,
0.15161946636086338,
0.06139699630590342,
0.13946490246459545,
0.9492964935686442,
0.0,
0.0
],
[
0.3628057351787006,
0.284510874328878,
0.49628373905703593,
0.49834601328259254,
-0.29544107512609324,
0.3867643900380611,
0.3628057351787006,
0.17646054948984016,
0.3061827370865326,
0.42326934691650375,
-0.15147369354063897,
-0.08853700912238478,
0.4010997902014947,
0.14496884053845094,
0.03636085533582607,
0.02906904511391515,
-0.04449373033072022,
-0.052559768838417474,
-0.11470622352656862,
0.05532475711896923,
-0.08767775542308892,
0.10807598282567671,
-0.026897309909617723,
0.17004534024731582,
-0.004573011112125505,
-0.15521592313746743,
-0.06140460385065036,
-0.16629838036727007,
0.012372690194010626,
0.1670446517702846,
-0.09835440669258465,
-0.08332880977115106,
0.11478489903365521,
0.08203137014350596,
-0.21008903516227642,
-0.034550424601866976,
0.0,
0.0
]
],
"intercept": [
-0.020401707511047175,
-0.22671926649102536,
0.4182067801401584,
0.789360964669934,
-0.9604467708080163
],
"classes": [
0,
1,
2,
3,
4
]
},
"ranker": {
"scaler_mean": [
0.3,
0.32941176470588235,
1.1529411764705881,
0.24705882352941178,
0.08235294117647059,
0.4470588235294118,
0.3,
0.023529411764705882,
0.15294117647058825,
0.058823529411764705,
0.09411764705882353,
0.03529411764705882,
0.058823529411764705,
0.4423134705882352,
0.22036654803921574,
0.22651840784313731,
0.1666666666666667,
0.5176470588235295,
0.9532597529411765,
0.15455048235294114,
0.1094841764705882,
0.00858790588235294,
0.03833462352941176,
0.19598316470588234,
0.00489994,
0.2012407411764706,
-0.057032329411764705,
0.4529411764705881,
3.0588235294117645,
0.19998462168364986,
0.5411764705882353,
0.4,
0.16470588235294117,
0.11764705882352941,
0.11764705882352941,
0.08235294117647059,
0.0,
0.0
],
"scaler_scale": [
0.43331825011456987,
0.4699996318926632,
1.6838742607307589,
0.4313012418781968,
0.27490168107171603,
0.7113513627214576,
0.43331825011456987,
0.15157763207911917,
0.3599307891947849,
0.2352941176470588,
0.2919923210821377,
0.1845222016630368,
0.2352941176470588,
0.33785266688350446,
0.16657333353070486,
0.17502533105672824,
0.22397187031591811,
0.6964069923269995,
0.040101299131047916,
0.1761483924126682,
0.16744633137408368,
0.005845074150636241,
0.1332708093076099,
0.24049294498263343,
0.029525267431593356,
0.2585865733258014,
0.3447095031399419,
0.39656347702610545,
0.2352941176470587,
0.32782474132518347,
0.7444372715085351,
0.48989794855663554,
0.5051978953784448,
0.32218973970892134,
0.3884135063345688,
0.27490168107171603,
1.0,
1.0
],
"coef": [
[
0.5882087958646727,
0.6227300978093786,
0.547569123599499,
0.44241518345813036,
0.37056411692532637,
0.44995547210076076,
0.5882087958646727,
0.12559190198018044,
0.2728175286852534,
0.15505327503789793,
0.37852658314147947,
0.20773908271728025,
0.03204956901045157,
-0.0405132879737928,
-0.07725421078751496,
-0.08518442546442688,
0.1831127578361694,
0.11779546337328543,
0.005024496775063931,
0.1326333838728038,
-0.4372281113945112,
0.37948126382718755,
0.13342944670237203,
0.2239254431125486,
0.15968808728527442,
0.355732353676643,
0.5004556264684882,
-0.8578173832166285,
0.35170926621190307,
-0.15992436934121734,
-0.10531540112242825,
0.3915221597333204,
0.29464167116531625,
-0.1486934203707718,
-0.32322048959755395,
1.4835574280040413,
0.0,
0.0
]
],
"intercept": [
0.32669280752229585
],
"classes": [
0,
1
]
},
"isotonic": {
"x": [
0.0028043417472952,
0.017657415676909895,
0.017722081983093878,
0.5802612630643242,
0.6327021688059242,
0.8253893806840094,
0.8319869145536672,
0.9917507916812086,
0.9928647523663642,
0.9999673601210588
],
"y": [
0.0,
0.0,
0.08108108108108109,
0.08108108108108109,
0.5,
0.5,
0.9444444444444444,
0.9444444444444444,
1.0,
1.0
]
}
}