🐍 snakefusion
Introduction
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
Building from source
Building snakefusion from source requires a Rust toolchain that is installed
through rustup and setuptools-rust:
$ pip install --upgrade setuptools-rust
You can then build and install snakefusion in your environment:
$ pip install .
Documentation
Read the snakefusion documentation for a quickstart and API reference.
You use finalfrontier to train new embeddings, or download some pretrained embeddings.
Release files for snakefusion 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snakefusion-0.1.6.tar.gz | 86.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snakefusion-0.1.6-cp36-abi3-win_amd64.whl | CPython 3.6 | abi3 | Windows x86-64 | Details |
| snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.6 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl | CPython 3.6 | abi3 | macOS 11.0+ ARM64, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64 | Details |
Total release size: 7.7 MB
Release files / snakefusion-0.1.6.tar.gz
| Download URL | snakefusion-0.1.6.tar.gz |
|---|---|
| Size | 86.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f49f4d022208d0e4c247db90d475f3c8727241ae2fd272074cb0a41e03aa5550
|
|
BLAKE2b-256 checksum How to use checksums |
b3f7ad3305355a2a55ccc4ab33ac334f55ed5e20b0d3dc2c2a0aa7ed74cc9813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / snakefusion-0.1.6-cp36-abi3-win_amd64.whl
| Download URL | snakefusion-0.1.6-cp36-abi3-win_amd64.whl |
|---|---|
| Size | 657.9 kB |
| Tags | CPython 3.6 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b030808601cb11aa3226f797274065b6b5a3fa8486cb8715940169e32026f3e2
|
|
BLAKE2b-256 checksum How to use checksums |
41e271bd8f2fafe7e6efee62cd0065df084d9d6ad6f40bab7471ad18226e916a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | snakefusion-0.1.6-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 5.4 MB |
| Tags | CPython 3.6 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2173b14f38918c50b7cb6db52632f3ede066ab3e972b074ac56cc37df7591f73
|
|
BLAKE2b-256 checksum How to use checksums |
fd629187cf9c85ab845e07e0394cc42313a5ed780b8a0e53abc9b6a040522933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | snakefusion-0.1.6-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.6 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
77e7287f5b52309e93285116e2ebfb68f6b5b585846986b8aa05560fa474a539
|
|
BLAKE2b-256 checksum How to use checksums |
d8ff526df7011a56420c2f39c251ef845732808eed9649aab276c87366166505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|