Beyond-Chunking / scripts /06_build_l3_fields.py
RaiyanKhaan's picture
Upload complete Beyond-Chunking reproducibility package and benchmark datasets
5f0f37c verified
Raw History Blame Contribute Delete
451 Bytes
#!/usr/bin/env python3
"""Runner wrapper for 06_build_l3_fields."""
import sys
from pathlib import Path
SUBMODULE_DIR = Path(__file__).resolve().parent / "representations"
sys.path.insert(0, str(SUBMODULE_DIR))
import importlib.util
spec = importlib.util.spec_from_file_location("l3_fields", SUBMODULE_DIR / "06_build_l3_fields.py")
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
if __name__ == "__main__":
mod.main()