prrao87 commited on
Commit
97c0526
·
verified ·
1 Parent(s): 1a166fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -23
README.md CHANGED
@@ -72,7 +72,7 @@ tbl = db.open_table("train")
72
  print(f"LanceDB table opened with {len(tbl)} passages")
73
  ```
74
 
75
-
76
 
77
  > The dataset hosted on Hugging Face Hub does **not** currently have pre-built ANN (vector) or FTS (full-text search) indices.
78
  >
@@ -90,18 +90,7 @@ print(f"LanceDB table opened with {len(tbl)} passages")
90
  > ```
91
  >
92
 
93
-
94
- ## Why Lance?
95
-
96
- Lance is an open-source format designed for multimodal AI data, offering significant advantages over traditional formats for modern AI workloads.
97
-
98
- - **Blazing Fast Random Access**: Optimized for fetching scattered rows, making it ideal for random sampling, real-time ML serving, and interactive applications without performance degradation.
99
- - **Native Multimodal Support**: Store text, embeddings, and other data types together in a single file. Large binary objects are loaded lazily, and vectors are optimized for fast similarity search.
100
- - **Efficient Data Evolution**: Add new columns and backfill data without rewriting the entire dataset. This is perfect for evolving ML features, adding new embeddings, or introducing moderation tags over time.
101
- - **Versatile Querying**: Supports combining vector similarity search, full-text search, and SQL-style filtering in a single query, all accelerated by on-disk indexes.
102
-
103
-
104
- ## Quick Start (Lance Python)
105
 
106
  ```python
107
  import lance
@@ -136,16 +125,6 @@ results = lance_ds.scanner(
136
  > - Streaming uses conservative ANN parameters (`nprobes`, `refine_factor`) to stay within HF rate limits.
137
  > - Prefer local copies (`huggingface-cli download lance-format/fineweb-edu --local-dir ./fineweb`) for heavy workloads, then point Lance at `./fineweb`.
138
 
139
- ## Dataset Schema
140
-
141
- Common columns you'll find in this Lance dataset:
142
- - `text` – cleaned passage content.
143
- - `title` – page/article title when available.
144
- - `url` – canonical source URL.
145
- - `language` + `language_probability` – detector outputs for filtering.
146
- - Quality metadata from FineWeb-Edu (e.g., heuristic scores or length stats).
147
- - `text_embedding` – 384-dimension float32 vector for retrieval.
148
-
149
  ## Usage Examples
150
 
151
  > **Search snippets for reference**
 
72
  print(f"LanceDB table opened with {len(tbl)} passages")
73
  ```
74
 
75
+ ## Index Creation
76
 
77
  > The dataset hosted on Hugging Face Hub does **not** currently have pre-built ANN (vector) or FTS (full-text search) indices.
78
  >
 
90
  > ```
91
  >
92
 
93
+ ## Quick Start
 
 
 
 
 
 
 
 
 
 
 
94
 
95
  ```python
96
  import lance
 
125
  > - Streaming uses conservative ANN parameters (`nprobes`, `refine_factor`) to stay within HF rate limits.
126
  > - Prefer local copies (`huggingface-cli download lance-format/fineweb-edu --local-dir ./fineweb`) for heavy workloads, then point Lance at `./fineweb`.
127
 
 
 
 
 
 
 
 
 
 
 
128
  ## Usage Examples
129
 
130
  > **Search snippets for reference**