facebookresearch / StarSpace

Learning embeddings for classification, retrieval and ranking.
MIT License
3.94k stars 531 forks source link

question regarding multi relation example training mode #239

Closed tharangni closed 5 years ago

tharangni commented 5 years ago

From issue #195

  1. If the example script trains on mode 0 instead of 4, then it is just basically creating document-label embeddings?
  2. edge_1 __label__node_1 __label__node_2 : Over here, edge_1 refers to the kind of relation that exists between node_1 and node_2? Or does it just signify a (directed) edge between these nodes? For instance: born_in __label__obama __label__hawaii would represent an example relation between two nodes?
tharangni commented 5 years ago

any update??

ledw commented 5 years ago

@tharangni for 1, yes. We found that trainMode 4 was not necessary. We're considering to take it off and simply it.

  1. Yes, in trainMode 4 that's the correct interpretation.