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
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.
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.