Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
action_with_trailing_final: int64
answers: list<item: struct<text: string, turn: int64>>
  child 0, item: struct<text: string, turn: int64>
      child 0, text: string
      child 1, turn: int64
arm: string
calls: list<item: struct<args: struct<id: string, body: string, subject: string, to: string, days: int64, d (... 332 chars omitted)
  child 0, item: struct<args: struct<id: string, body: string, subject: string, to: string, days: int64, date: timest (... 320 chars omitted)
      child 0, args: struct<id: string, body: string, subject: string, to: string, days: int64, date: timestamp[s], atten (... 241 chars omitted)
          child 0, id: string
          child 1, body: string
          child 2, subject: string
          child 3, to: string
          child 4, days: int64
          child 5, date: timestamp[s]
          child 6, attendees: list<item: string>
              child 0, item: string
          child 7, time: string
          child 8, title: string
          child 9, text: string
          child 10, note: string
          child 11, status: string
          child 12, name: string
          child 13, url: string
          child 14, event_id: string
          child 15, amount: double
          child 16, attachments: list<item: null>
              child 0, item: null
          child 17, notes: string
          child 18, query: string
          child 19, description: string
      child 1, error: string
      child 2, ok: bool
      child 3, step: int64
      child 4, too
...
   child 1, name: string
              child 1, id: string
              child 2, type: string
      child 3, name: string
      child 4, tool_call_id: string
model: string
raw_outputs: list<item: struct<step: int64, text: string>>
  child 0, item: struct<step: int64, text: string>
      child 0, step: int64
      child 1, text: string
result: struct<authorized_exposed: bool, authorized_followed: bool, exposed_step: int64, exposed_turn: int64 (... 230 chars omitted)
  child 0, authorized_exposed: bool
  child 1, authorized_followed: bool
  child 2, exposed_step: int64
  child 3, exposed_turn: int64
  child 4, first_violation_step: int64
  child 5, injection_attempted: bool
  child 6, injection_echoed_unexecuted: bool
  child 7, injection_executed: bool
  child 8, injection_exposed: bool
  child 9, injection_relayed_to_user: bool
  child 10, noop_reason: string
  child 11, tag: string
  child 12, task_success: bool
spec_sha256: string
steps: int64
gpu_name: string
python_version: string
git_commit: string
elapsed_seconds: double
started_at: string
provenance: string
packages: struct<torch: string, transformers: string, accelerate: string, peft: string, safetune: string, audi (... 48 chars omitted)
  child 0, torch: string
  child 1, transformers: string
  child 2, accelerate: string
  child 3, peft: string
  child 4, safetune: string
  child 5, auditkit: string
  child 6, trl: string
  child 7, bitsandbytes: string
