update example and more stats on result

This commit is contained in:
yichuan520030910320
2025-07-16 22:07:15 -07:00
parent 6546b29ef7
commit e115e186b7
2 changed files with 156 additions and 31710 deletions

View File

@@ -418,11 +418,11 @@ The script will print the recall and search time for each query, followed by the
### Storage Usage Comparison
| System | DPR (2.1M chunks) | RPJ-wiki (60M chunks) | Chat history (400K messages) | Apple emails (90K messages chunks) |
|-----------------------|------------------|------------------------|-----------------------------|------------------------------|
| Traditional Vector DB | 3.8 GB | 201 GB | 1.8G | 305.8 MB |
| **LEANN** | **324 MB** | **6 GB** | **64 MB** | **14.8 MB** |
| **Reduction** | **91% smaller** | **97% smaller** | **97% smaller** | **95% smaller** |
| System | DPR (2.1M chunks) | RPJ-wiki (60M chunks) | Chat history (400K messages) | Apple emails (90K messages chunks) |Google Search History (38K entries)
|-----------------------|------------------|------------------------|-----------------------------|------------------------------|------------------------------|
| Traditional Vector DB(FAISS) | 3.8 GB | 201 GB | 1.8G | 305.8 MB |130.4 MB |
| **LEANN** | **324 MB** | **6 GB** | **64 MB** | **14.8 MB** |**6.4MB** |
| **Reduction** | **91% smaller** | **97% smaller** | **97% smaller** | **95% smaller** |**95% smaller** |
<!-- ### Memory Usage Comparison

31856
demo.ipynb
View File

File diff suppressed because it is too large Load Diff