We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f9c2c commit 4bfedf1Copy full SHA for 4bfedf1
stanza/pipeline/coref_processor.py
@@ -70,7 +70,7 @@ def _set_up_model(self, config, pipeline, device):
70
# (except its config)
71
# TODO: separate any pretrains if possible
72
# TODO: add device parameter to the load mechanism
73
- config_update = {'log_norms': False,
+ config_update = {'log_norms': config.get('log_norms', False),
74
'device': device}
75
model = CorefModel.load_model(path=config['model_path'],
76
ignore={"bert_optimizer", "general_optimizer",
0 commit comments