This repository has been archived by the owner on May 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 930
parameter mismatch error #26
Comments
Hi @maxymy98 That's because you're trying to fine-tune the pre-trained model (which was trained with 50000 tokens dictionary), but your new dataset (dummy one) has much fewer distinct tokens in it (39). I think you can just re-use index_to_token.json file from the pre-trained model if you want to fine-tune it with a new corpus. |
@maxymy98 Seems like you have a wrong tokens index file. Check How to fix:
|
@nicolas-ivanov @nsmetanin thank you so much for the quick reply. The issue is resolved! |
Awesome! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I was trainning the model, I had this parameter mismatch error. I use Windows and Anaconda with Python 2.7. The trainning corpus is the dummy corpus provided. I did not use Docker since Docer-gpu is not supported on Windows. Thanks a lot!
The text was updated successfully, but these errors were encountered: