Categories: None [Edit]

static_embeddings

https://rubygems.org/gems/static_embeddings
https://github.com/roman-haidarov/static_embeddings
A small C-extension runtime for Model2Vec and Sentence Transformers static WordPiece embedding models. Models are converted offline into a flat mmap-able .semb file; at runtime the gem tokenizes (BERT WordPiece), looks up rows and mean-pools them. Releases the GVL on large native work, rejects internal thread fan-out, and links nothing but libc.

Total

Ranking: 115,565 of 198,451
Downloads: 6,766

Daily

Ranking: 32,085 of 198,429
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,944,297,318bundler
81,463,583,217rake
141,342,705,105minitest
1,45531,943,692rake-compiler

Owners

#GravatarHandle
1iconroman_core