File size: 411 Bytes
cfa482d 1bf3d62 cfa482d 1bf3d62 e3c7b5a cfa482d 25e310b e3c7b5a e9d1a5a 64a6414 e3c7b5a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from pathlib import Path
ROOT_DIR = Path(__file__).resolve().parent.parent
ARTIFACTS_DIR = ROOT_DIR / "artifacts"
CONFIG_YAML = ROOT_DIR / "config.yaml"
def idioms_dir(ver: str) -> Path:
return ARTIFACTS_DIR / f"idioms_{ver}"
def literal2idiomatic(ver: str) -> Path:
return ARTIFACTS_DIR / f"literal2idiomatic_{ver}"
def seq2seq_dir(ver: str) -> Path:
return ARTIFACTS_DIR / f"seq2seq_{ver}"
|