# UltraBERT Embeddings: Whole Documents Versus Chunks for Retrieval

DevFeed: [UltraBERT Embeddings: Whole Documents Versus Chunks for Retrieval](<https://devfeed.tech/articles/ultrabert-fits-32k-tokens-in-one-vector-rip-chunking-90009.md>)

Original publisher: [Read original article](<https://qdrant.tech/blog/ultrabert-embed/>)

Author: info@qdrant.tech (Andrey Vasnetsov)

Published: 2026-10-19T00:00:00Z

Content type: article

Language: en

Sources: [Qdrant Blog on Qdrant - Vector Search Engine](<https://devfeed.tech/sources/qdrant-blog-on-qdrant-vector-search-engine.md>)

Topics: [Vectors & LLMs](<https://devfeed.tech/topics/vectors-llms.md>), [Qdrant](<https://devfeed.tech/topics/qdrant.md>), [vector embeddings in AI](<https://devfeed.tech/topics/vector-embeddings-in-ai.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>)

Tags: [1-5](<https://devfeed.tech/tags/1-5.md>), [approximate-nearest-neighbor-search](<https://devfeed.tech/tags/approximate-nearest-neighbor-search.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [bert](<https://devfeed.tech/tags/bert.md>), [compression](<https://devfeed.tech/tags/compression.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [fasttext](<https://devfeed.tech/tags/fasttext.md>), [hnsw](<https://devfeed.tech/tags/hnsw.md>), [image-search](<https://devfeed.tech/tags/image-search.md>), [knn-algorithm](<https://devfeed.tech/tags/knn-algorithm.md>), [latency](<https://devfeed.tech/tags/latency.md>), [matching](<https://devfeed.tech/tags/matching.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [recommender-system](<https://devfeed.tech/tags/recommender-system.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [saas](<https://devfeed.tech/tags/saas.md>), [simaes-networks](<https://devfeed.tech/tags/simaes-networks.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vector-search-engine](<https://devfeed.tech/tags/vector-search-engine.md>), [vectors](<https://devfeed.tech/tags/vectors.md>), [word2vec](<https://devfeed.tech/tags/word2vec.md>)

## AI overview

Tests of UltraBERT-Embed-150M in Qdrant found that 512-token chunks generally retrieved document details better than whole-document vectors, though whole-document vectors performed better for queries about an entire episode and for finding passkeys. Combining both representations helped only slightly on two tasks and performed worse on others. The article also reports that 1-bit TurboQuant compression reduced chunk-vector storage for 200,000 articles to about 140 MB, with quality and rescoring latency tradeoffs.

## Source excerpt

Every retrieval pipeline starts with the same call: how big is a chunk? Too small, and a chunk loses its context. Too big, and the embedding model cuts it off. DMIS Lab's UltraBERT-Embed-150M moves that cutoff to 32K tokens. It's a 151M-parameter dense embedding model built on UltraBERT, an English encoder trained for 32K-token inputs. Most documents fit in one pass, and you get back one 768-dimension vector. So is chunking dead? We tested it in Qdrant: one vector per document against 512-token chunks, the two together, and both compressed.