Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
meta: struct<amendment_links: string, authority: string, binding_status: string, clause: string, clause_pa (... 229 chars omitted)
child 0, amendment_links: string
child 1, authority: string
child 2, binding_status: string
child 3, clause: string
child 4, clause_path: string
child 5, doc_type: string
child 6, in_force_from: string
child 7, jurisdiction: string
child 8, lang: string
child 9, level: string
child 10, licence: string
child 11, page: int64
child 12, parent_id: string
child 13, sha256: string
child 14, source_id: string
child 15, tier: string
child 16, title: string
child 17, url: string
text: string
skipped: list<item: null>
child 0, item: null
chunk_count: int64
chunks_sha256: string
source_count: int64
sources: list<item: struct<chunks: int64, sha256: string, source_id: string>>
child 0, item: struct<chunks: int64, sha256: string, source_id: string>
child 0, chunks: int64
child 1, sha256: string
child 2, source_id: string
parser_version: string
to
{'chunk_count': Value('int64'), 'chunks_sha256': Value('string'), 'parser_version': Value('string'), 'skipped': List(Value('null')), 'source_count': Value('int64'), 'sources': List({'chunks': Value('int64'), 'sha256': Value('string'), 'source_id': Value('string')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
meta: struct<amendment_links: string, authority: string, binding_status: string, clause: string, clause_pa (... 229 chars omitted)
child 0, amendment_links: string
child 1, authority: string
child 2, binding_status: string
child 3, clause: string
child 4, clause_path: string
child 5, doc_type: string
child 6, in_force_from: string
child 7, jurisdiction: string
child 8, lang: string
child 9, level: string
child 10, licence: string
child 11, page: int64
child 12, parent_id: string
child 13, sha256: string
child 14, source_id: string
child 15, tier: string
child 16, title: string
child 17, url: string
text: string
skipped: list<item: null>
child 0, item: null
chunk_count: int64
chunks_sha256: string
source_count: int64
sources: list<item: struct<chunks: int64, sha256: string, source_id: string>>
child 0, item: struct<chunks: int64, sha256: string, source_id: string>
child 0, chunks: int64
child 1, sha256: string
child 2, source_id: string
parser_version: string
to
{'chunk_count': Value('int64'), 'chunks_sha256': Value('string'), 'parser_version': Value('string'), 'skipped': List(Value('null')), 'source_count': Value('int64'), 'sources': List({'chunks': Value('int64'), 'sha256': Value('string'), 'source_id': Value('string')})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ORCA-NTN knowledge base: RAG v2 index
The prebuilt retrieval index used by ORCA-NTN, the Solar Sailors entry to the ITU AI for Good Sandbox Hackathon: United Arab Emirates (2026). Code: https://github.com/CharanVelavan/ORCA
It holds 82,191 clause-level chunks from 369 official sources: Indian telecom, cyber security and data protection law, with EU, US, UAE and other comparisons, plus ITU, 3GPP and ETSI texts. Each chunk carries its Qwen3-Embedding-8B vector. All network material is about an emulated satellite-backed network; no real operator data is included.
What a judge needs to do
This is the only path we support. Run it from a clone of the code repo.
git clone https://github.com/CharanVelavan/ORCA && cd ORCA
hf download CharanVelavan/orca-ntn-kb-v2 --repo-type dataset --local-dir kb/vec_build
(cd kb/vec_build && shasum -a 256 -c SHA256SUMS) # 4 files must say OK
python -m orca.kbvec load-vectors # loads the orca_v2 collection; no GPU, no embedder
python -m orca.kbvec snapshot
Then follow docs/RUN.md in the repo. Recorded demo runs replay their retrievals from the cache and do
not need an embedding model. Live queries (python -m orca.kbvec query "..." or eval --v2) need
Qwen3-Embedding-8B behind an OpenAI-compatible endpoint (ORCA_EMBED_URL, default
http://localhost:1234/v1, e.g. LM Studio's Q8_0 GGUF).
Files
| File | What | SHA-256 |
|---|---|---|
chunks.jsonl |
one chunk per line: id, embedded text (with a legal header), meta (source, authority, jurisdiction, binding status, in-force date, clause path, page, parent id, URL, licence label) |
efe2d3f7b7b03d32e87da9cc38c75771287ade5184de2e6bdec20b800704c9b4 |
embeddings.f16.npy |
82,191 x 4096 float16, L2-normalised, same order as ids.json |
c3216a1917f3516deca194eac27eb98cb29500c7b87732974c347191fe0be4cf |
ids.json |
chunk ids in vector order; equals the id order in chunks.jsonl |
b9ee8382010e469ebbc09e47b7579772dbb449433f3a8374014f82c5c4a5b55d |
model.json |
embedding model (Qwen/Qwen3-Embedding-8B, bf16 build), dim, dtype |
470b4f3b2d50ca9a05e157f9880c7f6ea1238e2848c657505b4dc4980de42183 |
build_manifest_2026-11-08.json |
the original build manifest (per-source hashes and counts) | - |
SHA256SUMS |
hashes of the four files above | - |
Measured quality (default pipeline, 50-question held-out test split)
v2 + citation router + hybrid BM25/vector with rank fusion + BAAI/bge-reranker-base + calibrated abstention:
recall@5 0.700, MRR@10 0.535, exact-citation hit@1 5/5, amendment hit rate 0.8, 64% of 25 held-out negatives
refused, 0 of 54 gap-evidence questions refused, p95 latency about 5 s on one Mac. The v2 ship rule (p95 under
3 s) is not met. Full table: docs/KBVEC.md in the repo. With this many questions, one question moves a
score by 2.5 to 4 points.
How it was built, and how closely it can be rebuilt
The chunks were produced on 8 Nov 2026 by the RAG v2 legal-structure parser, then embedded on Colab
(finetune/colab/build_index_colab.md). That exact parser revision was never committed. Its first committed
version, commit 7cc50bd, reproduces the chunk counts of 366 of the 369 sources and the identical text of
about 96% of chunks (checked 9 Nov 2026). Known differences:
eu-commission-reg-2023-894,au-telecom-consumer-protection-act-emergency,eu-declaration-digital-rights-2023: the saved HTML pages contain embedded PDF binary, which the later parser splits differently (3,129 vs 4,988, 145 vs 173, 74 vs 92 chunks). These chunks are noisy in this index too.in-trai-cp-service-authorisations-2024,eu-eecc-2018-1972: same counts, minor PDF-extraction spacing.intl-3gpp-tr-33700-29was added to the KB after this build and is not in this index.
The embedded text is always the text in chunks.jsonl here, so search results are exactly reproducible from
these files.
Licence and sources
The code is MIT (see the repo). The document text is not ours: copyright and reuse terms stay with each
issuing body. Every chunk records its source URL and a licence label in meta.licence; labels include
Government of India open (GODL), EUR-Lex reuse policy, public domain, Open Government Licence v3.0, 3GPP, ETSI
and ITU publications, and some marked "terms not checked" or "unknown". The text is shared only so the
hackathon submission can be evaluated and reproduced. Use the official source for any legal purpose. Nothing
here is legal advice. To have a source removed, open an issue on the code repo.
- Downloads last month
- 65