Welcome to snakefusion’s documentation!

snakefusion is a Python package for reading, writing, and using finalfusion, fastText, floret, GloVe, and word2vec embeddings. This package is a thin wrapper around the Rust finalfusion crate.

snakefusion supports the same types of embeddings as finalfusion:

  • Vocabulary:

    • No subwords

    • Subwords

  • Embedding matrix:

    • Array

    • Memory-mapped

    • Quantized

  • Format:

    • fastText

    • finalfusion

    • floret

    • GloVe

    • word2vec

Indices and tables