Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Must provide base labels when label is featured. on query_nn on trainDoc=1 #301

Open
luthfianto opened this issue Dec 21, 2020 · 0 comments

Comments

@luthfianto
Copy link

As what @ledw said in #153, I used wikipedia_sentence_matching.sh and change the trainDoc=3 to trainDoc=1 and successfully trained the model

But I cannot run the query_nn, I use command

 ./query_nn /tmp/starspace/models/wikipedia_sentence_match `

and got

  Start to load a trained starspace model.
  STARSPACE-2018-2
  
  Model loaded.
  Must provide base labels when label is featured.

I also tried

    ./query_nn /tmp/starspace/models/wikipedia_sentence_match -basedoc /tmp/starspace/data/wikipedia_test_basedocs_tm3.txt  -fileFormat labelDoc

but no success.

What is the correct command for query_nn?

Thanks

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

No branches or pull requests

1 participant