HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
MinishLab
model2vec-rs
Rust2025–2025
MinishLab / model2vec-rs

model2vec-rs

Official Rust Implementation of Model2Vec

2Distinct people
3Mentions
0Explicit recommenders
235GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Official Rust Implementation of Model2Vec

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval3 dated mentions

Observed mentions: 2025-05-18 15:01:35 UTC to 2025-05-20 07:22:18 UTC.

012025-05-18 15:00:00 UTC to 2025-05-18 18:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMay 18, 15:002025-05-18 18:00:00 UTC to 2025-05-18 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-18 21:00:00 UTC to 2025-05-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 00:00:00 UTC to 2025-05-19 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 03:00:00 UTC to 2025-05-19 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 06:00:00 UTC to 2025-05-19 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 09:00:00 UTC to 2025-05-19 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 19, 09:002025-05-19 12:00:00 UTC to 2025-05-19 15:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-05-19 15:00:00 UTC to 2025-05-19 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 18:00:00 UTC to 2025-05-19 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-19 21:00:00 UTC to 2025-05-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-20 00:00:00 UTC to 2025-05-20 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-20 03:00:00 UTC to 2025-05-20 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-20 06:00:00 UTC to 2025-05-20 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 20, 06:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 18, 15:002025-05-18 15:00:00 UTC2025-05-18 18:00:00 UTC110
May 18, 18:002025-05-18 18:00:00 UTC2025-05-18 21:00:00 UTC000
May 18, 21:002025-05-18 21:00:00 UTC2025-05-19 00:00:00 UTC000
May 19, 00:002025-05-19 00:00:00 UTC2025-05-19 03:00:00 UTC000
May 19, 03:002025-05-19 03:00:00 UTC2025-05-19 06:00:00 UTC000
May 19, 06:002025-05-19 06:00:00 UTC2025-05-19 09:00:00 UTC000
May 19, 09:002025-05-19 09:00:00 UTC2025-05-19 12:00:00 UTC000
May 19, 12:002025-05-19 12:00:00 UTC2025-05-19 15:00:00 UTC101
May 19, 15:002025-05-19 15:00:00 UTC2025-05-19 18:00:00 UTC000
May 19, 18:002025-05-19 18:00:00 UTC2025-05-19 21:00:00 UTC000
May 19, 21:002025-05-19 21:00:00 UTC2025-05-20 00:00:00 UTC000
May 20, 00:002025-05-20 00:00:00 UTC2025-05-20 03:00:00 UTC000
May 20, 03:002025-05-20 03:00:00 UTC2025-05-20 06:00:00 UTC000
May 20, 06:002025-05-20 06:00:00 UTC2025-05-20 09:00:00 UTC101

What Hacker News says

3 sources
I think you are referring to for "batch in sentences.chunks(batch_size)"? This is not actually chunking sentences, chunks() is simply an iterator over a slice (in this case, a slice of all our input sentences of length batch_size). We don't have an actual constraint on input length. We truncate to 512 tokens by default, but you can easily set that to any amount by directly calling encode_with_args. There's an example in our quickstart: https://github.com/MinishLab/model2vec-rs/tree/main?tab=read....
In Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust
Tananon·May 18, 2025Submission

Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust

Hey HN! We’ve just open-sourced model2vec-rs, a Rust crate for loading and running Model2Vec static embedding models with zero Python dependency. This allows you to embed text at (very) high throughput; for example, in a Rust-based microservice or CLI tool. This can be used for semantic search, retrieval, RAG, or any other text embedding usecase. Main Features: - Rust-native inference: Load any Model2Vec model from Hugging Face or your local path with StaticModel::from_pretrained(...). - Tiny footprint: The crate itself is only ~1.7 mb, with embedding models between 7 and 30 mb. Performance: We benchmarked single-threaded on a CPU: - Python: ~4650 embeddings/sec - Rust: ~8000 embeddings/sec (~1.7× speedup) First open-source project in Rust for us, so would be great to get some feedback!
60 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.