scribeski-classifier-r3 / classifier.json
lookevink's picture
Scribeski intake classifier r3 (Qwen3-1.7B fine-tune, 8-bit MLX)
164abd0 verified
Raw History Blame Contribute Delete
38.2 kB
{ "schema": "scribeski.classifier/1", "version": "r3-2026-09-23", "base_model": "Qwen/Qwen3-1.7B (Apache-2.0)", "weights": "model/ (MLX, 8-bit, group size 64)", "training": { "data": "1,207 synthetic behavioral-health sessions (tools/synth, batches 1-5 at train time), 1,004 train / 203 val", "method": "full fine-tune, 32k context, 2 epochs, lr 1e-5, AdamW, fp32 master weights, bf16 autocast; epoch 2 selected by validation NLL", "hardware": "1x H100 PCIe, ~1.6 h" }, "prompt": { "rules": "You fill a behavioural-health intake form from a session transcript. For each question, answer with one letter.\n- Answer about the CLIENT's own current situation (for referrals, crisis resources and safety plans: what the worker actually did in this session).\n- Z = not established: never discussed, only hypothetical/conditional/future, about someone else, left unresolved, or the client declined (use a DECLINED option where there is one).\n- If something is corrected later, the final version counts.\n- A passing mention counts: an aside or a detail inside a story establishes a fact when it clearly describes the client's current situation.\n- If what was said fits none of the options (e.g. active suicidal thoughts but a plan never asked about), answer Z so a person reviews it.\n- Lines starting with \"[family member]\" or \"[another clinician]\" are said by someone other than the client.\n- Questionnaire items (PHQ-9, GAD-7) only if the worker administers that questionnaire; past two weeks: 0 not at all, 1 several days (2-6 of 14), 2 more than half the days (8-11), 3 nearly every day (12-14).\n- Don't infer one field from another, from names, family roles, or the language being spoken.", "chat_template": "model tokenizer's, system=rules, user='TRANSCRIPT:\\n'+lines, add_generation_prompt, enable_thinking=False", "question_format": "Q{n}. {text}\\nAnswer: (questions joined with '\\n', appended after the chat prefix, in this order)", "max_len": 32768, "truncation": "drop the middle of the transcript; keep rules, start and end" }, "letters": { "A": 362, "B": 425, "C": 356, "D": 422, "E": 468, "F": 434, "G": 479, "H": 472, "Z": 1863 }, "questions": [ { "qid": "pronouns", "field": "pronouns", "text": "the client's pronouns: A) uses she/her B) uses he/him C) uses they/them D) uses neopronouns (e.g. xe/xem) or another set E) not asked Z) not established", "letters": "ABCDEZ", "values": [ "SHE_HER", "HE_HIM", "THEY_THEM", "OTHER", "NOT_ASKED", null ] }, { "qid": "gender_identity", "field": "gender_identity", "text": "the client's gender identity: A) identifies as a woman B) identifies as a man C) identifies as nonbinary D) identifies as a transgender woman E) identifies as a transgender man F) describes their gender in their own terms (e.g. genderfluid, two-spirit) G) is asked and says they'd rather not say Z) not established", "letters": "ABCDEFGZ", "values": [ "WOMAN", "MAN", "NONBINARY", "TRANSGENDER_WOMAN", "TRANSGENDER_MAN", "OTHER", "DECLINED", null ] }, { "qid": "contact_ok_voicemail", "field": "contact_ok_voicemail", "text": "whether it's OK to leave voicemails: A) says it's fine to leave a voicemail B) does not want voicemails left (e.g. shared phone, privacy) Z) not established", "letters": "ABZ", "values": [ "YES", "NO", null ] }, { "qid": "language_combo", "field": "language_combo", "text": "the client's preferred language: A) prefers English B) prefers Spanish C) prefers Vietnamese for anything written, though comfortable speaking English today D) prefers Tagalog for anything written, though comfortable speaking English today E) prefers Mandarin for anything written, though comfortable speaking English today F) prefers Arabic for anything written, though comfortable speaking English today G) prefers another language (e.g. Punjabi) for anything written, though comfortable speaking English today Z) not established", "letters": "ABCDEFGZ", "values": [ "ENGLISH", "SPANISH", "VIETNAMESE", "TAGALOG", "MANDARIN", "ARABIC", "OTHER", null ] }, { "qid": "interpreter_needed", "field": "interpreter_needed", "text": "whether the client needs an interpreter: A) would need an interpreter for sessions B) does not need an interpreter Z) not established", "letters": "ABZ", "values": [ "YES", "NO", null ] }, { "qid": "referral_source", "field": "referral_source", "text": "who referred the client: A) reached out on their own B) was referred by a school (counselor, teacher) C) was referred by their primary care doctor D) was referred after a hospital or ER visit E) was referred by child protective services F) was referred by a court or judge G) was referred by a community organization (food bank, church program, nonprofit) H) was referred by someone else (e.g. an employer's EAP, a landlord) Z) not established", "letters": "ABCDEFGHZ", "values": [ "SELF", "SCHOOL", "PCP", "HOSPITAL", "CPS", "COURT", "COMMUNITY_ORG", "OTHER", null ] }, { "qid": "insurance_type", "field": "insurance_type", "text": "the client's health coverage: A) is covered by Medi-Cal B) is covered by Medicare C) has private insurance (through work or bought) D) has no health coverage E) genuinely doesn't know what coverage they have, and it stays unresolved Z) not established", "letters": "ABCDEZ", "values": [ "MEDI_CAL", "MEDICARE", "PRIVATE", "UNINSURED", "UNKNOWN", null ] }, { "qid": "emergency_contact_relationship", "field": "emergency_contact_relationship", "text": "who the emergency contact is to the client: A) emergency contact is their parent B) emergency contact is their sibling C) emergency contact is their partner/spouse D) emergency contact is their adult child E) emergency contact is a friend F) emergency contact is someone else (aunt, pastor, neighbor) Z) not established", "letters": "ABCDEFZ", "values": [ "PARENT", "SIBLING", "PARTNER", "CHILD", "FRIEND", "OTHER", null ] }, { "qid": "consent_telehealth", "field": "consent_telehealth", "text": "consent to telehealth: A) gives verbal consent to telehealth when the worker asks B) says they already signed the telehealth consent form C) declined Z) not established", "letters": "ABCZ", "values": [ "VERBAL", "WRITTEN", "DECLINED", null ] }, { "qid": "release_of_info:PCP", "field": "release_of_info", "text": "releases of information on file — has a signed release for their primary care doctor? A) yes B) no or not established", "letters": "AB", "values": [ "PCP", null ] }, { "qid": "release_of_info:PSYCHIATRIST", "field": "release_of_info", "text": "releases of information on file — has a signed release for their psychiatrist? A) yes B) no or not established", "letters": "AB", "values": [ "PSYCHIATRIST", null ] }, { "qid": "release_of_info:SCHOOL", "field": "release_of_info", "text": "releases of information on file — has a signed release for a school? A) yes B) no or not established", "letters": "AB", "values": [ "SCHOOL", null ] }, { "qid": "release_of_info:FAMILY", "field": "release_of_info", "text": "releases of information on file — has a signed release for a family member? A) yes B) no or not established", "letters": "AB", "values": [ "FAMILY", null ] }, { "qid": "release_of_info:NONE", "field": "release_of_info", "text": "releases of information on file — has no releases signed? A) yes B) no or not established", "letters": "AB", "values": [ "NONE", null ] }, { "qid": "phq9_difficulty", "field": "phq9_difficulty", "text": "how difficult these problems made work, home, and getting along with people: A) not difficult at all B) somewhat difficult C) very difficult D) extremely difficult Z) not established", "letters": "ABCDZ", "values": [ "NOT_DIFFICULT", "SOMEWHAT", "VERY", "EXTREMELY", null ] }, { "qid": "gad7_status", "field": "gad7_status", "text": "whether the GAD-7 anxiety questionnaire was done: A) the worker administers all seven GAD-7 questions B) the worker says they'll do the anxiety questionnaire next time (out of time, or client is tired) C) the client declines to do the anxiety questionnaire D) the worker says the anxiety questionnaire isn't needed (e.g. done last week, no anxiety concerns) Z) not established", "letters": "ABCDZ", "values": [ "COMPLETED", "DEFERRED", "DECLINED", "NOT_INDICATED", null ] }, { "qid": "si_ideation", "field": "si_ideation", "text": "suicidal thoughts: A) denies any thoughts of suicide or of being better off dead B) has had thoughts of being better off dead or not waking up, but no thoughts of killing themselves C) has had thoughts of killing themselves, but no plan for how D) has had thoughts of killing themselves and has thought about a specific method or plan Z) not established", "letters": "ABCDZ", "values": [ "NONE", "PASSIVE", "ACTIVE_NO_PLAN", "ACTIVE_WITH_PLAN", null ] }, { "qid": "si_prior_attempts", "field": "si_prior_attempts", "text": "past suicide attempts: A) has never attempted suicide B) made one suicide attempt in the past C) has made more than one suicide attempt D) is unsure whether a past incident was an attempt, and it stays unresolved Z) not established", "letters": "ABCDZ", "values": [ "NONE", "ONE", "MULTIPLE", "UNKNOWN", null ] }, { "qid": "si_means", "field": "si_means", "text": "access to firearms, stockpiled medication, or other lethal means: A) has no firearms, no stockpiled medication, and no other lethal means at home B) has access to a firearm or stockpiled medication at home C) not assessed Z) not established", "letters": "ABCZ", "values": [ "NO_ACCESS", "HAS_ACCESS", "NOT_ASSESSED", null ] }, { "qid": "hi_ideation", "field": "hi_ideation", "text": "thoughts of harming others: A) denies any thoughts of harming anyone B) has had fleeting angry thoughts of someone getting hurt, with no wish to act C) has had thoughts of hurting a specific person Z) not established", "letters": "ABCZ", "values": [ "NONE", "PASSIVE", "ACTIVE", null ] }, { "qid": "safety_plan", "field": "safety_plan", "text": "a safety plan: A) worker and client write a new safety plan together during the session B) they change an existing safety plan (new contact, new coping step) C) they go over the existing safety plan without changing it D) the worker says they'll do the safety plan next session E) the client refuses to do a safety plan F) the worker says a safety plan isn't needed right now Z) not established", "letters": "ABCDEFZ", "values": [ "COMPLETED", "UPDATED", "REVIEWED", "DEFERRED", "DECLINED", "NOT_INDICATED", null ] }, { "qid": "protective_factors:FAMILY_CONNECTION", "field": "protective_factors", "text": "reasons for living / protective factors — names family they're close to as a reason to keep going? A) yes B) no or not established", "letters": "AB", "values": [ "FAMILY_CONNECTION", null ] }, { "qid": "protective_factors:CHILDREN_IN_HOME", "field": "protective_factors", "text": "reasons for living / protective factors — names the kids at home as a reason to keep going? A) yes B) no or not established", "letters": "AB", "values": [ "CHILDREN_IN_HOME", null ] }, { "qid": "protective_factors:FUTURE_ORIENTATION", "field": "protective_factors", "text": "reasons for living / protective factors — talks about concrete things they're looking forward to? A) yes B) no or not established", "letters": "AB", "values": [ "FUTURE_ORIENTATION", null ] }, { "qid": "protective_factors:RELIGIOUS_BELIEFS", "field": "protective_factors", "text": "reasons for living / protective factors — says their faith keeps them going? A) yes B) no or not established", "letters": "AB", "values": [ "RELIGIOUS_BELIEFS", null ] }, { "qid": "protective_factors:TREATMENT_ENGAGEMENT", "field": "protective_factors", "text": "reasons for living / protective factors — says therapy or treatment is helping and they want to keep coming? A) yes B) no or not established", "letters": "AB", "values": [ "TREATMENT_ENGAGEMENT", null ] }, { "qid": "protective_factors:PETS", "field": "protective_factors", "text": "reasons for living / protective factors — names a pet as a reason to keep going? A) yes B) no or not established", "letters": "AB", "values": [ "PETS", null ] }, { "qid": "crisis_resources:LINE_988", "field": "crisis_resources", "text": "crisis resources the worker gives — worker gives the 988 Suicide & Crisis Lifeline? A) yes B) no or not established", "letters": "AB", "values": [ "LINE_988", null ] }, { "qid": "crisis_resources:COUNTY_CRISIS", "field": "crisis_resources", "text": "crisis resources the worker gives — worker gives the county crisis line number? A) yes B) no or not established", "letters": "AB", "values": [ "COUNTY_CRISIS", null ] }, { "qid": "crisis_resources:MOBILE_CRISIS", "field": "crisis_resources", "text": "crisis resources the worker gives — worker explains the mobile crisis team and how to reach it? A) yes B) no or not established", "letters": "AB", "values": [ "MOBILE_CRISIS", null ] }, { "qid": "crisis_resources:WARMLINE", "field": "crisis_resources", "text": "crisis resources the worker gives — worker gives the peer warmline number? A) yes B) no or not established", "letters": "AB", "values": [ "WARMLINE", null ] }, { "qid": "crisis_resources:NONE", "field": "crisis_resources", "text": "crisis resources the worker gives — worker explicitly notes no crisis resources were needed today? A) yes B) no or not established", "letters": "AB", "values": [ "NONE", null ] }, { "qid": "housing_status", "field": "housing_status", "text": "housing: A) has stable housing (own lease or owned home, not at risk) B) has housing but is at risk of losing it (eviction notice, behind on rent) C) is staying with friends or family temporarily because they have nowhere of their own D) is staying in a shelter or transitional housing E) is sleeping in a car, tent, or outside Z) not established", "letters": "ABCDEZ", "values": [ "STABLE", "AT_RISK", "DOUBLED_UP", "SHELTERED", "UNSHELTERED", null ] }, { "qid": "living_situation", "field": "living_situation", "text": "who the client lives with: A) lives alone B) lives with family (parents, kids, siblings) and no partner C) lives with a partner or spouse D) lives with roommates who aren't family E) lives in another arrangement (shelter dorm, board-and-care) Z) not established", "letters": "ABCDEZ", "values": [ "ALONE", "WITH_FAMILY", "WITH_PARTNER", "ROOMMATES", "OTHER", null ] }, { "qid": "employment_status", "field": "employment_status", "text": "work: A) works full time B) works part time C) is out of work and looking D) isn't working or looking (retired, caregiving at home) E) can't work because of a disability F) is a full-time student Z) not established", "letters": "ABCDEFZ", "values": [ "EMPLOYED_FT", "EMPLOYED_PT", "UNEMPLOYED", "NOT_IN_LABOR_FORCE", "DISABLED", "STUDENT", null ] }, { "qid": "income_sources:WAGES", "field": "income_sources", "text": "sources of income — gets a paycheck? A) yes B) no or not established", "letters": "AB", "values": [ "WAGES", null ] }, { "qid": "income_sources:UNEMPLOYMENT_INSURANCE", "field": "income_sources", "text": "sources of income — is receiving unemployment benefits? A) yes B) no or not established", "letters": "AB", "values": [ "UNEMPLOYMENT_INSURANCE", null ] }, { "qid": "income_sources:SNAP", "field": "income_sources", "text": "sources of income — gets food stamps / CalFresh / EBT? A) yes B) no or not established", "letters": "AB", "values": [ "SNAP", null ] }, { "qid": "income_sources:TANF", "field": "income_sources", "text": "sources of income — gets cash aid (CalWORKs)? A) yes B) no or not established", "letters": "AB", "values": [ "TANF", null ] }, { "qid": "income_sources:SSI", "field": "income_sources", "text": "sources of income — receives SSI? A) yes B) no or not established", "letters": "AB", "values": [ "SSI", null ] }, { "qid": "income_sources:SSDI", "field": "income_sources", "text": "sources of income — receives SSDI (disability through Social Security)? A) yes B) no or not established", "letters": "AB", "values": [ "SSDI", null ] }, { "qid": "income_sources:CHILD_SUPPORT", "field": "income_sources", "text": "sources of income — receives child support? A) yes B) no or not established", "letters": "AB", "values": [ "CHILD_SUPPORT", null ] }, { "qid": "income_sources:NONE", "field": "income_sources", "text": "sources of income — has no income at all right now? A) yes B) no or not established", "letters": "AB", "values": [ "NONE", null ] }, { "qid": "food_security", "field": "food_security", "text": "having enough food: A) has enough food B) runs out of food or skips meals because of money Z) not established", "letters": "ABZ", "values": [ "SECURE", "INSECURE", null ] }, { "qid": "transportation", "field": "transportation", "text": "transportation: A) has reliable transportation (working car, dependable ride) B) has transportation that often falls through (old car, buses that don't come) C) has no way to get around on their own Z) not established", "letters": "ABCZ", "values": [ "RELIABLE", "UNRELIABLE", "NONE", null ] }, { "qid": "legal_involvement", "field": "legal_involvement", "text": "legal involvement: A) has no current legal involvement B) is on probation C) has a pending criminal case D) has an active family court matter (custody, divorce) E) has an open CPS case Z) not established", "letters": "ABCDEZ", "values": [ "NONE", "PROBATION", "PENDING_CASE", "FAMILY_COURT", "CPS_OPEN", null ] }, { "qid": "children_in_home", "field": "children_in_home", "text": "minor children living in the home: A) has children under 18 living with them B) has no minor children living with them Z) not established", "letters": "ABZ", "values": [ "YES", "NO", null ] }, { "qid": "substances:ALCOHOL", "field": "substances", "text": "substance use in the past 30 days — drank alcohol in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "ALCOHOL", null ] }, { "qid": "substances:CANNABIS", "field": "substances", "text": "substance use in the past 30 days — used cannabis in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "CANNABIS", null ] }, { "qid": "substances:OPIOIDS", "field": "substances", "text": "substance use in the past 30 days — used opioids (non-prescribed pills, fentanyl, heroin) in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "OPIOIDS", null ] }, { "qid": "substances:STIMULANTS", "field": "substances", "text": "substance use in the past 30 days — used meth or cocaine in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "STIMULANTS", null ] }, { "qid": "substances:SEDATIVES", "field": "substances", "text": "substance use in the past 30 days — used non-prescribed benzos or sleeping pills in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "SEDATIVES", null ] }, { "qid": "substances:NONE_REPORTED", "field": "substances", "text": "substance use in the past 30 days — denies any substance use in the past month? A) yes B) no or not established", "letters": "AB", "values": [ "NONE_REPORTED", null ] }, { "qid": "alcohol_frequency", "field": "alcohol_frequency", "text": "how often the client drinks: A) never drinks B) drinks once a month or less C) drinks two to four times a month D) drinks two or three times a week E) drinks four or more days a week Z) not established", "letters": "ABCDEZ", "values": [ "NEVER", "MONTHLY_OR_LESS", "TWO_TO_FOUR_PER_MONTH", "TWO_TO_THREE_PER_WEEK", "FOUR_PLUS_PER_WEEK", null ] }, { "qid": "tobacco_use", "field": "tobacco_use", "text": "tobacco or nicotine use: A) has never smoked or vaped B) used to smoke or vape but quit C) currently smokes or vapes Z) not established", "letters": "ABCZ", "values": [ "NEVER", "FORMER", "CURRENT", null ] }, { "qid": "substance_tx_history", "field": "substance_tx_history", "text": "past substance-use treatment: A) has never been in substance-use treatment B) did outpatient substance-use treatment C) went to residential rehab D) has been on medication-assisted treatment (methadone, buprenorphine) Z) not established", "letters": "ABCDZ", "values": [ "NONE", "OUTPATIENT", "RESIDENTIAL", "MAT", null ] }, { "qid": "medication_adherence", "field": "medication_adherence", "text": "taking prescribed medications: A) takes their meds as prescribed B) misses doses or takes them only sometimes C) has stopped taking their prescribed meds D) isn't prescribed any medication Z) not established", "letters": "ABCDZ", "values": [ "ADHERENT", "PARTIAL", "NOT_TAKING", "NONE_PRESCRIBED", null ] }, { "qid": "support_system:FAMILY", "field": "support_system", "text": "who the client can lean on — can lean on family? A) yes B) no or not established", "letters": "AB", "values": [ "FAMILY", null ] }, { "qid": "support_system:FRIENDS", "field": "support_system", "text": "who the client can lean on — can lean on friends? A) yes B) no or not established", "letters": "AB", "values": [ "FRIENDS", null ] }, { "qid": "support_system:FAITH_COMMUNITY", "field": "support_system", "text": "who the client can lean on — can lean on a church or faith community? A) yes B) no or not established", "letters": "AB", "values": [ "FAITH_COMMUNITY", null ] }, { "qid": "support_system:PEER_GROUP", "field": "support_system", "text": "who the client can lean on — attends a peer support group (AA, NA, NAMI)? A) yes B) no or not established", "letters": "AB", "values": [ "PEER_GROUP", null ] }, { "qid": "support_system:NONE", "field": "support_system", "text": "who the client can lean on — says they have no one to lean on? A) yes B) no or not established", "letters": "AB", "values": [ "NONE", null ] }, { "qid": "adl_bathing", "field": "adl_bathing", "text": "bathing: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "adl_dressing", "field": "adl_dressing", "text": "getting dressed: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "adl_eating", "field": "adl_eating", "text": "eating: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "adl_mobility", "field": "adl_mobility", "text": "getting around the home: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "iadl_finances", "field": "iadl_finances", "text": "managing money and bills: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "iadl_transport", "field": "iadl_transport", "text": "getting to appointments and errands: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "iadl_medications", "field": "iadl_medications", "text": "managing their own medications: A) does this fully on their own B) does it but needs some help or supervision from someone C) cannot do it; someone else does it for them D) not assessed Z) not established", "letters": "ABCDZ", "values": [ "INDEPENDENT", "NEEDS_ASSISTANCE", "DEPENDENT", "NOT_ASSESSED", null ] }, { "qid": "referrals_made:FOOD_BANK", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client to a food bank? A) yes B) no or not established", "letters": "AB", "values": [ "FOOD_BANK", null ] }, { "qid": "referrals_made:HOUSING_NAV", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client to a housing navigator? A) yes B) no or not established", "letters": "AB", "values": [ "HOUSING_NAV", null ] }, { "qid": "referrals_made:BENEFITS", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client for benefits help (CalFresh, SSI application)? A) yes B) no or not established", "letters": "AB", "values": [ "BENEFITS", null ] }, { "qid": "referrals_made:PSYCHIATRY", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client to psychiatry? A) yes B) no or not established", "letters": "AB", "values": [ "PSYCHIATRY", null ] }, { "qid": "referrals_made:SUBSTANCE_TX", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client to substance-use treatment? A) yes B) no or not established", "letters": "AB", "values": [ "SUBSTANCE_TX", null ] }, { "qid": "referrals_made:LEGAL_AID", "field": "referrals_made", "text": "referrals the worker makes today — worker refers the client to legal aid? A) yes B) no or not established", "letters": "AB", "values": [ "LEGAL_AID", null ] }, { "qid": "referrals_made:NONE", "field": "referrals_made", "text": "referrals the worker makes today — worker explicitly makes no new referrals today? A) yes B) no or not established", "letters": "AB", "values": [ "NONE", null ] }, { "qid": "follow_up_interval", "field": "follow_up_interval", "text": "how often they'll meet going forward: A) they agree to meet every week B) they agree to meet every two weeks C) they agree to meet once a month D) they agree the client will reach out as needed Z) not established", "letters": "ABCDZ", "values": [ "WEEKLY", "BIWEEKLY", "MONTHLY", "AS_NEEDED", null ] }, { "qid": "si_frequency", "field": "si_frequency", "text": "how often suicidal thoughts came in the past two weeks: A) no such thoughts in the past two weeks B) such thoughts on several days (2–6 of the last 14) C) such thoughts on more than half the days (8–11 of 14) D) such thoughts nearly every day (12–14 of 14) Z) not established", "letters": "ABCDZ", "values": [ "NONE", "SEVERAL_DAYS", "MORE_THAN_HALF", "NEARLY_EVERY_DAY", null ] }, { "qid": "si_plan", "field": "si_plan", "text": "whether there's a suicide plan: A) worker asks and client says they have no plan B) client describes a plan or method they've thought about C) not assessed Z) not established", "letters": "ABCZ", "values": [ "NO", "YES", "NOT_ASSESSED", null ] }, { "qid": "si_intent", "field": "si_intent", "text": "intent to act on suicidal thoughts: A) worker asks and client says they don't intend to act on the thoughts B) client says they intend or might act on the thoughts C) not assessed Z) not established", "letters": "ABCZ", "values": [ "NO", "YES", "NOT_ASSESSED", null ] }, { "qid": "hi_plan", "field": "hi_plan", "text": "a plan to harm someone: A) worker asks and client says they have no plan to hurt anyone B) client describes how they've thought about hurting the person C) not assessed Z) not established", "letters": "ABCZ", "values": [ "NO", "YES", "NOT_ASSESSED", null ] }, { "qid": "phq9_1", "field": "phq9_1", "text": "PHQ-9 item 1 \"Little interest or pleasure in doing things\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_2", "field": "phq9_2", "text": "PHQ-9 item 2 \"Feeling down, depressed, or hopeless\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_3", "field": "phq9_3", "text": "PHQ-9 item 3 \"Trouble falling or staying asleep, or sleeping too much\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_4", "field": "phq9_4", "text": "PHQ-9 item 4 \"Feeling tired or having little energy\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_5", "field": "phq9_5", "text": "PHQ-9 item 5 \"Poor appetite or overeating\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_6", "field": "phq9_6", "text": "PHQ-9 item 6 \"Feeling bad about yourself — or that you are a failure or have let yourself or your family down\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_7", "field": "phq9_7", "text": "PHQ-9 item 7 \"Trouble concentrating on things, such as reading the newspaper or watching television\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_8", "field": "phq9_8", "text": "PHQ-9 item 8 \"Moving or speaking so slowly that other people could have noticed, or the opposite — being so fidgety or restless that you have been moving around a lot more than usual\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "phq9_9", "field": "phq9_9", "text": "PHQ-9 item 9 \"Thoughts that you would be better off dead, or of hurting yourself in some way\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_1", "field": "gad7_1", "text": "GAD-7 item 1 \"Feeling nervous, anxious, or on edge\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_2", "field": "gad7_2", "text": "GAD-7 item 2 \"Not being able to stop or control worrying\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_3", "field": "gad7_3", "text": "GAD-7 item 3 \"Worrying too much about different things\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_4", "field": "gad7_4", "text": "GAD-7 item 4 \"Trouble relaxing\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_5", "field": "gad7_5", "text": "GAD-7 item 5 \"Being so restless that it is hard to sit still\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_6", "field": "gad7_6", "text": "GAD-7 item 6 \"Becoming easily annoyed or irritable\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] }, { "qid": "gad7_7", "field": "gad7_7", "text": "GAD-7 item 7 \"Feeling afraid, as if something awful might happen\": A) 0 not at all B) 1 several days C) 2 more than half the days D) 3 nearly every day Z) not asked", "letters": "ABCDZ", "values": [ "0", "1", "2", "3", null ] } ], "scope": [ "pronouns", "gender_identity", "contact_ok_voicemail", "language_combo", "interpreter_needed", "referral_source", "insurance_type", "emergency_contact_relationship", "consent_telehealth", "release_of_info", "phq9_difficulty", "gad7_status", "si_ideation", "si_prior_attempts", "si_means", "hi_ideation", "safety_plan", "protective_factors", "crisis_resources", "housing_status", "living_situation", "employment_status", "income_sources", "food_security", "transportation", "legal_involvement", "children_in_home", "substances", "alcohol_frequency", "tobacco_use", "substance_tx_history", "medication_adherence", "support_system", "adl_bathing", "adl_dressing", "adl_eating", "adl_mobility", "iadl_finances", "iadl_transport", "iadl_medications", "referrals_made", "follow_up_interval", "si_frequency", "si_plan", "si_intent", "hi_plan", "phq9_1", "phq9_2", "phq9_3", "phq9_4", "phq9_5", "phq9_6", "phq9_7", "phq9_8", "phq9_9", "gad7_1", "gad7_2", "gad7_3", "gad7_4", "gad7_5", "gad7_6", "gad7_7" ], "app_supplied": [ "session_type" ], "checkbox_fields": [ "crisis_resources", "income_sources", "protective_factors", "referrals_made", "release_of_info", "substances", "support_system" ], "exclusive_options": [ "NONE", "NONE_REPORTED" ], "decoding": { "temperature": 1.25, "threshold": 0.9, "single_choice": "softmax over the question's letters (restricted logits at its 'Answer:' position); take argmax; blank if argmax is Z or its probability < threshold", "multi_choice": "per option P(yes) from a yes/no question; include options with P >= max(0.5, threshold); drop NONE-type options if others are chosen; blank if none" }, "blank_means": "needs review: the social worker fills it, as today", "evaluation": { "sealed_test": "30 AnnoMI counselling sessions, hand-labelled (eval only; transcripts not redistributed)", "risk_field_unsafe": 0, "unsafe": "7 of 1,860 answers (0.38%)", "established_facts_answered": "14 of 77 (18%)", "precision_when_answering": "14 of 21 (67%)", "seconds_per_session_m6": 2.0, "reports": [ "eval/classifier-round3-2026-09-23.md", "eval/classifier-round2-2026-09-23.md", "eval/classifier-2026-09-23.md" ] }, "acceptance": "Shipped under the product owner's bar: never confidently wrong; coverage not required (tools/distill/CRITERIA.md, 2026-09-23)." }
{
"schema": "scribeski.classifier/1",
"version": "r3-2026-09-23",
"base_model": "Qwen/Qwen3-1.7B (Apache-2.0)",
"weights": "model/ (MLX, 8-bit, group size 64)",
"training": {
"data": "1,207 synthetic behavioral-health sessions (tools/synth, batches 1-5 at train time), 1,004 train / 203 val",
"method": "full fine-tune, 32k context, 2 epochs, lr 1e-5, AdamW, fp32 master weights, bf16 autocast; epoch 2 selected by validation NLL",
"hardware": "1x H100 PCIe, ~1.6 h"
},
"prompt": {
"rules": "You fill a behavioural-health intake form from a session transcript. For each question, answer with one letter.\n- Answer about the CLIENT's own current situation (for referrals, crisis resources and safety plans: what the worker actually did in this session).\n- Z = not established: never discussed, only hypothetical/conditional/future, about someone else, left unresolved, or the client declined (use a DECLINED option where there is one).\n- If something is corrected later, the final version counts.\n- A passing mention counts: an aside or a detail inside a story establishes a fact when it clearly describes the client's current situation.\n- If what was said fits none of the options (e.g. active suicidal thoughts but a plan never asked about), answer Z so a person reviews it.\n- Lines starting with \"[family member]\" or \"[another clinician]\" are said by someone other than the client.\n- Questionnaire items (PHQ-9, GAD-7) only if the worker administers that questionnaire; past two weeks: 0 not at all, 1 several days (2-6 of 14), 2 more than half the days (8-11), 3 nearly every day (12-14).\n- Don't infer one field from another, from names, family roles, or the language being spoken.",
"chat_template": "model tokenizer's, system=rules, user='TRANSCRIPT:\\n'+lines, add_generation_prompt, enable_thinking=False",
"question_format": "Q{n}. {text}\\nAnswer: (questions joined with '\\n', appended after the chat prefix, in this order)",
"max_len": 32768,
"truncation": "drop the middle of the transcript; keep rules, start and end"
},
"letters": {
"A": 362,
"B": 425,
"C": 356,
"D": 422,
"E": 468,
"F": 434,
"G": 479,
"H": 472,
"Z": 1863
},
"questions": [
{
"qid": "pronouns",
"field": "pronouns",
"text": "the client's pronouns: A) uses she/her B) uses he/him C) uses they/them D) uses neopronouns (e.g. xe/xem) or another set E) not asked Z) not established",
"letters": "ABCDEZ",
"values": [
"SHE_HER",
"HE_HIM",
"THEY_THEM",
"OTHER",
"NOT_ASKED",
null
]
},
{
"qid": "gender_identity",
"field": "gender_identity",
"text": "the client's gender identity: A) identifies as a woman B) identifies as a man C) identifies as nonbinary D) identifies as a transgender woman E) identifies as a transgender man F) describes their gender in their own terms (e.g. genderfluid, two-spirit) G) is asked and says they'd rather not say Z) not established",
"letters": "ABCDEFGZ",
"values": [
"WOMAN",
"MAN",
"NONBINARY",
"TRANSGENDER_WOMAN",
"TRANSGENDER_MAN",
"OTHER",
"DECLINED",
null
]
},
{
"qid": "contact_ok_voicemail",
"field": "contact_ok_voicemail",
"text": "whether it's OK to leave voicemails: A) says it's fine to leave a voicemail B) does not want voicemails left (e.g. shared phone, privacy) Z) not established",
"letters": "ABZ",
"values": [
"YES",
"NO",
null
]
},
{
"qid": "language_combo",
"field": "language_combo",
"text": "the client's preferred language: A) prefers English B) prefers Spanish C) prefers Vietnamese for anything written, though comfortable speaking English today D) prefers Tagalog for anything written, though comfortable speaking English today E) prefers Mandarin for anything written, though comfortable speaking English today F) prefers Arabic for anything written, though comfortable speaking English today G) prefers another language (e.g. Punjabi) for anything written, though comfortable speaking English today Z) not established",
"letters": "ABCDEFGZ",
"values": [
"ENGLISH",
"SPANISH",
"VIETNAMESE",
"TAGALOG",
"MANDARIN",
"ARABIC",
"OTHER",
null
]
},
{
"qid": "interpreter_needed",
"field": "interpreter_needed",
"text": "whether the client needs an interpreter: A) would need an interpreter for sessions B) does not need an interpreter Z) not established",
"letters": "ABZ",
"values": [
"YES",
"NO",
null
]
},
{
"qid": "referral_source",
"field": "referral_source",