google-research / timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
https://research.google/blog/a-decoder-only-foundation-model-for-time-series-forecasting/
Apache License 2.0
3.02k stars 228 forks source link

Access to model google/timesfm-1.0-200m is restricted #33

Closed lanqiuyao closed 1 month ago

lanqiuyao commented 1 month ago

Hi, I am trying to utilize the package, but got the error for

Cannot access gated repo for url https://huggingface.co/api/models/google/timesfm-1.0-200m/revision/main.
Access to model google/timesfm-1.0-200m is restricted. You must be authenticated to access it.
sdmorrey commented 1 month ago

@lanqiuyao You need a hugging face account and you need to register your public key with hugging face then you need to agree to google's terms of service on the HF repo page. Once you do that you can git clone the model using ssh.

I recommend you clone it directly and make a backup copy to your own HF account. This will allow you to use the repo="" command but pointed at your own repo.

usmanjdn93 commented 1 month ago

@lanqiuyao need to generate the access token in your profile setting then run the below cmd in terminal huggingface-cli login it will ask to paste the access token. rerun it will work