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

Function write_examples

language/quest/common/example_utils.py:69–71  ·  view source on GitHub ↗
(filepath, examples)

Source from the content-addressed store, hash-verified

67
68
69def write_examples(filepath, examples):
70 examples_json = [dataclasses.asdict(example) for example in examples]
71 jsonl_utils.write(filepath, examples_json)

Callers

nothing calls this directly

Calls 1

asdictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…