Spaces:
Running
Running
Download toolkit/docs/events-selective-distant.json from Giuliocc/tacitus-source-lab: direct link, hf CLI and curl.
- Browser
- Download file 21.6 kB
-
https://huggingface.co/spaces/Giuliocc/tacitus-source-lab/resolve/main/toolkit/docs/events-selective-distant.json
- Command line
-
hf download hf://spaces/Giuliocc/tacitus-source-lab/toolkit/docs/events-selective-distant.json
-
curl -L -o events-selective-distant.json https://huggingface.co/spaces/Giuliocc/tacitus-source-lab/resolve/main/toolkit/docs/events-selective-distant.json
21.6 kB
| { | |
| "method": "Preserve local predictions and optionally add at most one distant span per role with a repeated normalized surface form near the same trigger.", | |
| "selection": { | |
| "threshold": 0.5, | |
| "max_additions_per_role": 1, | |
| "metric": "development detected-trigger exact span-and-role F1" | |
| }, | |
| "development_counts": { | |
| "detected_triggers": 1321, | |
| "extra_spans_before_scoring": 24944 | |
| }, | |
| "holdout_counts": { | |
| "detected_triggers": 1327, | |
| "extra_spans_before_scoring": 26029 | |
| }, | |
| "development": [ | |
| { | |
| "threshold": 0.0, | |
| "max_additions_per_role": 0, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.07675083965667372, | |
| "recall": 0.08659649122807017, | |
| "f1": 0.08137694539699288, | |
| "support": 7125, | |
| "predictions": 8039 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07991803278688525, | |
| "recall": 0.09252669039145907, | |
| "f1": 0.08576140736668499, | |
| "support": 2529, | |
| "predictions": 2928 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.13496932515337423, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.10114942528735632, | |
| "support": 272, | |
| "predictions": 163 | |
| }, | |
| "Content": { | |
| "precision": 0.07142857142857142, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.030303030303030304, | |
| "support": 52, | |
| "predictions": 14 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.08392715756136183, | |
| "recall": 0.11797440178074568, | |
| "f1": 0.09808003701133472, | |
| "support": 1797, | |
| "predictions": 2526 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.05588993981083405, | |
| "recall": 0.055793991416309016, | |
| "f1": 0.05584192439862543, | |
| "support": 2330, | |
| "predictions": 2326 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "threshold": 0.3, | |
| "max_additions_per_role": 1, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.0733790090358455, | |
| "recall": 0.10371929824561403, | |
| "f1": 0.08595022098162364, | |
| "support": 7125, | |
| "predictions": 10071 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07652785289345593, | |
| "recall": 0.11190193752471332, | |
| "f1": 0.0908944917295648, | |
| "support": 2529, | |
| "predictions": 3698 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.1317365269461078, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.10022779043280182, | |
| "support": 272, | |
| "predictions": 167 | |
| }, | |
| "Content": { | |
| "precision": 0.06666666666666667, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.029850746268656716, | |
| "support": 52, | |
| "predictions": 15 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.0825, | |
| "recall": 0.14691151919866444, | |
| "f1": 0.1056633980388233, | |
| "support": 1797, | |
| "predictions": 3200 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.051907872121003784, | |
| "recall": 0.0648068669527897, | |
| "f1": 0.05764458866195839, | |
| "support": 2330, | |
| "predictions": 2909 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "threshold": 0.5, | |
| "max_additions_per_role": 1, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.07523413111342352, | |
| "recall": 0.10147368421052631, | |
| "f1": 0.08640573648043023, | |
| "support": 7125, | |
| "predictions": 9610 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07828780625176007, | |
| "recall": 0.10992487149070779, | |
| "f1": 0.09144736842105264, | |
| "support": 2529, | |
| "predictions": 3551 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.13253012048192772, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.1004566210045662, | |
| "support": 272, | |
| "predictions": 166 | |
| }, | |
| "Content": { | |
| "precision": 0.07142857142857142, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.030303030303030304, | |
| "support": 52, | |
| "predictions": 14 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.084640522875817, | |
| "recall": 0.1441291040623261, | |
| "f1": 0.10665019559398806, | |
| "support": 1797, | |
| "predictions": 3060 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.052977712824260136, | |
| "recall": 0.06223175965665236, | |
| "f1": 0.057233076771265046, | |
| "support": 2330, | |
| "predictions": 2737 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "threshold": 0.7, | |
| "max_additions_per_role": 1, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.07607162235485622, | |
| "recall": 0.0983859649122807, | |
| "f1": 0.08580171358629131, | |
| "support": 7125, | |
| "predictions": 9215 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07950891552177726, | |
| "recall": 0.10755239224990115, | |
| "f1": 0.09142857142857143, | |
| "support": 2529, | |
| "predictions": 3421 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.13333333333333333, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.10068649885583524, | |
| "support": 272, | |
| "predictions": 165 | |
| }, | |
| "Content": { | |
| "precision": 0.07142857142857142, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.030303030303030304, | |
| "support": 52, | |
| "predictions": 14 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.08440677966101695, | |
| "recall": 0.13856427378964942, | |
| "f1": 0.10490836317674321, | |
| "support": 1797, | |
| "predictions": 2950 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.05381339527680991, | |
| "recall": 0.05965665236051502, | |
| "f1": 0.056584571544880925, | |
| "support": 2330, | |
| "predictions": 2583 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "threshold": 0.85, | |
| "max_additions_per_role": 1, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.07618939479959123, | |
| "recall": 0.09417543859649123, | |
| "f1": 0.08423299020838564, | |
| "support": 7125, | |
| "predictions": 8807 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07800982800982802, | |
| "recall": 0.10043495452748122, | |
| "f1": 0.0878133102852204, | |
| "support": 2529, | |
| "predictions": 3256 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.13414634146341464, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.10091743119266056, | |
| "support": 272, | |
| "predictions": 164 | |
| }, | |
| "Content": { | |
| "precision": 0.07142857142857142, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.030303030303030304, | |
| "support": 52, | |
| "predictions": 14 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.08454191722674213, | |
| "recall": 0.13299944351697274, | |
| "f1": 0.10337370242214533, | |
| "support": 1797, | |
| "predictions": 2827 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.05560064935064935, | |
| "recall": 0.05879828326180257, | |
| "f1": 0.05715477680433876, | |
| "support": 2330, | |
| "predictions": 2464 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "threshold": 0.95, | |
| "max_additions_per_role": 1, | |
| "metrics": { | |
| "micro": { | |
| "precision": 0.07662199027398885, | |
| "recall": 0.09066666666666667, | |
| "f1": 0.08305476986371818, | |
| "support": 7125, | |
| "predictions": 8431 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.22033898305084745, | |
| "recall": 0.19402985074626866, | |
| "f1": 0.20634920634920634, | |
| "support": 67, | |
| "predictions": 59 | |
| }, | |
| "Agent": { | |
| "precision": 0.07757221681272314, | |
| "recall": 0.09450375642546462, | |
| "f1": 0.08520499108734403, | |
| "support": 2529, | |
| "predictions": 3081 | |
| }, | |
| "Agreement": { | |
| "precision": 0.29411764705882354, | |
| "recall": 0.2631578947368421, | |
| "f1": 0.2777777777777778, | |
| "support": 19, | |
| "predictions": 17 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 1 | |
| }, | |
| "Consequence": { | |
| "precision": 0.13496932515337423, | |
| "recall": 0.08088235294117647, | |
| "f1": 0.10114942528735632, | |
| "support": 272, | |
| "predictions": 163 | |
| }, | |
| "Content": { | |
| "precision": 0.07142857142857142, | |
| "recall": 0.019230769230769232, | |
| "f1": 0.030303030303030304, | |
| "support": 52, | |
| "predictions": 14 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 8, | |
| "predictions": 4 | |
| }, | |
| "Location": { | |
| "precision": 0.08588278658311832, | |
| "recall": 0.1296605453533667, | |
| "f1": 0.1033259423503326, | |
| "support": 1797, | |
| "predictions": 2713 | |
| }, | |
| "Name": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 11, | |
| "predictions": 1 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 12, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.05592935239697225, | |
| "recall": 0.05708154506437768, | |
| "f1": 0.05649957519116398, | |
| "support": 2330, | |
| "predictions": 2378 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| } | |
| ], | |
| "holdout_baseline": { | |
| "micro": { | |
| "precision": 0.08392449200432849, | |
| "recall": 0.11135928525845565, | |
| "f1": 0.0957147754542338, | |
| "support": 6268, | |
| "predictions": 8317 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.10714285714285714, | |
| "recall": 0.09836065573770492, | |
| "f1": 0.10256410256410256, | |
| "support": 61, | |
| "predictions": 56 | |
| }, | |
| "Agent": { | |
| "precision": 0.08311345646437995, | |
| "recall": 0.12, | |
| "f1": 0.09820732657833203, | |
| "support": 2100, | |
| "predictions": 3032 | |
| }, | |
| "Agreement": { | |
| "precision": 0.23076923076923078, | |
| "recall": 0.46153846153846156, | |
| "f1": 0.3076923076923077, | |
| "support": 13, | |
| "predictions": 26 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 19, | |
| "predictions": 0 | |
| }, | |
| "Consequence": { | |
| "precision": 0.08928571428571429, | |
| "recall": 0.05791505791505792, | |
| "f1": 0.0702576112412178, | |
| "support": 259, | |
| "predictions": 168 | |
| }, | |
| "Content": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 46, | |
| "predictions": 24 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 0 | |
| }, | |
| "Location": { | |
| "precision": 0.09422256688639008, | |
| "recall": 0.1360582306830907, | |
| "f1": 0.11134020618556702, | |
| "support": 1786, | |
| "predictions": 2579 | |
| }, | |
| "Name": { | |
| "precision": 0.4, | |
| "recall": 0.125, | |
| "f1": 0.19047619047619047, | |
| "support": 16, | |
| "predictions": 5 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.07169344870210136, | |
| "recall": 0.08973697782362042, | |
| "f1": 0.07970682546953733, | |
| "support": 1939, | |
| "predictions": 2427 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 1, | |
| "predictions": 0 | |
| } | |
| } | |
| }, | |
| "holdout_selected": { | |
| "micro": { | |
| "precision": 0.07987897125567323, | |
| "recall": 0.1263560944479898, | |
| "f1": 0.09788049187418896, | |
| "support": 6268, | |
| "predictions": 9915 | |
| }, | |
| "per_type": { | |
| "Action": { | |
| "precision": 0.10714285714285714, | |
| "recall": 0.09836065573770492, | |
| "f1": 0.10256410256410256, | |
| "support": 61, | |
| "predictions": 56 | |
| }, | |
| "Agent": { | |
| "precision": 0.07743837084673097, | |
| "recall": 0.1376190476190476, | |
| "f1": 0.09910836762688614, | |
| "support": 2100, | |
| "predictions": 3732 | |
| }, | |
| "Agreement": { | |
| "precision": 0.23076923076923078, | |
| "recall": 0.46153846153846156, | |
| "f1": 0.3076923076923077, | |
| "support": 13, | |
| "predictions": 26 | |
| }, | |
| "Cause": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 19, | |
| "predictions": 0 | |
| }, | |
| "Consequence": { | |
| "precision": 0.08875739644970414, | |
| "recall": 0.05791505791505792, | |
| "f1": 0.07009345794392523, | |
| "support": 259, | |
| "predictions": 169 | |
| }, | |
| "Content": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 46, | |
| "predictions": 24 | |
| }, | |
| "Issue": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 22, | |
| "predictions": 0 | |
| }, | |
| "Location": { | |
| "precision": 0.09161793372319688, | |
| "recall": 0.15789473684210525, | |
| "f1": 0.11595394736842106, | |
| "support": 1786, | |
| "predictions": 3078 | |
| }, | |
| "Name": { | |
| "precision": 0.4, | |
| "recall": 0.125, | |
| "f1": 0.19047619047619047, | |
| "support": 16, | |
| "predictions": 5 | |
| }, | |
| "Outcome": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 6, | |
| "predictions": 0 | |
| }, | |
| "Patient": { | |
| "precision": 0.06796460176991151, | |
| "recall": 0.09902011346054668, | |
| "f1": 0.08060453400503778, | |
| "support": 1939, | |
| "predictions": 2825 | |
| }, | |
| "Purpose": { | |
| "precision": 0.0, | |
| "recall": 0.0, | |
| "f1": 0.0, | |
| "support": 1, | |
| "predictions": 0 | |
| } | |
| } | |
| } | |
| } | |