You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this great library! I used it a couple of months ago successfully but on returning my code no longer worked. I was installing the library as:
The first thing I noticed is that when I loaded a model I had trained with the library months ago it started warning about a whole heap of roberta layers that were unused and recommend fine tuning before getting any use out of the model, which I didn't see before.
Then when I tried to use the library I received the error:
Problem Description
Hi, thanks for this great library! I used it a couple of months ago successfully but on returning my code no longer worked. I was installing the library as:
pip install git+https://github.com/midas-research/dlkp.git
The first thing I noticed is that when I loaded a model I had trained with the library months ago it started warning about a whole heap of roberta layers that were unused and recommend fine tuning before getting any use out of the model, which I didn't see before.
Then when I tried to use the library I received the error:
Which was very strange because looking at the code on github in the main branch that method did not expect a tokenizer in its signature.
I tried uninstalling and reinstalling but still the same strange code that I couldn't locate on git.
My Hack Solution
I managed to resolve the issue by installing from an earlier branch (ldkp):
pip install git+https://github.com/midas-research/dlkp.git@ldkp
I have no idea where or why it was pulling in code with method signatures that didn't match the code I could see in the repo. But this fixed it.
Any idea what's going on with the main branch?
Thanks!
The text was updated successfully, but these errors were encountered: