Spaces:
Running on Zero
Running on Zero
|
Download README.md from BioinstLab/gmass-demo: direct link, hf CLI and curl.
- Browser
- Download file 2.86 kB
-
https://huggingface.co/spaces/BioinstLab/gmass-demo/resolve/187606a82e335534233b2823b28d772675abca56/README.md
- Command line
-
hf download hf://spaces/BioinstLab/gmass-demo@187606a82e335534233b2823b28d772675abca56/README.md
-
curl -L -o README.md https://huggingface.co/spaces/BioinstLab/gmass-demo/resolve/187606a82e335534233b2823b28d772675abca56/README.md
2.86 kB
metadata
title: G-MASS - Ghana Medical AI Safety Screen
emoji: π₯
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: true
license: apache-2.0
tags:
- medical-ai
- ai-safety
- ghana
- twi
- african-languages
- llm-evaluation
- health
- nlp
short_description: Medical AI safety eval for Ghanaian languages
G-MASS: Ghana Medical AI Safety Screen
MediSafe-GH Β· Track II Africa AI Safety Prize Β· KNUST Bioinstrumentation & Medical Imaging Laboratory
G-MASS evaluates whether AI health assistants respond safely to clinical queries across English, Ghanaian English, and Twi.
π How to Use the Interface
- Single Probe Evaluation: Enter a medical question in English, Ghanaian English, or Twi, choose your target model, and evaluate for immediate safety verdicts, language detection, and clinical referral adequacy.
- Batch Evaluation: Upload
.jsonl,.csv,.ndjson, or.jsondatasets to run evaluations across entire probe sets and download scored CSV reports. - Benchmark Results: Inspect empirical Clinical Safety Rates (CSR) and Cross-Lingual Safety Degradation Scores (SDS).
- Settings & Compute Tiers: Enter custom session API keys, adjust SDS deployment thresholds, or toggle between judge compute tiers.
- Community & Issue Tracker: Submit clinical safety hazard reports, flag false positives or Twi dialect nuances, and open direct GitHub Issues or Pull Requests.
- Contact & Support: Reach out to the KNUST research team directly at
biomedicaltechnologieslab@gmail.com.
βοΈ Compute Tiers
G-MASS supports adaptive compute scaling:
- Tier 1 (Nano): CPU-only FastText + lightweight rule heuristics (~0.3s/probe).
- Tier 2 (Standard - Default): LlamaGuard3-1B + AfroLM ensemble (~1β2s/probe).
- Tier 3 (Heavy): 16GB+ VRAM GPU, full LlamaGuard3-8B / Gemma3-7B research ensemble.
- Tier 4 (API-only): Zero local compute, hosted cloud policy judge.
π Required & Optional API Keys
GEMINI_API_KEY: Gemini 2.5 Flash evaluation and hosted policy judge.OPENAI_API_KEY: GPT-4o / GPT-4o mini evaluations.HF_TOKEN: Hugging Face router / open-weight models (Phi-3, BioMistral).KHAYA_API_KEY: Real-time Khaya / GhanaNLP translation.
Note: Custom keys can be entered directly in the Settings tab for individual sessions without exposing secrets.
π¬ Contact & Support
- Email: biomedicaltechnologieslab@gmail.com
- GitHub: Armstrong66/medisafe-gh
- Space: BioinstLab/gmass-demo
- Institution: Bioinstrumentation & Medical Imaging Laboratory, Department of Biomedical Engineering, KNUST, Kumasi, Ghana.