Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7f5ab622f5f0>'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4379, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2661, in _head
                  return next(iter(self.iter(batch_size=n)))
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2839, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2377, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, 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/xml/xml.py", line 67, in _generate_tables
                  with open(file, encoding=self.config.encoding, errors=self.config.encoding_errors) as f:
                       ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/streaming.py", line 73, in wrapper
                  return function(*args, download_config=download_config, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 967, in xopen
                  return open(main_hop, mode, *args, **kwargs)
              FileNotFoundError: [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7f5ab622f5f0>'

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Sovereign XML Compiler

Natural language → valid XML system prompts in one shot. Zero correction iterations.

Three modes using logit gating at the tokenization layer:

Modes

1. GBNF Constrained Decoding (best)

Uses llama.cpp grammar-based sampling. The model physically cannot output invalid XML. Token selection at the softmax layer is masked to enforce the grammar. Result: 100% valid XML, zero syntax errors, one pass.

# Requires llama.cpp server running
export LLAMA_URL=http://localhost:8080
python server/compiler.py --mode gbnf --input "You are a Lean 4 proof verifier..."

2. Skeleton In-Filling

LLM only fills {{PLACEHOLDER}} values. Parser injects into template. The model never writes < or > — no tag hallucination possible.

python server/compiler.py --mode skeleton --input "You are a sovereign math agent..."

3. Dual-Pass Chain-of-XML

<thought_process> first, <xml_output> second. Forces attention to compute correct structure before emitting markup.

python server/compiler.py --mode dual-pass --input "..."

Quick Start

export OLLAMA_URL=http://localhost:11434
export XML_MODEL=nemotron

python server/compiler.py --mode skeleton \
  --input "You are a zero-sorry Lean 4 verifier. Reject any proof containing sorry." \
  --output my_prompt.xml

Files

File Purpose
grammars/sovereign_prompt.gbnf GBNF grammar for llama.cpp constrained decoding
skeletons/sovereign_prompt.xml XML skeleton with {{PLACEHOLDER}} tokens
server/compiler.py Three-mode compiler server

The Gate Taxonomy

Mode Gate Type Mechanism
GBNF Weight-level structural gate Token masking at softmax — invalid tokens → probability 0
Skeleton Context gate LLM sees only leaf values, never writes tags
Dual-pass Attention gate CoT forces structure before syntax

Connection to Gates Normalization

GBNF masking is P(token | grammar) = 0 for forbidden tokens. This is the same logit gate formalism from the Gates Normalization paper: G_P(D_M) = softmax(logits_M + b_P) where b_P = -∞ for grammar-violating tokens. The simplex constraint holds: ∑P = 1 over the valid token set.

License

Sovereign Source License v2.0

Downloads last month
12