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

AssertionError: [] in google coab #115

Open
yupesh opened this issue Oct 27, 2022 · 0 comments
Open

AssertionError: [] in google coab #115

yupesh opened this issue Oct 27, 2022 · 0 comments

Comments

@yupesh
Copy link

yupesh commented Oct 27, 2022

I am trying to use deberta in google colab,
getting this:

AssertionError Traceback (most recent call last)
in
----> 1 m = deberta.DeBERTa(pre_trained="large")

2 frames
/usr/local/lib/python3.7/dist-packages/DeBERTa/deberta/deberta.py in key_match(key, s)
141 def key_match(key, s):
142 c = [k for k in s if key in k]
--> 143 assert len(c)==1, c
144 return c[0]
145 current = self.state_dict()

AssertionError: []

Any ideas?

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

1 participant