Chunks
A report is too long to hand over whole. It is cut into passages of a few hundred words, and the search returns passages, not pages.
From a report to passages
How big a passage?
| Tokens per passage | Right page in the first 10 passages | Right report in the first 5 |
|---|---|---|
| 128 | 43 in 100 | 79 in 100 |
| 256 | 47 in 100 | 85 in 100 |
| 512 | 54 in 100 | 89 in 100 |
Cut a text yourself
Paste any text and cut it at 128 and at 512 tokens. A token is a word or a piece of one, counted the way bge-small counts them, the model behind every number here.
Saved example: the opening of 3M's 2018 annual report. Paste your own text and press the button.
128 tokens
5 passages
- 3M Company was incorporated in 1929 under the laws of the State of Delaware to continue operations begun in 1902. The Company’s ticker symbol is MMM. As used herein, the term “3M” or “Company” includes 3M Company and its subsidiaries unless the context indicates otherwise. In this document, for any references to Note 1 through Note 20, refer to the Notes to Consolidated Financial Statements in Item 8. Available Information The SEC maintains a website that contains reports, proxy and information statements, and other information regarding issuers, including the Company, that
- The SEC maintains a website that contains reports, proxy and information statements, and other information regarding issuers, including the Company, that file electronically with the SEC. The public can obtain any documents that the Company files with the SEC at http://www.sec.gov. The Company files annual reports, quarterly reports, proxy statements and other documents with the Securities and Exchange Commission (SEC) under the Securities Exchange Act of 1934 (Exchange Act).
- Exchange Act of 1934 (Exchange Act). 3M also makes available free of charge through its website (http://investors.3M.com) the Company’s Annual Report on Form 10-K, Quarterly Reports on Form 10-Q, Current Reports on Form 8-K, and, if applicable, amendments to those reports filed or furnished pursuant to the Exchange Act as soon as reasonably practicable after the Company electronically files such material with, or furnishes it to, the SEC. General
- General 3M is a diversified technology company with a global presence in the following businesses: Industrial; Safety and Graphics; Health Care; Electronics and Energy; and Consumer. 3M is among the leading manufacturers of products for many of the markets it serves. Most 3M products involve expertise in product development, manufacturing and marketing, and are subject to competition from products manufactured and sold by other technologically oriented companies. At December 31, 2018, the Company employed 93,516 people (full-time equivalents), with 37,412 employed in the United States and 56,104 employed internationally. Business Segments
- Business Segments As described in Notes 4 and 18, effective in the first quarter of 2018, the Company changed its business segment reporting as part of 3M’s continuing effort to improve the alignment of its businesses around markets and customers. Business segment information presented herein reflects the impact of these changes for all periods presented.
512 tokens
1 passage
- 3M Company was incorporated in 1929 under the laws of the State of Delaware to continue operations begun in 1902. The Company’s ticker symbol is MMM. As used herein, the term “3M” or “Company” includes 3M Company and its subsidiaries unless the context indicates otherwise. In this document, for any references to Note 1 through Note 20, refer to the Notes to Consolidated Financial Statements in Item 8. Available Information The SEC maintains a website that contains reports, proxy and information statements, and other information regarding issuers, including the Company, that file electronically with the SEC. The public can obtain any documents that the Company files with the SEC at http://www.sec.gov. The Company files annual reports, quarterly reports, proxy statements and other documents with the Securities and Exchange Commission (SEC) under the Securities Exchange Act of 1934 (Exchange Act). 3M also makes available free of charge through its website (http://investors.3M.com) the Company’s Annual Report on Form 10-K, Quarterly Reports on Form 10-Q, Current Reports on Form 8-K, and, if applicable, amendments to those reports filed or furnished pursuant to the Exchange Act as soon as reasonably practicable after the Company electronically files such material with, or furnishes it to, the SEC. General 3M is a diversified technology company with a global presence in the following businesses: Industrial; Safety and Graphics; Health Care; Electronics and Energy; and Consumer. 3M is among the leading manufacturers of products for many of the markets it serves. Most 3M products involve expertise in product development, manufacturing and marketing, and are subject to competition from products manufactured and sold by other technologically oriented companies. At December 31, 2018, the Company employed 93,516 people (full-time equivalents), with 37,412 employed in the United States and 56,104 employed internationally. Business Segments As described in Notes 4 and 18, effective in the first quarter of 2018, the Company changed its business segment reporting as part of 3M’s continuing effort to improve the alignment of its businesses around markets and customers. Business segment information presented herein reflects the impact of these changes for all periods presented.
Tell every passage where it came from
Questions say “3M 2018”. A passage from a balance sheet says “Total current assets 13,709” and nothing about the company or the year. Writing the report's name at the top of every passage, before it is searched, gives the question something to match.
What naming the passages bought
71 → 85
With the report's name at the top of every passage, the right report was among the first 5 results for 85 questions in 100, against 71.
FinanceBench: 150 questions over 84 annual reports, hybrid search, passages of 256 tokens. Free at question time.
One question to ask your team
What size are our passages, and does each one say which document it came from?
For engineers
The settings behind the lesson.
- Chunker: structural units (headings, paragraphs) merged greedily up to the budget, sentences then words for oversized units, the last unit carried over as overlap; tables cut between rows with the header row on every piece. Never across a heading or a page break.
- Token count: bge-small-en-v1.5's WordPiece vocabulary, with [CLS] and [SEP]; the demo counts exactly as the lab did (checked on 315 saved texts).
- Chunk size table, hybrid@0.1: page hit@10 0.427, 0.473, 0.540 for 128, 256, 512; filing in the top 5 0.793, 0.847, 0.887.
- The name only as a filter (not in the text) needs something that picks the report first: with the planner of lesson 5 it ties (0.720 against 0.713), without it plain search drops to 0.420. The name stays in the text: free, and the only fix when nothing routes.