Skip to content

Commit

Permalink
chore: Try using use_auth_token instead of token
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jul 31, 2023
1 parent d1e17dd commit f611731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coral_models/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_data(cfg: DictConfig) -> DatasetDict | IterableDatasetDict:
dataset = load_dataset(
path=cfg.dataset.id,
name=cfg.dataset.subset,
token=os.getenv("HUGGINGFACE_HUB_TOKEN", True),
use_auth_token=os.getenv("HUGGINGFACE_HUB_TOKEN", True),
streaming=True,
)

Expand Down

0 comments on commit f611731

Please sign in to comment.