8 releases (5 breaking)

0.6.1 Nov 8, 2019
0.6.0 Jun 14, 2019
0.5.0 Apr 25, 2019
0.4.1 Apr 12, 2019
0.1.0 Sep 10, 2018
Download history 4/week @ 2021-07-03 5/week @ 2021-07-10 13/week @ 2021-07-17 4/week @ 2021-07-24 27/week @ 2021-07-31 6/week @ 2021-08-07 17/week @ 2021-08-14 6/week @ 2021-08-21 2/week @ 2021-08-28 3/week @ 2021-09-04 9/week @ 2021-09-11 2/week @ 2021-09-18 9/week @ 2021-09-25 1/week @ 2021-10-02 12/week @ 2021-10-09 2/week @ 2021-10-16

55 downloads per month

Apache-2.0

7KB
110 lines

Crate Docs Build Status

finalfrontier

Introduction

finalfrontier is a Rust program for training word embeddings. finalfrontier currently has the following features:

  • Models:
    • skip-gram (Mikolov et al., 2013)
    • structured skip-gram (Ling et al., 2015)
    • directional skip-gram (Song et al., 2018)
    • dependency (Levy and Goldberg, 2014)
  • Output formats:
    • finalfusion
    • fastText
    • word2vec binary
    • word2vec text
    • GloVe text
  • Noise contrastive estimation (Gutmann and Hyvärinen, 2012)
  • Subword representations (Bojanowski et al., 2016)
  • Hogwild SGD (Recht et al., 2011)
  • Quantized embeddings through the finalfusion quantize command.

The trained embeddings can be stored in the versatile finalfusion format, which can be read and used with the finalfusion crate and the finalfusion Python module.

The minimum required Rust version is currently 1.40.

Where to go from here

Dependencies

~1.5MB
~28K SLoC

(I]