Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in train_model.ipynb on Colab #289

Open
PKUTHM opened this issue Jan 10, 2025 · 1 comment
Open

ERROR in train_model.ipynb on Colab #289

PKUTHM opened this issue Jan 10, 2025 · 1 comment

Comments

@PKUTHM
Copy link

PKUTHM commented Jan 10, 2025

Description:

I encountered an error while trying to run the train_model.ipynb notebook provided in the official RelBench repository on Google Colab. Specifically, I am unable to import SentenceTransformer from the sentence_transformers library.

Error Message:

from sentence_transformers import SentenceTransformer

RuntimeError: Failed to import transformers.integrations.integration_utils because of the following error (look up to see its traceback):
Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
partially initialized module 'torchvision' has no attribute 'extension' (most likely due to a circular import)

Attachment

train_model.zip
I have attached the Colab notebook (train_model.ipynb) with ERROR message downloaded from Colab as a reference.

@rishabh-ranjan
Copy link
Collaborator

@XinweiHe @zechengz can you please look into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants