# Building a 113M-Parameter Earthquake LLM from Scratch on Two GPUs

Original title: I trained a 113M-parameter earthquake LLM from absolute scratch

> Hacker News story 48885236 · language: en · submitted 2026-07-12
> Web version: https://zeli.app/story/48885236
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 5 · by [jzsfg](<https://news.ycombinator.com/user?id=jzsfg>) · 💬 0
[original](<https://github.com/jiazhe868/nanogpt-seis>) · [HN discussion](<https://news.ycombinator.com/item?id=48885236>)

## Summary

I trained a 113M-parameter GPT model for earthquake science entirely from scratch using two NVIDIA A30 GPUs. This project documents the full lifecycle, from crawling open-access papers and Wikipedia to cleaning data, building a custom tokenizer, and training the model. By mixing domain-specific seismology text with general web data, I achieved a fluent model capable of understanding complex scientific concepts while remaining accessible for plain-language tasks.

## Key quote

> Base pretraining alone never yields chat; that's SFT.

---

## Cite

- Page: https://zeli.app/story/48885236
- Date: 2026-07-12
- Source: github.com (https://github.com/jiazhe868/nanogpt-seis)
- Hacker News: https://news.ycombinator.com/item?id=48885236

## Other languages

- ja: https://zeli.app/ja/story/48885236 · markdown: https://zeli.app/ja/story/48885236.md
- ko: https://zeli.app/ko/story/48885236 · markdown: https://zeli.app/ko/story/48885236.md
- de: https://zeli.app/de/story/48885236 · markdown: https://zeli.app/de/story/48885236.md
- es: https://zeli.app/es/story/48885236 · markdown: https://zeli.app/es/story/48885236.md
