Closed fuzihaofzh closed 6 years ago
I retrained the model and it worked. I doubt whether the provided pretrained model is out of date?
I was not able to reproduce this problem. Do you have the latest version of open-sesame?
@swabhs I cloned the latest code and download the code following the instruction. Could you please give a version list of your environment? like python, dynet, etc.
As mentioned in the README, this works on python=2.7. It should work on the latest version of DyNet, which is currently DyNet=2.0.3
Hi I am getting the same issue with a targetid
model I trained, except with different values for the parameter mismatch:
RuntimeError: Dimensions of lookup parameter /_0 lookup up from file ({100,12340}) do not match parameters to be populated ({100,400574})
Any ideas of how to fix this? Thanks!
Did you train your model after pulling the repo, or was it trained previously and then you pulled the repo? I changed the way pretrained embeddings are processed in the repository, for standardization - this is the reason why things might not be working.
Hmm ok thats true, I trained this at the end of last week and pulled your latest changes today. So I will need to retrain?
I also noticed that target prediction can potentially fail as there is no mapping for "fw" (foreign words) in targetid.py
- again I think this is best as a noun mapping? As it seems to most commonly occur in the names of people or places.
If you are using this for English (FN versions 1.5 through 1.7) the mappings I have work. Unfortunately, there is no good way around the heuristic mapping, because of the way the lexical units are defined in the codebase.
Also, I have pretrained models available for download, so you don't have to retrain a model, if you are training on the standard FN 1.5/1.7 data.
I am using this for English (FN 1.7) and I found that I needed to add an "fw" mapping in order to parse some texts even with your fn1.7 targetid model.
I can't download your frameid model unfortunately, it currently goes through an endless loop on Google Drive taking me back to the download page. And do you have a rough idea when your argid model will be available?
Thank you for your great work on this!
I did not encounter the endless loop problem you're talking about, and was able to successfully download and test. Did you use a command line downloader?
I run :
But got:
How can I solve that?