| extends: configs/base.yaml |
| phase: phase3 |
| data: |
| ndl_metadata_dir: data/raw/ndl/metadata |
| ndl_metadata_glob: data/raw/ndl/metadata/books_*.zip |
| ndl_metadata_urls: |
| - https://dl.ndl.go.jp/static/files/dataset/dataset_202602_t_internet_01.zip |
| - https://dl.ndl.go.jp/static/files/dataset/dataset_202602_t_internet_02.zip |
| - https://dl.ndl.go.jp/static/files/dataset/dataset_202602_t_internet_03.zip |
| - https://dl.ndl.go.jp/static/files/dataset/dataset_202602_t_internet_04.zip |
| - https://dl.ndl.go.jp/static/files/dataset/dataset_202602_t_internet_05.zip |
| ndl_selection_manifest: data/processed/ndl/selection.jsonl |
| ndl_download_manifest: data/processed/phase3/ndl_downloads.jsonl |
| ndl_raw_dir: data/raw/ndl/books |
| ndl_clean_dir: data/clean/ndl |
| ndl_clean_manifest: data/processed/phase3/ndl_clean.jsonl |
| ndl_clean_reuse_manifest: data/processed/ndl/clean.jsonl |
| ndl_clean_report: phase3_ndl_cleaning.json |
| ndl_quality_sample_report: phase3_ndl_quality_sample.jsonl |
| ndl_quality_exclude_manifest: data/processed/ndl/clean.jsonl |
| |
| |
| |
| ndl_target_documents: 50000 |
| ndl_download_delay_seconds: 0.2 |
| ndl_download_retries: 3 |
| ndl_max_download_seconds: 600 |
| split_manifest: data/processed/phase3/splits.jsonl |
| ndl_max_abnormal_ngram_rate: 0.38 |
| ndl_max_latin_rate: 0.005 |
| tokenizer: |
| vocab_size: 16384 |
| directory: artifacts/phase3/tokenizer |
| |
| |
| |
| |
| |
| |
| |
| max_train_chars: 200000000 |
| tokenized: |
| directory: data/processed/phase3/tokenized |
| model: |
| |
| |
| n_layer: 26 |
| n_head: 16 |
| n_embd: 1024 |
| block_size: 1024 |
| dropout: 0.0 |
| training: |
| device: cuda |
| dtype: bfloat16 |
| |
| |
| batch_size: 32 |
| gradient_accumulation_steps: 8 |
| max_iters: 11445 |
| learning_rate: 0.0003 |
| min_lr: 0.00003 |
| warmup_iters: 300 |
| lr_decay_iters: 11445 |
| eval_interval: 250 |
| eval_iters: 50 |
| checkpoint_interval: 250 |
| grad_clip: 1.0 |
| out_dir: artifacts/phase3 |
| budget: |
| |
| |
| |
| |
| |
| minimum_train_tokens: 1100000000 |
| maximum_hours: 30 |
| maximum_usd: 45 |
| gpu_hourly_usd: 0.99 |
|
|