MCPcopy Create free account
hub / github.com/ByteDance-Seed/Cola-DLM / num_examples

Method num_examples

tasks/customjson.py:30–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 self.length = len(self.conversations)
29
30 def num_examples(self):
31 return self.length
32
33 def get_example(self, index):
34 return {"messages": self.conversations[index]}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected