facebookresearch / StarSpace

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

[Question] Does StarSpace support char based embedding #256

Closed laifi closed 5 years ago

laifi commented 5 years ago

Hello , Does StarSpace supports char based embedding as in Fasttext using :

  -minn               min length of char ngram [0]
  -maxn               max length of char ngram [0]

Otherwise, it would be a good feature enhancement :+1:

ledw commented 5 years ago

@laifi Hi, currently it does not support char based embedding.

nickyongzhang commented 5 years ago

@ledw Any plan of adding this useful function. Char-based embedding is where the power of fasttext compared with classic word2vec, isn't it?

ledw commented 5 years ago

@ledw It is not on our list. Note that in the classification task of fasttext, the Char-based embedding is not supported.