Skip to content

Commit

Permalink
fix: Default token to True in train_ngram_model
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jul 31, 2023
1 parent f611731 commit a414038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/train_ngram_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def train_ngram_model(cfg: DictConfig) -> None:
path=cfg.model.decoder.dataset_id,
name=cfg.model.decoder.dataset_subset,
split=cfg.model.decoder.dataset_split,
use_auth_token=os.getenv("HUGGINGFACE_HUB_TOKEN"),
token=os.getenv("HUGGINGFACE_HUB_TOKEN", True),
)
assert isinstance(dataset, Dataset)

Expand Down

0 comments on commit a414038

Please sign in to comment.