DeBERTa icon indicating copy to clipboard operation
DeBERTa copied to clipboard

AssertionError: [] in google coab

Open yupesh opened this issue 3 years ago • 0 comments

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?

yupesh avatar Oct 27 '22 14:10 yupesh