MCPcopy Create free account
hub / github.com/PAIR-code/lit / annotate_generated

Method annotate_generated

lit_nlp/app.py:597–601  ·  view source on GitHub ↗
(datapoints)

Source from the content-addressed store, hash-verified

595
596 # Annotate datapoints
597 def annotate_generated(datapoints):
598 dataset_to_annotate = lit_dataset.Dataset(
599 base=dataset, examples=datapoints)
600 annotated_dataset = self._run_annotators(dataset_to_annotate)
601 return annotated_dataset.examples
602
603 annotated_generated = [
604 annotate_generated(generated) for generated in all_generated

Callers

nothing calls this directly

Calls 1

_run_annotatorsMethod · 0.95

Tested by

no test coverage detected