microsoft / DeBERTa

The implementation of DeBERTa
MIT License
1.91k stars 215 forks source link

AssertionError: [] in google coab #115

Open yupesh opened 1 year ago

yupesh commented 1 year ago

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?