Davlan/afro-xlmr-base fine-tuned to flag Tanzanian Swahili SMS that try to steal money ("ni tumie kwa namba hii" scams, fake prizes, fake agents, landlord impersonation). Trained with number-balanced counterfactual edits so that the presence of a phone number is not, by itself, evidence of a scam (experiment E11 in the repository).
0 = not scam, 1 = scam. Use the decision threshold 0.5 to match the reported results:
the highest threshold up to 0.5 that still catches at least 95% of validation scams.preprocess() (phone numbers, amounts and links are masked).Code and results: https://github.com/supserrr/wdyri
model.safetensors 1.1 GBonnx/model_quantized.onnx 364 MBDavlan/afro-xlmr-base