Instructions to use jacobbieker/dgmr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jacobbieker/dgmr with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jacobbieker/dgmr", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Loading pretrain model issue
#1
by ray869924 - opened
Hello,
When I load the pre-trained model using the following code, I encounter an issue related to the use_auth_token parameter.
The code is as follows:
from dgmr import DGMR
model = DGMR.from_pretrained("openclimatefix/dgmr")
The error message is as follows:
TypeError: NowcastingModelHubMixin._from_pretrained() missing 1 required positional argument: 'use_auth_token'
I have attempted to input my Access Token, but it does not seem to resolve the problem. Could someone please advise on the appropriate steps to address this issue?
Thanks.