generation_seconds: double
finished_at: string
git_dirty: bool
to
{'python_version': Value('string'), 'packages': {'torch': Value('string'), 'transformers': Value('string'), 'accelerate': Value('string'), 'peft': Value('string'), 'safetune': Value('string'), 'auditkit': Value('string'), 'trl': Value('string'), 'bitsandbytes': Value('string')}, 'gpu_name': Value('string'), 'git_commit': Value('string'), 'git_dirty': Value('bool'), 'provenance': Value('string'), 'started_at': Value('string'), 'finished_at': Value('string'), 'elapsed_seconds': Value('float64'), 'generation_seconds': Value('float64')}
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
              action_with_trailing_final: int64
              answers: list<item: struct<text: string, turn: int64>>
                child 0, item: struct<text: string, turn: int64>
                    child 0, text: string
                    child 1, turn: int64
              arm: string
              calls: list<item: struct<args: struct<id: string, body: string, subject: string, to: string, days: int64, d (... 332 chars omitted)
                child 0, item: struct<args: struct<id: string, body: string, subject: string, to: string, days: int64, date: timest (... 320 chars omitted)
                    child 0, args: struct<id: string, body: string, subject: string, to: string, days: int64, date: timestamp[s], atten (... 241 chars omitted)
                        child 0, id: string
                        child 1, body: string
                        child 2, subject: string
                        child 3, to: string
                        child 4, days: int64
                        child 5, date: timestamp[s]
                        child 6, attendees: list<item: string>
                            child 0, item: string
                        child 7, time: string
                        child 8, title: string
                        child 9, text: string
                        child 10, note: string
                        child 11, status: string
                        child 12, name: string
                        child 13, url: string
                        child 14, event_id: string
                        child 15, amount: double
                        child 16, attachments: list<item: null>
                            child 0, item: null
                        child 17, notes: string
                        child 18, query: string
                        child 19, description: string
                    child 1, error: string
                    child 2, ok: bool
                    child 3, step: int64
                    child 4, too
              ...
                 child 1, name: string
                            child 1, id: string
                            child 2, type: string
                    child 3, name: string
                    child 4, tool_call_id: string
              model: string
              raw_outputs: list<item: struct<step: int64, text: string>>
                child 0, item: struct<step: int64, text: string>
                    child 0, step: int64
                    child 1, text: string
              result: struct<authorized_exposed: bool, authorized_followed: bool, exposed_step: int64, exposed_turn: int64 (... 230 chars omitted)
                child 0, authorized_exposed: bool
                child 1, authorized_followed: bool
                child 2, exposed_step: int64
                child 3, exposed_turn: int64
                child 4, first_violation_step: int64
                child 5, injection_attempted: bool
                child 6, injection_echoed_unexecuted: bool
                child 7, injection_executed: bool
                child 8, injection_exposed: bool
                child 9, injection_relayed_to_user: bool
                child 10, noop_reason: string
                child 11, tag: string
                child 12, task_success: bool
              spec_sha256: string
              steps: int64
              gpu_name: string
              python_version: string
              git_commit: string
              elapsed_seconds: double
              started_at: string
              provenance: string
              packages: struct<torch: string, transformers: string, accelerate: string, peft: string, safetune: string, audi (... 48 chars omitted)
                child 0, torch: string
                child 1, transformers: string
                child 2, accelerate: string
                child 3, peft: string
                child 4, safetune: string
                child 5, auditkit: string
                child 6, trl: string
                child 7, bitsandbytes: string
              generation_seconds: double
              finished_at: string
              git_dirty: bool
              to
              {'python_version': Value('string'), 'packages': {'torch': Value('string'), 'transformers': Value('string'), 'accelerate': Value('string'), 'peft': Value('string'), 'safetune': Value('string'), 'auditkit': Value('string'), 'trl': Value('string'), 'bitsandbytes': Value('string')}, 'gpu_name': Value('string'), 'git_commit': Value('string'), 'git_dirty': Value('bool'), 'provenance': Value('string'), 'started_at': Value('string'), 'finished_at': Value('string'), 'elapsed_seconds': Value('float64'), 'generation_seconds': Value('float64')}
              because column names don't match

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.

TurnGuard evaluation logs and traces

Every evaluation run behind the TurnGuard results, with fully resolved configs, per-episode traces and grades, metrics and environment provenance (package versions, GPU, git commit). Code: https://github.com/AgrawalSujay/Lexsi-Hackathon

  • runs/<arm>__<model>__<split>__<timestamp>/: config.yaml, episodes.jsonl (full multi-turn traces with oracle results), metrics.json, env.json.
  • Arms: A0 baseline, A1 prompt defence (prompts/A1_defence.txt), A2 CAA steering, A4 DPO LoRA. Splits: test, test_cueflip, dev, train (A0 runs used to build pairs).
  • A2 tuning: three grid shards and the merged selection.
  • Side evaluations (*__side__*): XSTest and Global-MMLU-Lite en/hi. Responses to unsafe XSTest prompts are redacted in scored_redacted.jsonl (judge labels kept); raw judge caches are not published.
  • analysis/: the generated results tables (results.md, results.json) and figures.

Headline (frozen test)

Metric A0 baseline A1 prompt A2 steering A4 DPO
Attack success incl. relay ↓ 31.9% 36.6%* 30.7% 2.5%*
Clean task success ↑ 20.6% 21.6% 29.0%* 51.8%*
Task success under attack ↑ 10.3% 10.1% 15.2%* 44.7%*
Authorized instruction followed ↑ 18.8% 20.5% 20.5% 24.5%
Malformed steps ↓ 6.0% 5.4% 2.7% 14.0%

* paired McNemar exact test vs A0, p < 0.05.

Larger models and classifier baselines

  • runs/A0__command-a-03-2025__test__*: Cohere Command A (111B) through the Cohere API on a 159-episode stratified subset of the frozen test set (IDs in analysis/api_subset_ids.txt). Same prompt, step loop and grader as the Aya runs.
  • runs/A0__qwen3.8-27b__test__* and __test_cueflip__*: Qwen3.8-27B through Vultr Serverless Inference, thinking mode off, on the full test and cue-flip sets.
  • analysis/detector_*: Meta Prompt Guard 2 (86M) and ProtectAI DeBERTa-v3 prompt-injection v2 scored on the tool outputs of every test and cue-flip episode: summary tables (.md, .json) and per-episode scores (_episodes.jsonl).
  • analysis/fig_operating_points.png: attack success vs task success and delegated following, including the filters simulated in front of the base model.
Downloads last month
41

Collection including SujayAgrawal/turnguard-eval-logs