diff --git a/combo/modules/model.py b/combo/modules/model.py index 76e83be87dd3e38559319df44d26e45b757c8ff7..93b97407a7f1005920953da549b102cb396daac3 100644 --- a/combo/modules/model.py +++ b/combo/modules/model.py @@ -447,7 +447,7 @@ class Model(Module, pl.LightningModule, FromParameters): vocabulary and the trained weights. """ if config is None: - with open(os.path.join(serialization_dir, 'config.json'), 'r') as f: + with open(os.path.join(serialization_dir, 'config.template.json'), 'r') as f: config = json.load(f) elif isinstance(config, str) or isinstance(config, PathLike): with open(config, 'r') as f: diff --git a/setup.py b/setup.py index ef74f195779d101c8e294576a5784780f9052410..4a60c6d4de95d1195f842bbb9cb9960065b688d0 100644 --- a/setup.py +++ b/setup.py @@ -35,9 +35,11 @@ setup( install_requires=REQUIREMENTS, packages=find_packages(exclude=['tests']), license="GPL-3.0", + url='https://gitlab.clarin-pl.eu/syntactic-tools/combo', keywords="nlp natural-language-processing dependency-parsing", tests_require=['pytest', 'pylint'], python_requires='>=3.6', + package_data={'combo': ['config.template.json']}, entrypoints={'console_scripts': ['combo = combo.main:main']}, classifiers=[ 'Development Status :: 4 - Beta',