xuan-luo's picture
download
raw
521 Bytes
#!/usr/bin/env python3
"""Train the Megatron KVPath model (HF export is a separate, manual step;
see training/kvpath/kvpath/megatron_to_hf.py)."""
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from utils.train_runner import main
if __name__ == "__main__":
config = Path(__file__).with_name("config.toml")
sys.argv[1:1] = ["--config", str(config), "--skip-export"]
main()

Xet Storage Details

Size:
521 Bytes
·
Xet hash:
d8f6c9c6ed6ccd03a87faf7b690c564df4ed6b76a2e9404c08544906c7603a3c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.