Create README.md
#17
by LiamDuero - opened
README.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: Telco-Retrieve Chunks — 3GPP Rel-19 Vector Database Grid
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
task_categories:
|
| 9 |
+
- feature-extraction
|
| 10 |
+
- sentence-similarity
|
| 11 |
+
- text-retrieval
|
| 12 |
+
tags:
|
| 13 |
+
- telecom
|
| 14 |
+
- telecommunications
|
| 15 |
+
- 3gpp
|
| 16 |
+
- rag
|
| 17 |
+
- retrieval-augmented-generation
|
| 18 |
+
- vector-database
|
| 19 |
+
- chromadb
|
| 20 |
+
- embeddings
|
| 21 |
+
- bm25
|
| 22 |
+
- benchmark
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Telco-Retrieve Chunks — 3GPP Rel-19 Vector Database Grid
|
| 26 |
+
|
| 27 |
+
**120 pre-built retrieval indexes** over the 3GPP Release-19 corpus — one per
|
| 28 |
+
`(embedding model × chunking strategy × enrichment strategy)` configuration. Each is a complete
|
| 29 |
+
**ChromaDB** dense index plus a parallel **SQLite FTS5 (BM25)** index, ready to query with no
|
| 30 |
+
re-ingestion.
|
| 31 |
+
|
| 32 |
+
Part of the **[GSMA Open Telco AI](https://www.open-telco.ai/)** initiative. Companion to
|
| 33 |
+
[`GSMA/telco-retrieve-QnA`](https://huggingface.co/datasets/GSMA/telco-retrieve-QnA) (the evaluation
|
| 34 |
+
questions) and the [`open-telco-rag`](https://github.com/Znbne/telco-retrieve) pipeline that reads
|
| 35 |
+
these indexes directly.
|
| 36 |
+
|
| 37 |
+
> **~1.05 TB total.** Individual configs range from ~1 GB to ~25 GB. Download the one config you
|
| 38 |
+
> need, not the repo.
|
| 39 |
+
|
| 40 |
+
## Dataset Summary
|
| 41 |
+
|
| 42 |
+
Ingesting a large standards corpus into a vector store is the expensive, non-reproducible step in a
|
| 43 |
+
RAG benchmark. This dataset ships that step's output for **every** point in a 120-cell grid so that
|
| 44 |
+
retrieval and generation can be evaluated identically across configurations, on any machine, with
|
| 45 |
+
no GPU and no ingestion run.
|
| 46 |
+
|
| 47 |
+
Each configuration was produced by `open-telco-rag ingest 3gpp` and pushed with `push-hf`.
|
| 48 |
+
|
| 49 |
+
### The grid (6 × 5 × 4 = 120)
|
| 50 |
+
|
| 51 |
+
| Axis | Values |
|
| 52 |
+
|---|---|
|
| 53 |
+
| **Embedding model** (6) | `minilm` (all-MiniLM-L6-v2, 384d) · `mpnet` (all-mpnet-base-v2, 768d) · `e5` (intfloat/e5-large-v2, 1024d) · `bge` (BAAI/bge-large-en-v1.5, 1024d) · `otel-109m` (OTel-Embedding-109M, telecom fine-tuned, 768d) · `otel-0.6b` (OTel-Embedding-0.6B, telecom fine-tuned, 1024d) |
|
| 54 |
+
| **Chunking strategy** (5) | `text_baseline` (1024 char / 200 overlap) · `sliding_window_tokens` (512 tok / 50) · `parent_child` (2048 parent / 512 child) · `hierarchical_markdown` (2048 / 200) · `lumber_chunker` (LLM semantic chunking, `t<theta>`) |
|
| 55 |
+
| **Enrichment strategy** (4) | `none` · `metadata_tagging` · `acronym_expansion` · `llm_metadata` (LLM-generated per-chunk metadata) |
|
| 56 |
+
|
| 57 |
+
## Repository Structure
|
| 58 |
+
|
| 59 |
+
One folder per configuration, named:
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
3gpp-r19_<model>_<chunking>_<enrichment>_<params>/
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
Examples:
|
| 66 |
+
- `3gpp-r19_bge_text_baseline_none_c1024_o200/`
|
| 67 |
+
- `3gpp-r19_otel-0.6b_parent_child_llm_metadata_p2048_c512/`
|
| 68 |
+
- `3gpp-r19_minilm_lumber_chunker_none_t550/`
|
| 69 |
+
|
| 70 |
+
Inside each folder:
|
| 71 |
+
|
| 72 |
+
| Path | What |
|
| 73 |
+
|---|---|
|
| 74 |
+
| `chroma.sqlite3` | ChromaDB metadata + document store |
|
| 75 |
+
| `<uuid>/data_level0.bin`, `header.bin`, `length.bin`, `link_lists.bin`, `index_metadata.pickle` | HNSW dense index for the collection |
|
| 76 |
+
| `<collection>_fts.db` (`-wal`, `-shm`) | SQLite FTS5 BM25 index (parallel keyword search) |
|
| 77 |
+
| `_ingest_complete.json` | Per-config ingestion manifest — `complete`, `files_total`, `files_processed`, `skipped_files`, `error_files`, `chunks_stored`, `timestamp` |
|
| 78 |
+
|
| 79 |
+
**Dataset viewer note:** Hugging Face auto-builds the viewer from the 120 `_ingest_complete.json`
|
| 80 |
+
files, so it shows a **120-row ingestion-manifest table**, *not* the chunk text. The chunk text
|
| 81 |
+
lives inside `chroma.sqlite3` / the FTS DBs and is reached through the retrieval library.
|
| 82 |
+
|
| 83 |
+
## Usage
|
| 84 |
+
|
| 85 |
+
```bash
|
| 86 |
+
pip install "open-telco-rag[local-embed]"
|
| 87 |
+
|
| 88 |
+
# pull one configuration
|
| 89 |
+
open-telco-rag pull-hf GSMA/telco-retrieve-chunks \
|
| 90 |
+
3gpp-r19_bge_parent_child_llm_metadata_p2048_c512 --local-dir ./db
|
| 91 |
+
|
| 92 |
+
# query it — dense, BM25, or hybrid — no ingestion needed
|
| 93 |
+
open-telco-rag search "handover procedure for conditional PSCell change" \
|
| 94 |
+
--source-type 3gpp --db-path ./db --top-k 5
|
| 95 |
+
|
| 96 |
+
# or run the full evaluation against GSMA/telco-retrieve-QnA
|
| 97 |
+
open-telco-rag evaluate 3gpp --db-path ./db
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
Raw access without the library: open `chroma.sqlite3` with the `chromadb` client, or query
|
| 101 |
+
`<collection>_fts.db` with any SQLite client (FTS5 `MATCH`).
|
| 102 |
+
|
| 103 |
+
## Source Data & Curation
|
| 104 |
+
|
| 105 |
+
- **Corpus:** 3GPP specifications, Release 19 (all series), the same underlying text as
|
| 106 |
+
`GSMA/telco-retrieve-QnA`. Sourced via the TSpec-LLM dataset and the 3GPP spec archive
|
| 107 |
+
(`3gpp.org/ftp/Specs/archive`).
|
| 108 |
+
- **Pipeline:** `open-telco-rag` — per-SDO source loader → clean → chunk (per strategy) → enrich
|
| 109 |
+
(per strategy) → embed (per model) → ChromaStore + SQLite FTS5. See the
|
| 110 |
+
[`open-telco-rag`](https://github.com/Znbne/telco-retrieve) README for stage details.
|
| 111 |
+
- **Curation rationale:** a fully-crossed grid lets an evaluation isolate the effect of each axis
|
| 112 |
+
(embedding model, chunking, enrichment) on retrieval quality, holding the corpus and question set
|
| 113 |
+
fixed — which is the point of the companion `GSMA/telco-retrieve-QnA` benchmark.
|
| 114 |
+
|
| 115 |
+
## Considerations & Limitations
|
| 116 |
+
|
| 117 |
+
- **Scale.** ~1.05 TB. Pull individual config folders; never clone the whole repo.
|
| 118 |
+
- **Single corpus / single release.** 3GPP Rel-19 only. No other SDOs, no other releases.
|
| 119 |
+
- **Point-in-time.** Reflects Rel-19 spec text as ingested in August 2026.
|
| 120 |
+
- **Reproducibility, not novelty.** These are derived indexes; the value is identical retrieval
|
| 121 |
+
state across configs, not new source data.
|
| 122 |
+
- **Format lock-in.** ChromaDB + SQLite-FTS5 on-disk formats; readable via `open-telco-rag` or the
|
| 123 |
+
`chromadb` / `sqlite3` clients, not as plain Parquet/JSONL.
|
| 124 |
+
- **`.db-wal` / `.db-shm`** sidecar files may be present; SQLite recreates them on open, so a
|
| 125 |
+
consumer can ignore them.
|
| 126 |
+
|
| 127 |
+
## Licensing
|
| 128 |
+
|
| 129 |
+
- **Index artifacts and manifests:** **Apache-2.0**, consistent with the `open-telco-rag` toolkit.
|
| 130 |
+
*(Set here as `apache-2.0`; change if GSMA requires a different licence for this repo.)*
|
| 131 |
+
- **Stored chunk text** (inside `chroma.sqlite3` / the FTS DBs) consists of excerpts of 3GPP
|
| 132 |
+
specifications. That text remains subject to 3GPP's copyright and redistribution terms and those
|
| 133 |
+
of the upstream source (the TSpec-LLM dataset / the 3GPP spec archive). Downstream users are
|
| 134 |
+
responsible for compliance.
|