tictonix
Library Listed Dormant
A library that provides the ability to convert tokens into embeddings, as well as to encode their positions
- Downloads
- 0
- Dependents
- 0
- Stars
- 9
- Forks
- 0
- Contributors
- 1
- Commits
- 21
- Latest release
- 1.0.1 ·
About

Description
This crate provides functionality for working with vector representations of words (embeddings) and positional encoding. It is intended for use in NLP tasks, deep learning, and your custom projects.
Also, this project is the second step (step 1 tokenizer) towards
own implementation of LLM on Transformer architecture.
Provided functionality:
Structure of Embeddings
- Creating a new embedding matrix by various methods such as:
Gaussian,Xavier,Uniform. - Constructing the resulting embedding matrix for an array of tokens (indices), and obtaining a specific embedding for a token (index).
- Updating (replacing) the embedding for a particular token (index).
Structure of PositionalEncoding
- Creating a new positional encoding matrix by various methods such as:
Sinusoidal PE,Relative PE,Rotary PE. - Applying positional encodings to the embedding matrix.
- Returning a part of the positional encoding matrix for a sequence, and a particular positional encoding by its position.
Structure of MatrixIO
- Saving to a file, and retrieving the embedding matrix from the file. Available formats are .safetensors and .npy.
UPD: Important clarifications:
Read the full README
- In this implementation, the embedding matrix has columns corresponding to tokens (each column is an embedding for one token).
- All calculations are performed exclusively on CPU (without GPU).
Installing
Add to your Cargo.toml:
[dependencies]
tictonix = "1.0.1"
Logging
The project uses crate log which provides a logging facade.
At the moment logging is implemented only for IO operations (saving and loading files), with a success message.
You can use any compatible implementation (e.g. env_logger, fern, simple_logger, tracing, ...)
To do this, just initialize the selected logger in your application before starting.
Example of initialization with env_logger:
fn main() {
Builder::new()
.filter_level(LevelFilter::Info)
.filter_module("tictonix", LevelFilter::Info)
.init();
// Your code
}
Usage
See examples for usage.
Documentation
See documentation for the project.
Glossary
- Tokenization is the process of breaking text into separate elements called tokens. Tokens can be words, characters, sub-words, or other units, depending on the chosen tokenization method. This process is an important step in text preprocessing for Natural Language Processing (NLP) tasks.
- LLMs (large language models) are large language models based on deep learning architectures (e.g., Transformer) that are trained on huge amounts of textual data. They are designed to perform a wide range of tasks related to natural language processing, such as text generation, translation, question answering, classification, and others. LLMs are capable of generalizing knowledge and performing tasks on which they have not been explicitly trained (zero-shot or few-shot learning).
- Transformer is a neural network architecture proposed in 2017 that uses the attention mechanism to process sequences of data such as text. The main advantage of Transformer is its ability to process long sequences and take context into account regardless of the distance between elements of the sequence. This architecture is the basis for most modern LLMs (such as GPT, BERT and others).
- Embedding is a numerical (vector) representation of text data (tokens, words, phrases or sentences).
- Positional Encoding is a technique used in the Transformer architecture to convey information about the order of elements in a sequence. Since Transformer has no built-in order information (unlike recurrent networks), positional encoding adds special signals to token embeddings that depend on their position in the sequence. sequence. This allows the model to take into account the order of words or other elements in the input data.
P.S.
Don't forget to leave a ⭐ if you found this project useful.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- MIT
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
A library that provides the ability to convert tokens into embeddings, as well as to encode their positions |
0 downloads over 30 days | 0 | 9 | 1.0.1 | GPU support unknown | No native code found | MIT |
|
fastembed-rs Featured
Library for generating vector embeddings, reranking locally. |
1,147,765 downloads over 30 days | 331 | 1,051 | 7.6.1 | CUDA, WebGPU, Metal | Binds native code: accelerate-src (feature accelerate), intel-mkl-src (feature mkl), ort-sys (feature directml) | Apache-2.0 |
|
model2vec-rs Featured
Official Rust Implementation of Model2Vec |
194,422 downloads over 30 days | 48 | 234 | 0.4.0 | GPU support unknown | No native code found | MIT |
|
fasttext-rs Listed
fastText pure Rust implementation |
102,405 downloads over 30 days | 4 | 71 | 0.8.1 | GPU support unknown | Binds native code: cfasttext-sys, cfasttext_static. Build uses a native toolchain: cc | MIT |
|
splintr Listed
Tokenizer for Rust and Python: pure Rust by default, with 18 bundled vocabularies and four backends covering BPE, SentencePiece and WordPiece. Its output matches Hugging Face tokenizers id for id on 14 model families, including GPT-2, Qwen, Whisper, T5 and BERT. Python bindings |
8,204 downloads over 30 days | 7 | 63 | 0.22.2 | GPU support unknown | Binds native code: pcre2-sys (feature pcre2) | MIT |
|
Train/use word embeddings with subword units |
24 downloads over 30 days | 0 | 90 | 0.9.4 | GPU support unknown | No native code found | Apache-2.0 OR BlueOak-1.0.0 |
|
Cleora AI is a general-purpose open-source model for efficient, scalable learning of stable and inductive entity embeddings for heterogeneous relational data. Created by Synerise.com team. |
0 binary downloads per release | Not applicable | 545 | Not measured | Not measured | Not measured |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 0 active dependents and 0 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 9 stars, 0 forks and 1 contributor. It needs 4,539 stars, 434 forks and 79 contributors together.
- The check finds no release commit or manifest that ties the crate to the repository.
- The project is dormant and not finished. Dormancy rule
What else the check found
- The last activity is on 21 May 2025, 537 days ago. That reaches the 365 days the rules expect, so the project is dormant. Dormancy rule
Not measured: Latest release fails cargo check.
Check notes
- published from commit 2f5e8f9eb8fe426073f9c6cdbd5cd1442c930aad that no branch or tag of the repo holds
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 1.0.1 base 300, raised to the 365-day floor: E = 365 daysdormancy: last activity 2025-05-21, 537 days ago, E = 365: dormantfeatured: not featured: active_users 0 < 11 and new_adopters 0 < 9 and repository route stars 9 (needs 4539), forks 0 (needs 434), contributors 1 (needs 79); repository link not verified; dormant and not stablelisted: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption0 active dependents, 0 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 0 | crates.io database dump | Yes | |
| New dependents (365 days) | 0 | crates.io database dump | Yes | |
| Peak active dependents | 0 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 17 months ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2025-05-21 | GitHub repository | Yes | |
| Latest release | 2025-05-01 | crates.io database dump | Yes | |
| First release | 2025-04-02 | crates.io database dump | Yes | |
| Latest version | 1.0.1 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 0 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 0 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | false | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution9 releases, 0 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 9 | crates.io database dump | Yes | |
| Downloads over 30 days | 0 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository9 stars, 0 forks, 1 contributors, 21 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 9 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 0 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 1 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 21 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | MIT | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 0 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.