MCPcopy Create free account
hub / github.com/google-research/language / load_annotations

Function load_annotations

language/decontext/decontext_util.py:83–89  ·  view source on GitHub ↗

Load annotations.

(fname)

Source from the content-addressed store, hash-verified

81
82
83def load_annotations(fname):
84 """Load annotations."""
85 annotation_dict = {}
86 examples = load_example_from_jsonl(fname)
87 for example in examples:
88 annotation_dict[example.example_id] = example.annotations
89 return annotation_dict

Callers

nothing calls this directly

Calls 1

load_example_from_jsonlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…