diff options
author | ZJaume <jzaragoza@prompsit.com> | 2022-03-02 18:29:16 +0300 |
---|---|---|
committer | ZJaume <jzaragoza@prompsit.com> | 2022-03-02 18:29:16 +0300 |
commit | 7eaf609c6504f884eb32061d09ec5658b19f0453 (patch) | |
tree | c6240e6594fb0d328f4b97150d46cb8866ac0e93 | |
parent | cdc27e587f8c90ec908e1610047ac561ece6808d (diff) |
Use empty string for user_defined symbols as default
None was being included in the vocab as a piece
-rw-r--r-- | bicleaner_ai/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bicleaner_ai/models.py b/bicleaner_ai/models.py index 902a648..0f2c914 100644 --- a/bicleaner_ai/models.py +++ b/bicleaner_ai/models.py @@ -149,7 +149,7 @@ class BaseModel(ModelInterface): "vocab_file": self.spm_prefix + ".vocab", "model_file": "model.h5", "wv_file": "glove.vectors", - "separator": None, + "separator": '', "bos_id": -1, "eos_id": -1, "pad_id": 0, |