Skip to content

Commit

Permalink
Update sparse_bpemb_featurizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
koaning authored Aug 19, 2021
1 parent 9b81e70 commit a9bf083
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 a9bf083

Please sign in to comment.