Skip to main content
Say Hi

Consultancy for the Independent Evaluation of the FarajaMH Generative AI Screening Model Before and After Fine-Tuning

African Population And Health Research Center (aphrc) Nairobi Posted Today
Software & Data Full Time

Job type

Full Time

Qualification

MBA/MSc/MA, PhD/Fellowship

Experience

5 years

Location

Nairobi

Deadline

Not specified

Job description & requirements

Purpose and Objectives

To design, deploy on APHRC premises and run an independent, reproducible evaluation of the FarajaMH GenAI screening model before fine-tuning (base-model baseline and selection) and after fine-tuning (SFT, DPO and safety-layered versions), producing the evidence required for the Track A model freeze and handover to WP4 by 31 August 2027.

The objectives are to:

  • Establish a locked, hash-pinned evaluation protocol and onboard on an existing on-premises evaluation platform at APHRC.
  • Produce a pre-fine-tuning baseline report for all candidate open-weight models.
  • Measure the effect of fine-tuning on screening accuracy, clinical reasoning, Swahili and code-mixed language understanding, idioms of distress, audio understanding, empathy, cultural fit, safety and fairness, against the pre-fine-tuning baseline.
  • Involve clinicians, people with lived experience and caregivers as blinded evaluators of model(s) behaviour.
  • Assess readiness against the Track A freeze criteria and hand over a reusable evaluation harness to the APHRC team.

Duties / Responsibilities

Scope of work

