Skip to content

Commit

Permalink
Merge pull request #140 from RasaHQ/issue-139
Browse files Browse the repository at this point in the history
Update sparse_bpemb_featurizer.py
  • Loading branch information
koaning authored Aug 19, 2021
2 parents 9b81e70 + 4ae36db commit 2d12ba0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def __init__(self, component_config: Optional[Dict[Text, Any]] = None) -> None:
model_path = (
Path(component_config["cache_dir"])
/ self.component_config["lang"]
/ f"en.wiki.bpe.vs{self.component_config['vs']}.model"
/ f"{self.component_config['lang']}.wiki.bpe.vs{self.component_config['vs']}.model"
)
if not model_path.exists():
raise FileNotFoundError(
Expand Down

0 comments on commit 2d12ba0

Please sign in to comment.