finalfusion / finalfrontier

Context-sensitive word embeddings with subwords. In Rust.
https://finalfusion.github.io/finalfrontier
Other
87 stars 4 forks source link

Add --format option to support output to other formats #118

Closed danieldk closed 4 years ago

danieldk commented 4 years ago

We can convert embeddings through finalfusion-utils already, but some people may not be interested in finalfusion embeddings. This makes it possible for them to output embeddings in word2vec format without having to install finalfusion-utils as well.


Now if we also had fastText write support in finalfusion-rust, we would have the universal Swiss army knife for training embeddings ;).

danieldk commented 4 years ago

Straight forward changes, looks good. I could implement the fastText writer since I already did that for finalfusion-python, unless you want to do it ;)

It's probably easier for you, since you already did it. So, if you don't mind, go ahead!