Chunking inside Manticore Search

Cover art for Chunking inside Manticore Search

TL;DR: Use sentence or recursive chunking with 128-256 token chunks and no overlap for long documents; truncate only for short text that fits the model's window. Manticore Search now splits long documents into chunks before embedding, recovering 28 points of recall on content past the model's window. When you embed a 4,000-word document with a 512-token model, only the first 380 words get embedded.

From · · 4m

TL;DR: Chunking inside Manticore Search

Manticore Search now splits long documents into chunks before embedding, recovering 28 points of recall on content past the model's window.

Use sentence or recursive chunking with 128-256 token chunks and no overlap for long documents; truncate only for short text that fits the model's window. Manticore Search now splits long documents into chunks before embedding, recovering 28 points of recall on content past the model's window. When you embed a 4,000-word document with a 512-token model, only the first 380 words get embedded.

  • The truncation problem
  • Chunking is now built in
  • Five chunking strategies
  • Truncate for short text

Read the story version — the same reporting as a swipeable deck of 19 cards.

Read the original on Manticoresearch

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on manticore search and related topics.