_Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
from dgmr import DGMR, Sampler, Generator, Discriminator, LatentConditioningStack, ContextConditioningStack
access_token = "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"
model = DGMR.from_pretrained("openclimatefix/dgmr", use_auth_token=access_token)
[x] Yes
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Pull Request
Description
Fixes issue https://github.com/openclimatefix/skillful_nowcasting/issues/65
Changed the keyword argument
use_auth_token
inhf_hub_download()
indgmr/hub.py
file totoken
. According to the parameters defined inhuggingface_hub.hf_hub_download
, the argument name istoken
, notuse_auth_token
. (https://huggingface.co/docs/huggingface_hub/v0.22.0.rc0/en/package_reference/file_download#huggingface_hub.hf_hub_download)How Has This Been Tested?
_Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: