Views
No views yet
| Path | Description |
|---|---|
phase_a/checkpoint-20000/ | Phase A pretraining completed at global step 20 000 (wiki-heavy corpus). Full Trainer checkpoint: model.safetensors, optimizer, scheduler, RNG state — use to resume Phase B or as a standalone pretrained base. |
phase_b/checkpoint-XXXXX/ | Phase B (weather-heavy) pretraining backup checkpoint(s). Filenames reflect the step when uploaded; re-upload periodically if training continues. Contains full resume state. |
tokenizer/ | SentencePiece + Hugging Face tokenizer trained on the merged weather-heavy training corpus. Fixed for all pretrain and SFT stages. |
data/ | Processed JSONL: weather.jsonl, wikipedia.jsonl, Phase A / Phase B train & val merges (train_phase_a.jsonl, val_phase_a.jsonl, train.jsonl, val.jsonl), plus manifest.json where applicable. |
src/, scripts/, configs/, tests/ | Python package, CLI scripts, YAML configs, and unit tests — match the GitHub repo layout. |
pyproject.toml, requirements.txt, .gitignore | Install and dependency metadata. |
artifacts/checkpoints/sft/run1_stage2/ locally) may be published in this repo or a separate model repo when training completes.preprocess_noaa.py → preprocess_wiki.py → merge_corpus.py (Phase A: ~70% wiki / 30% weather; Phase B: ~85% weather / 15% wiki).train_tokenizer.py on the Phase B merge corpus → artifacts/tokenizer/.configs/pretrain_phase_a.yaml + configs/model_stage2.yaml — general English foundation.configs/pretrain_stage2.yaml — resume from Phase A final checkpoint; weather-domain specialization. Set max_steps to Phase A end + desired Phase B steps (e.g. 20 000 + 25 000 = 45 000) so the global step counter yields the intended number of Phase B steps.build_sft_dataset.py → configs/sft_default.yaml → instruction-tuned checkpoint.Trainer with load_best_model_at_end on eval_loss where configured; checkpoints include optimizer state for resume.1pip install huggingface_hub
2hf download AuraWorxAI/weather-llm-checkpoints --local-dir ./weather-llm-checkpoints--resume_from_checkpoint at the directory that contains trainer_state.json (and model.safetensors, optimizer.pt, etc.):1torchrun --standalone --nproc_per_node=2 scripts/train_pretrain.py \
2 --pretrain_config configs/pretrain_stage2.yaml \
3 --model_config configs/model_stage2.yaml \
4 --resume_from_checkpoint ./weather-llm-checkpoints/phase_b/checkpoint-24000weather_llm.inference.generate (### Instruction: / ### Response:). Example:1pip install -e .
2python -m weather_llm.inference.generate \
3 --model_dir artifacts/checkpoints/sft/run1_stage2 \
4 --prompt "Compare summer weather patterns in Arizona vs Washington."