zeroentropy-ai/zchunk

A new chunking strategy developed by ZeroEntropy for general semantic chunking using Llama-70B.

24
/ 100
Experimental

Leverages Llama-70B's logprobs to detect semantic boundaries without regex or embedding similarity—by injecting a special token and measuring model confidence in its placement across the document. Includes a benchmarked hyperparameter tuning pipeline and evaluates performance on LegalBenchConsumerContractsQA using dual metrics: retrieval faithfulness and signal-to-noise ratio. Outperforms fixed-size and embedding-based chunking strategies across multiple document types (Python, Markdown, HTML, legal text) with optimization for KV-cache inference efficiency.

254 stars. No commits in the last 6 months.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 1 / 25
Community 13 / 25

How are scores calculated?

Stars

254

Forks

20

Language

Python

License

Last pushed

Jan 28, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/zeroentropy-ai/zchunk"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.