Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it not right for "embed_path" in examples/wikiqa/config/drmm_wikiqa.config??? #29

Closed
nanzhao opened this issue Dec 26, 2017 · 1 comment

Comments

@nanzhao
Copy link

nanzhao commented Dec 26, 2017

When I see the configuration file in examples/wikiqa/config/drmm_wikiqa.config and find this:

"embed_size": 300,
"embed_path": "./data/WikiQA/embed.idf",

this file "embed.idf" is generated from "cat word_stats.txt | cut -d ' ' -f 1,4 > embed.idf". And its content like this:
0 4.013749
1 4.035216
2 5.650094
3 8.964280

So is it a bug for configuration for "embed_path"?

@faneshion
Copy link
Member

You can take embed.idf as an word features, which shares the same format with embed file. The first column is the word id, and what follows are the feature values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants