You will not write code by hand. You instruct an AI coding agent (opencode), and it analyzes 24,000 seismic records of high-speed trains and builds a neural network that predicts train speed from one station's waveform.
The 6 steps
- Lab 1 · Your first agent task (warm-up)
- Mini-LLM Lab · build a tiny transformer
- Install opencode & configure the agent
- Say hello to your agent
- Get the dataset
- Analyze the data with AI
- AI + Deep Learning: single-station speed fitting
- Think: AutoEncoders & clustering
What you need
| Item | Given? |
|---|---|
| A laptop with internet | yours |
| DeepSeek API key (one per student) | yes — in Step 1 |
Dataset hsr_waveform_velocity.npz (118 MB) | yes — in Step 3 |
examples/ pack (figures + scripts) | yes — sent with the tutorial |
Golden rule: the agent writes code, you own the result. Read what it produces, and question it.
Lab 2 — part of the short course Theory and Practice of Large Language Models for the Geoscientist, IMAGE 2026 (Houston).
Course instructor: Gerard Schuster (University of Utah).
Lab design & data: Yongxiang (lucky) Shi (Institute of Geology and Geophysics, Chinese Academy of Sciences).
Built with the opencode agent + DeepSeek — the same tools this lab teaches.