vertebrae.zero_shot

Training-free zero-shot semantic-alignment benchmark runner.

Classes

ZeroShotExtractorResult

One frozen extractor evaluated under a fixed prompt protocol.

ZeroShotBenchmarkResult

Aggregated zero-shot comparison results.

ZeroShotCandidate

One extractor plus its explicit frozen sample and text endpoints.

ZeroShotBenchmark

Compare text-aligned frozen backbones without a learned task head.

Functions

render_zero_shot_markdown_report(result)

Render a concise report without conflating alignment and overlap scores.

Module Contents

class vertebrae.zero_shot.ZeroShotExtractorResult[source]

One frozen extractor evaluated under a fixed prompt protocol.

class vertebrae.zero_shot.ZeroShotBenchmarkResult[source]

Aggregated zero-shot comparison results.

class vertebrae.zero_shot.ZeroShotCandidate[source]

One extractor plus its explicit frozen sample and text endpoints.

class vertebrae.zero_shot.ZeroShotBenchmark(dataset, extractors, *, sample_branch=None, text_branch=None, zero_shot_config=None, scoring_config=None, cache_config=None, compression_config=None, compression_configs=None, embedding_config=None, memory_config=None, resource_profiling_config=None)[source]

Compare text-aligned frozen backbones without a learned task head.

Parameters:
vertebrae.zero_shot.render_zero_shot_markdown_report(result)[source]

Render a concise report without conflating alignment and overlap scores.

Parameters:

result (ZeroShotBenchmarkResult)

Return type:

str