Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Notebook Quick Start

This guide walks through using Kongming HV in a Jupyter notebook, cell by cell.

SectionDescription
Notebook PlatformsSetup differences between Jupyter, Colab, and Binder
Interactive NotebooksLinks to existing notebooks
WalkthroughStep-by-step: vocabulary, similarity, learning, binding

Tips

  • Reproducibility: Use fixed seeds in SparseOperation for deterministic results across reruns.
  • Visualization: Use pandas DataFrames for overlap matrices — they render nicely in Jupyter.
  • Performance: The Rust backend is fast. Building 10,000 vectors takes under a second on MODEL_64K_8BIT.
  • Model choice: Start with MODEL_64K_8BIT for exploration. Switch to MODEL_1M_10BIT or larger for production workloads.
Last change: , commit: 4d22850