---
title: "Using Machine Learning to Aid Survivors and Race through Time"
description: "After the February 2023 Turkey earthquakes, volunteers built ML pipelines for the afetharita disaster map."
url: "https://swe.quest/articles/using-machine-learning-to-aid-survivors-and-race-through-time-deebf3280de9a77c"
canonical: "https://huggingface.co/blog/using-ml-for-disasters"
source: "Hugging Face"
published: "2023-03-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["machine-learning","model-training","ml-platform","computer-vision","evals"]
---

# Using Machine Learning to Aid Survivors and Race through Time

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2023-03-03, 7 min read, Case study. Original: [https://huggingface.co/blog/using-ml-for-disasters](https://huggingface.co/blog/using-ml-for-disasters)

## Summary

After the February 2023 Turkey earthquakes, volunteers built ML pipelines for the afetharita disaster map. Survivors' screenshots and tweets were turned into structured addresses and needs using easyocr, a fine-tuned bert-base-turkish-cased NER model, and BERT intent classifiers selected by recall and F1 from a metadata-tagged leaderboard. Models were served through Hugging Face Inference API to avoid separate deployment work. Zero-shot NLI and few-shot LLM prompting covered data drift where labels were missing, and separate teams fine-tuned YOLO, EfficientNet and SegFormer models on satellite imagery to detect damaged buildings.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- transformer fine-tuning ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- named entity recognition
- classification metrics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

Hugging Face Hub, afetharita, BERT, easyocr, Gradio, Argilla, YOLOv8, SegFormer

## Related posts

- [Teaching AI to read a map](https://swe.quest/articles/teaching-ai-to-read-a-map-fffa0454ee388356.md): Google Research · 2026-02-17 · Medium · 8 min read · Model training, LLMs, Computer vision, Maps & geospatial, Evaluation
  MapTrace is a synthetic data pipeline that teaches multimodal LLMs to trace valid routes on maps.
- [Comparing the Performance of LLMs: A Deep Dive into Roberta, Llama 2, and Mistral for Disaster Tweets Analysis with Lora](https://swe.quest/articles/comparing-the-performance-of-llms-a-deep-dive-into-roberta-llama-2-and-mistral-312ca793200aefd9.md): Hugging Face · 2023-11-07 · Medium · 15 min read · Model training, LLMs, Python
  RoBERTa-large (355M parameters), Mistral-7B and Llama-2-7B are fine-tuned with LoRA for binary classification of disaster tweets on a single 48GB A6000 GPU, using Hugging Face transformers, peft and datasets, with Weights & Biases for hyperparameter sweeps.
- [Investing in Performance: Fine-tune small models with LLM insights - a CFM case study](https://swe.quest/articles/investing-in-performance-fine-tune-small-models-with-llm-insights-a-cfm-case-116aeecc59f2bbd4.md): Hugging Face · 2024-12-03 · Medium · 23 min read · Model training, LLMs, Inference & serving, Cost optimization, Python
  Capital Fund Management built a financial named-entity recognition pipeline that extracts company names from Benzinga news headlines in the FNSPID dataset.
- [The next chapter in flood resilience: Open sourcing Google’s hydrology framework](https://swe.quest/articles/the-next-chapter-in-flood-resilience-open-sourcing-google-s-hydrology-framework-daae9ed1a7e4dc7c.md): Google Research · 2026-06-03 · Easy · 6 min read · Scientific computing, Machine learning, Open source, Python
  Google has open-sourced the hydrology modeling framework behind Flood Hub's riverine flood forecasts as a PyTorch-based Python package under Apache 2.0, letting meteorological agencies train or fine-tune LSTM streamflow models on their own data via the Caravan dataset.
- [Dharma Field Extractor: Any Document In, Structured Fields in JSON Out](https://swe.quest/articles/dharma-field-extractor-any-document-in-structured-fields-in-json-out-ab0fec69412fc965.md): Hugging Face · 2026-11-04 · Easy · 8 min read · Computer vision, Model training, Evaluation, LLMs, Cost optimization
  Dharma-AI's Field Extractor is a 2B-parameter vision-language model, a LoRA adapter on DharmaOCR-LITE v1.1 trained on 43,384 field-annotated examples, that turns document images into typed JSON, either open-ended or filling a caller-supplied schema with nulls for missing fields.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
