File size: 4,075 Bytes
62f720d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
  "built_at": "2026-11-22 17:21:42",
  "seconds": 82.8,
  "mask_level": "standard",
  "subjects_queue": null,
  "n_meta": 176683,
  "n_corpus": 52123,
  "status_counts": {
    "not_processed": 92764,
    "no_pdf_404": 1152,
    "decision_not_se": 2133,
    "sections_missing": 2510,
    "statement_only_meta": 25999,
    "usable": 52123,
    "statement_like": 2
  },
  "counts": {
    "train.in_window": 24918,
    "train.with_predicate": 24766,
    "train.retrievable": 22580,
    "train.no_predicate_extracted": 152,
    "dev.in_window": 2859,
    "dev.with_predicate": 2842,
    "dev.retrievable": 2635,
    "dev.no_predicate_extracted": 17,
    "test.in_window": 5687,
    "test.with_predicate": 5651,
    "test.retrievable": 5308,
    "test.no_predicate_extracted": 36
  },
  "pair_reasons": {
    "train|in_corpus": 41281,
    "train|sections_missing": 2300,
    "train|no_pdf_404": 1394,
    "train|statement_only": 1756,
    "train|decision_not_se": 191,
    "train|non_510k_identifier": 506,
    "train|not_in_openfda": 232,
    "train|temporal_violation": 52,
    "train|statement_only_detected": 1,
    "dev|in_corpus": 4731,
    "dev|not_in_openfda": 19,
    "dev|statement_only": 157,
    "dev|sections_missing": 200,
    "dev|no_pdf_404": 82,
    "dev|non_510k_identifier": 53,
    "dev|decision_not_se": 12,
    "dev|temporal_violation": 9,
    "test|in_corpus": 9243,
    "test|statement_only": 226,
    "test|no_pdf_404": 133,
    "test|sections_missing": 317,
    "test|non_510k_identifier": 140,
    "test|not_in_openfda": 38,
    "test|decision_not_se": 4,
    "test|temporal_violation": 6
  },
  "config": {
    "splits": {
      "train": [
        "2015-01-01",
        "2023-12-31"
      ],
      "dev": [
        "2024-01-01",
        "2024-12-31"
      ],
      "test": [
        "2025-01-01",
        "2026-12-31"
      ]
    },
    "corpus": {
      "decision_code_prefix": "SE",
      "usable_policy": "both",
      "min_decision_date": null
    },
    "parse": {
      "workers": 0,
      "min_words": {
        "ifu": 8,
        "description": 15
      },
      "desc_fallback": "summary_body",
      "max_section_chars": 6000,
      "ifu_preference": [
        "form",
        "summary"
      ],
      "first_other_fallback": true
    },
    "leakage": {
      "mask_level": "standard",
      "name_min_chars": 8,
      "name_min_tokens": 2
    },
    "models": [
      {
        "name": "embeddinggemma-300m",
        "hf_id": "google/embeddinggemma-300m",
        "max_len": 256,
        "query_prefix": "task: search result | query: ",
        "doc_prefix": "title: none | text: ",
        "dtype": "bf16",
        "zero_shot_baseline": true
      },
      {
        "name": "modernbert-base",
        "hf_id": "answerdotai/ModernBERT-base",
        "max_len": 256,
        "query_prefix": "",
        "doc_prefix": "",
        "pooling": "mean",
        "zero_shot_baseline": true
      }
    ],
    "input_template": {
      "ifu_header": "Indications for Use: ",
      "desc_header": "Device Description: ",
      "separator": "\n"
    },
    "truncation": {
      "max_len_grid": [
        128,
        256,
        512,
        1024
      ],
      "policy": "budget",
      "ifu_budget_tokens": 128,
      "threshold_pct": 5.0,
      "chunk": {
        "size": 256,
        "stride": 128
      },
      "allow_approx_tokenizer": true
    },
    "eval_spec": {
      "similarity": "cosine",
      "similarity_ablation": [
        "dot"
      ],
      "recall_k": [
        1,
        5,
        10,
        50
      ],
      "hit_k": [
        1,
        5,
        10,
        15
      ],
      "ndcg_k": 10,
      "bootstrap": 1000,
      "candidate_rule": "devices in the corpus with decision_date strictly before the subject's decision_date",
      "report_as": "recovery of historical citations (an uncited device is not necessarily an unsuitable predicate)"
    }
  }
}