Inception and Evaluation Protocol

  • Review the work package three (WP3) Technical Methodology, the work package (WP3
  • Model Evaluation Strategy, the FarajaMH study protocols and the work package four (WP4) design and agree the evaluation plan with the principal investigator (PI)and Work package three (WP3) team.
  • Finalise and lock the evaluation protocol before any model is run. The protocol is hash-pinned (SHA-256) and not changed once results are seen.
  • Map each evaluation measure to the governance decision it informs base-model selection, the per-round PROMOTE, RETRAIN or ROLLBACK gate, and the Track A freeze trigger.

On-Premises Evaluation Platform

  • Onboard on the existing evaluation platform or install, configure and document their evaluation platform on APHRC servers.

Evaluation Data Banks and Test Security

  • Work with clinicians, the WP2 team, linguists and Lived Experience Advisory Committee (LEAC)members to complete, quality-check and freeze the Testing Set v1.0: core cases (B1), language (B2), idioms of distress (B3), safety (B4), audio (B5), the FarajaMH MCQ set and the public benchmarks.
  • Validate the Golden Set (500 to 1,000 clinician-adjudicated examples) for coverage of all conditions, languages, sites and WP4 demographic strata, and confirm that it never enters training.
  • Calibrate the judge models against clinician ratings for each language variety (accepted at Krippendorf’s alpha ≥ 0.67; otherwise, all replies in that variety go to human raters).

Pre-Finetuning (Baseline) Evaluation

  • Evaluate every candidate model, as released by its developer, under identical conditions: hard gates (native audio, Swahili smoke test, LoRA dry run on one node, no critical safety failure) and the nine test areas (Swahili depth, idioms of distress, screening accuracy, clinical reasoning, empathy and cultural fit, safety, audio understanding, knowledge, practicality).
  • Score and rank the candidates with 95% bootstrap confidence intervals, DeLong tests for paired AUROC differences and a rank-stability analysis; shortlist the finalists.
  • Re-test the finalists after the APHRC team's short LoRA fine-tuning probe and prepare the base-model decision pack for tri-committee sign-off.

Post-Fine-Tuning Evaluation

  • Implement and validate the automated per-round Golden Set gate (per-condition AUROC, sensitivity, specificity, subgroup AUROC and safety refusal rate), with every PROMOTE, RETRAIN or ROLLBACK decision written to the audit trail.
  • At the end of each data wave within the contract period, re-run the full locked evaluation on the merged SFT adapter and on the DPO-aligned adapter, and report the change from the pre-fine-tuning baseline for every area.
  • Report classification performance (accuracy, precision, recall, F1-score, AUROC, calibration, sensitivity at fixed specificity) by condition, and generative quality (BLEU, ROUGE, BERTScore against clinician reference responses), by site and by country, including the held-out external test set.
  • Check for catastrophic forgetting across waves, registers (CLINICAL_NOTE), (CONVERSATION), (LONGITUDINAL) and modalities (text, audio, paired).
  • Evaluate the safety layer: single-turn and multi-turn red-teaming (including VERA-MH style crisis conversations), HarmBench and XSTest in English and Swahili, refusal scripts, content filters, the suicide-risk escalation pathway and over-refusal.
  • Audit fairness across language variety, country, site, sex and age band, and flag any subgroup AUROCgap above 0.05.

Human-Centred Evaluation

  • Design and run blinded, randomised rating sessions, before and after fine-tuning, with psychiatrists and clinical psychologists (reasoning and safety), people with lived experience, caregivers and Community Health Promoters (empathy, cultural fit, stigma and acceptability), and native speakers from each country (language and register).
  • Use two raters per reply with a third to resolve disagreements and report inter-rater agreement.
  • Run sessions in a trauma-informed way, in the participants' preferred language, with safeguarding and support arrangements agreed with the LEAC and the PI.
  • Report findings back to the team: idioms the model misses go to WP2, and failure patterns inform DPO preference data.

Track A Freeze Readiness and Handover

  • Assess the fine-tuned model against the four freeze criteria: Golden Set AUROC ≥ 0.78 for depression, anxiety and psychosis; no subgroup AUROC gap above 0.05; adversarial safety refusal rate ≥ 95%; and documented committee sign-off.
  • Prepare the evidence dossier for the Ethics and AI Evaluation Committee, the Data Governance and Protection Committee and the LEAC chairs and record the hash-pinned audit entry for the frozen artefact.
  • Hand over the evaluation harness, documentation and model card to APHRC, and train the APHRC team to run it for

How to apply

Send your CV and cover letter to:

consultancies@aphrc.org
Open email

Subject: Consultancy for the Independent Evaluation of the FarajaMH Generative AI Screening Model Before and After Fine-Tuning – Your Name

“Interested consultants should submit: A technical proposal (maximum 10 pages): understanding of the assignment, evaluation approach, on-premises deployment plan, work plan against the dates in Section 6, and team composition. A financial proposal priced per deliverable (Section 6). CVs of the lead consultant and team members. At least one example of a previous model evaluation report or publication, and two professional references. Preference will be given to a consultant with experience evaluating clinical or mental health AI in low-resource and multilingual settings, and of involving people with lived experience in research. This consultancy contributes to the project's wider goal of building ethical AI evaluation capacity in East Africa, and the harness it leaves behind will be reused for Track B and post-WP4 evaluation. Applications should be submitted via email to consultancies@aphrc.org, copying procurement@aphrc.org, with the email subject " FarajaMH Generative AI— Consultancy".”

Get new Software & Data jobs every morning on WhatsApp

Tell us your field and town once. At 08:00 we send only the new jobs that fit. First 7 days free, then KSh 30/day · KSh 300/month · KSh 3,000/year.

Get job alerts on WhatsApp

More Software & Data jobs

Teleperformance Kenya

New Nairobi Today
Software & Data Full Time, Onsite

Description RTA ensures the efficient and effective real-time management of operational processes and resources within a business or contact center environment. This involves monitoring, analyzing, and responding to real-time data and events to optimize workforce utilization, maintain service levels, and enhance overall operational performance. Additionally, the role involves creating and managing staff schedules to align with expected workloads, employee availability, and service goals. Real-Time Monitoring: Continuously monitor various operational metrics and key performance indicators (KPIs) in real-time to ensure that service levels are being met and operational goals are achieved. S

Save The Children

New Nairobi Today
Software & Data Full Time

Role purpose To design and implement innovative, high-quality leadership and management development interventions that build leadership and management capabiity across country offices and global teams, ensuring alignment with Save the Children’s mission and values. Additionally, the Learning Specialist champions the development of cultural competence within the organisation by promoting awareness, understanding, and respect for diverse cultural perspectives in all learning initiatives, using data and insights to continuously evolve our learning offerings based on the needs of the organisation. Principal Accountabilities Design and implement innovative, high-quality leadership an

Teleperformance Kenya

New Nairobi Today
Software & Data Full Time, Onsite

Job Summary An exciting opportunity has arisen for a Planning Manager within the existing Resource Planning Team.The role is pivotal in supporting the planning cycle and optimizing resource against different client demand levels and budget delivery. The right candidate will be the subject matter experts for the campaigns they are responsible for. They will provide direction and leadership to a team of planners through proactive data lead analysis, identifying trends and suggesting areas for improvements. All through application of best practice processes and approaches. Reporting directly to the WFM Director/VP, the successful candidate will be responsible for: The day-to-day delive