moment-timeseries-foundation-model / moment

MOMENT: A Family of Open Time-series Foundation Models
https://moment-timeseries-foundation-model.github.io/
MIT License
319 stars 51 forks source link

RuntimeError: Failed to import transformers.models.t5.modeling_t5 because of the following error (look up to see its traceback): Failed to import transformers.generation.utils because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/hy-tmp/sz-moment/lib/python3.11/site-packages/huggingface_hub/__init__.py) #37

Closed shaozheliu closed 2 months ago

shaozheliu commented 2 months ago

After I executed pip install momentfm, everything went well, MOMENTPipeline.from_pretrained could be loaded successfully. However, when I tried to fine-tune with LoRA, an error occurred after executing pip install peft.

XinyuanLiao commented 2 months ago

Hi, I just pip install momentfm and run the example given in readme.md, And then I get the above error. How do you solve it? I run the code in colab.