02. Embedding Models Compared
Chapter 2 of 18 · 20 min
Local verification checkpoint
Run the smallest example from this chapter in a local workspace and record the package version, runtime, data path, and observed output. If the result depends on model size, vector count, CPU/GPU backend, or available memory, note that constraint beside the exercise so the lesson remains reproducible.
EXERCISE
Benchmark all-MiniLM-L6-v2 against one other model. Time encoding 5000 short texts. Calculate the cost in seconds and estimate how long indexing 100,000 documents would take.