Skip to content
Snippets Groups Projects
Commit 0319c75c authored by Maja Jablonska's avatar Maja Jablonska
Browse files

Fixed some parameter overriding bugs

parent 16af3640
No related branches found
No related tags found
1 merge request!46Merge COMBO 3.0 into master
......@@ -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:
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment