latent-context/lclm-eval

Dataset

1

stars

3

commits

1

linked in READMEs

May 22, 2026

updated

evaluation
lclm
long-context

README

LCLM evaluation datasets

Unified eval mix for Latent Context Language Models (LCLM). Four benchmarks, one schema ({prompt, category, extra_info}), one repo.

ConfigSourceRowsNotes
rulertonychenxyz/ruler-full (memwrap, validation)39,00013 tasks × 6 ctx lengths × 500
gsm8ktonychenxyz/codellava-gsm8k-memwrap1,319grade-school math word problems
longhealth5leonli66/longhealth5 (memwrap, test)4005-doc patient-record QA
longbenchnimitkalra/LongBench-v1 (memwrap, validation)4,75021 English+Chinese long-context tasks

Schema

Every row has three columns:

  • prompt (str): full chat-formatted prompt with <|memory_start|>...<|memory_end|> markers wrapping the context to be compressed by the LCLM encoder.
  • category (str): task-and-length tag (e.g. niah_single_1_4096, narrativeqa).
  • extra_info (dict): per-task metadata including ground_truth.answers (list of acceptable strings), scoring_function (string-match flavor), and original-task fields.

Usage

from datasets import load_dataset

ds = load_dataset("latent-context/lclm-eval", "ruler", split="test")
print(ds[0]["prompt"][:200])
print(ds[0]["category"])
print(ds[0]["extra_info"]["ground_truth"])

Scoring

The LCLM eval pipeline reads extra_info.scoring_function per sample. For RULER subtasks this is ruler_string_match_all / ruler_string_match_part (official NVIDIA RULER reference impl, case-insensitive substring match). For other benchmarks see the LCLM benchmark code.

Companion code

Contributors

leonli66

3 commits

latent-context/lclm-eval

Dataset

1

stars

3

commits

1

linked in READMEs

May 22, 2026

updated

evaluation
lclm
long-context

README

LCLM evaluation datasets

Unified eval mix for Latent Context Language Models (LCLM). Four benchmarks, one schema ({prompt, category, extra_info}), one repo.

ConfigSourceRowsNotes
rulertonychenxyz/ruler-full (memwrap, validation)39,00013 tasks × 6 ctx lengths × 500
gsm8ktonychenxyz/codellava-gsm8k-memwrap1,319grade-school math word problems
longhealth5leonli66/longhealth5 (memwrap, test)4005-doc patient-record QA
longbenchnimitkalra/LongBench-v1 (memwrap, validation)4,75021 English+Chinese long-context tasks

Schema

Every row has three columns:

  • prompt (str): full chat-formatted prompt with <|memory_start|>...<|memory_end|> markers wrapping the context to be compressed by the LCLM encoder.
  • category (str): task-and-length tag (e.g. niah_single_1_4096, narrativeqa).
  • extra_info (dict): per-task metadata including ground_truth.answers (list of acceptable strings), scoring_function (string-match flavor), and original-task fields.

Usage

from datasets import load_dataset

ds = load_dataset("latent-context/lclm-eval", "ruler", split="test")
print(ds[0]["prompt"][:200])
print(ds[0]["category"])
print(ds[0]["extra_info"]["ground_truth"])

Scoring

The LCLM eval pipeline reads extra_info.scoring_function per sample. For RULER subtasks this is ruler_string_match_all / ruler_string_match_part (official NVIDIA RULER reference impl, case-insensitive substring match). For other benchmarks see the LCLM benchmark code.

Companion code

Contributors

leonli66

3 commits