Embedding Models Compared: 6 Local Models, One Test
The smallest embedding model got 16 of 30. Three others got all 30, and one is a third the size.
Video #48 ยท RAG and vector search
Steps in the video
Files
- compare.py (21 lines)
- models.py (10 lines)
- shop.py (27 lines)
Tested with
Python 3.12.15 | fastembed==0.9.1
What this does not show
Thirty made-up template pages in English with questions I wrote, one run; three models tied at 30, so this test cannot rank them; speed was not measured.
Sources
Learning IT by Example.