Downloads · 30 days
0
mazenDDr/laya-crisis-triage
laya-crisis-triage is a text classification model from mazenDDr. Use it when you need a label for a piece of text. It is set up for laya. The card lists the license as cc-by-nc-sa-4.0.
Laya's multilingual checkpoint (mmBERT-base, 322M), fine-tuned to triage disaster messages: what people need, which kind of information a crisis tweet gives, and which humanitarian sector a report excerpt is about. On…
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Parameters
322M
678 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors644 MB · 95%
From the Hugging Face model README
Laya's multilingual checkpoint (mmBERT-base, 322M), fine-tuned to triage disaster messages: what people need, which kind of information a crisis tweet gives, and which humanitarian sector a report excerpt is about. One model answers all of these typed questions in one forward pass, in any of the languages above, with calibrated probabilities.
Research artefact from crisis-triage, where every number below comes from. It is not an emergency system: keep a human in the loop for any real decision about people in need.
# pip install laya==0.3.5
import laya
agent = laya.load("mazenDDr/laya-crisis-triage")
questions = {
"kind": {
"type": "choice",
"instructions": "Which kind of information does this crisis message give?",
"criteria": {
"requests or needs": "someone asks for help, food, water or supplies",
"people affected": "people injured, killed, missing or affected",
"infrastructure damage": "damaged buildings, roads, power or water supply",
"displaced or evacuated": "people evacuated, displaced or in shelters",
"donations and rescue work": "rescue work, volunteering, donations, aid response",
"caution and advice": "warnings, advice, safety instructions",
"sympathy and support": "prayers, sympathy, emotional support",
"other or not humanitarian": "other news, or not about the disaster"
}
},
"water_food": {"type": "noul", "instructions": "Does the sender ask for water food (drinking water or food)?"},
}
res = agent.predict({"message": "We have had no drinking water for two days in Leogane"}, questions)
print(res["answers"]["kind"]["probabilities"], res["answers"]["water_food"]["noul"])
It was trained on exactly these question wordings (and the other needs and sectors in
questions.py). Other wordings still work,
since it is Laya, but were not measured.
Every system answers the same test messages. The splits are by time where there are several
disasters (tuned on 2016-17 / 2011-12 events, tested on later ones). Macro-F1 is over 8 shared
classes; mean AUC is over 4 needs (Haiti) or 10 sectors (HumSet). 95% intervals and paired
differences are in results/t05_test.json.
| Test set | n | Metric | this model | Laya zero-shot | e5 + LR | Qwen3-4B | Gemma-3-4B |
|---|---|---|---|---|---|---|---|
| Haiti SMS, Creole/French original | 996 | mean AUC | 0.838 | 0.669 | 0.873 | 0.762 | 0.813 |
| Haiti SMS, NLLB-600M translation | 996 | mean AUC | 0.844 | 0.772 | — | 0.822 | 0.851 |
| Haiti SMS, human translation | 996 | mean AUC | 0.905 | 0.849 | — | 0.879 | 0.927 |
| HumAID tweets, 2018-19 disasters | 8,000 | macro-F1 | 0.725 | 0.568 | 0.716 | 0.642 | 0.597 |
| CrisisBench tweets, es/fr/it/pt/tl | 5,534 | macro-F1 | 0.453 | 0.280 | 0.410 | 0.426 | 0.387 |
| HumSet report excerpts, en/fr/es | 3,000 | mean AUC | 0.934 | 0.691 | 0.956 | 0.932 | 0.910 |
Calibration error (ECE, lower is better):
| Test set | this model | Laya zero-shot | e5 + LR | Qwen3-4B | Gemma-3-4B |
|---|---|---|---|---|---|
| Haiti SMS, Creole/French original | 0.010 | 0.197 | 0.016 | 0.145 | 0.284 |
| HumAID tweets, 2018-19 disasters | 0.010 | 0.181 | 0.012 | 0.284 | 0.339 |
| CrisisBench tweets, es/fr/it/pt/tl | 0.087 | 0.194 | 0.095 | 0.447 | 0.516 |
| HumSet report excerpts, en/fr/es | 0.010 | 0.125 | 0.006 | 0.078 | 0.158 |
Baselines: e5 + LR is multilingual-e5-base embeddings with logistic regression, trained on the same dev data, with its regularisation chosen by cross-validation on dev. Qwen3-4B-Instruct-2507 and Gemma-3-4B-it are zero-shot, asked the same questions and read out from next-token probabilities.
convaiinnovations/laya, multilingual subfolder.CC BY-NC-SA 4.0, because the model was trained on HumAID and CrisisBench (CC BY-NC-SA 4.0). The base model Laya is Apache-2.0 and HumSet is Apache-2.0. The Disaster Response Messages dataset (Appen) states no licence on its dataset card.