Using Machine Learning to Aid Survivors and Race through Time
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.
Related posts
- Teaching AI to read a map
Google Research mediumAdeptMapTrace is a synthetic data pipeline that teaches multimodal LLMs to trace valid routes on maps. An LLM writes map prompts, a text-to-image model renders them, color clustering produces walkable-area masks filtered by an MLLM "Mask Critic", and the masks become pixel graphs where Dijkstra finds shortest paths that an MLLM "Path Critic" then vets. Fine-tuning Gemini 2.5 Flash and Gemma 3 27B on 23K generated paths improved MapBench NDTW (Flash 1.29→0.87, Gemma 1.29→1.13) and raised parse success rates. The critics reached 76–83% accuracy with 8–9% false positives, and 2M QA pairs are released openly.
- Comparing the Performance of LLMs: A Deep Dive into Roberta, Llama 2, and Mistral for Disaster Tweets Analysis with Lora
Hugging Face mediumAdeptRoBERTa-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. The walkthrough covers the full pipeline: splitting and tokenizing the dataset, setting pad tokens to EOS for the decoder models, and computing class weights for a weighted-loss custom Trainer. It also covers LoRA configuration for each model. With rank 2 and alpha 16, LoRA trains only about 0.64% of RoBERTa's parameters.
- Investing in Performance: Fine-tune small models with LLM insights - a CFM case study
Hugging Face mediumAdeptCapital Fund Management built a financial named-entity recognition pipeline that extracts company names from Benzinga news headlines in the FNSPID dataset. Llama 3.1-70B, served on Hugging Face Inference Endpoints, pre-labels the headlines using a structured few-shot prompt and JSON-schema guided output, and humans then review those labels in Argilla. Fine-tuning compact models such as GLiNER and SpanMarker on the curated labels raises F1 to 93.4% and 90.1%. That approaches the 95% zero-shot F1 of Llama 3.1-70B at up to 80x lower inference cost. The walkthrough includes endpoint setup, prompt design, async batched requests with AsyncInferenceClient, and a comparison against weak supervision.
- The next chapter in flood resilience: Open sourcing Google’s hydrology framework
Google Research easyNoviceGoogle 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. The repo includes the original 2024 benchmarked model and the v2 ME-LSTM model, which embeds each weather product (GraphCast, IFS, IMERG, CPC) with a separate network before an LSTM outputs a streamflow probability distribution; v2 extends the reliable forecast horizon by six days in gauged basins and one day in ungauged basins. The Czech Hydrometeorological Institute validated forecasts as comparable to locally calibrated conceptual models and built an adapter for the Delft-FEWS operational platform.
- Dharma Field Extractor: Any Document In, Structured Fields in JSON Out
Hugging Face easyNoviceDharma-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. On a 546-document, 1,638-case benchmark scored by field-level F1 × Levenshtein similarity × valid-JSON rate, it reached 0.834, ahead of four frontier LLM configurations ranging from Claude Opus 5 (0.816) to GPT-5.6 Luna (0.741). Self-hosted on a single L40S, it cost an estimated 6–147× less per extraction than the API list prices. Held-out SROIE and FUNSD examples show correct handling of unlabeled addresses, blank fields and checkbox booleans.