cfg option for TK-Graph export name

This commit is contained in:
Florian Förster 2025-01-29 11:17:16 +01:00
parent 254f933d90
commit 61641b5eb4
4 changed files with 11 additions and 5 deletions

View File

@ -1,9 +1,10 @@
# d-opt -- lang_main: config file
[paths]
inputs = './lang-data/in/'
results = './lang-data/out/'
inputs = '../data/in/'
results = '../data/out/'
models = './lang-models'
graph_export_filename = 'EXPORT-TokenGraph'
[models]
use_large_model = true

View File

@ -1,9 +1,12 @@
# d-opt -- lang_main: config file
[paths]
inputs = '../lang-data/in/'
results = '../lang-data/out/'
models = '../lang-models'
inputs = './lang-data/in/'
results = './lang-data/out/'
models = './lang-models'
[models]
use_large_model = true
[logging]
enabled = true

View File

@ -60,6 +60,7 @@ save_path_cfg = LIB_PATH / Path(CONFIG['paths']['results'])
SAVE_PATH_FOLDER: Final[Path] = save_path_cfg.resolve()
if not SAVE_PATH_FOLDER.exists(): # pragma: no cover
raise FileNotFoundError(f'Output path >>{SAVE_PATH_FOLDER}<< does not exist.')
TK_GRAPH_EXPORT_FILENAME: Final[str] = CONFIG['paths']['graph_export_filename']
# ** control
SKIP_PREPROCESSING: Final[bool] = CONFIG['control']['preprocessing_skip']

View File

@ -4,6 +4,7 @@
inputs = '../data/in/'
results = '../data/out/'
models = './lang-models'
graph_export_filename = 'EXPORT-TokenGraph'
[models]
use_large_model = true