MCPcopy
hub / github.com/LAION-AI/Open-Assistant / parse

Method parse

scripts/data_augment/data_augment.py:35–45  ·  view source on GitHub ↗
(self, essays)

Source from the content-addressed store, hash-verified

33 raise NotImplementedError()
34
35 def parse(self, essays):
36 prompts = []
37 preds = []
38
39 for essay in essays:
40 essay_prompts, essay_preds = self.parse_single(essay)
41
42 prompts += essay_prompts
43 preds += essay_preds
44
45 return prompts, preds
46
47 def parse_single(self, essay):
48 pass

Callers 9

mainFunction · 0.45
getMethod · 0.45
setMethod · 0.45
deleteMethod · 0.45
TreeChildrenFunction · 0.45
getConfigCacheFunction · 0.45
getServerSidePropsFunction · 0.45
handleChatEventStreamFunction · 0.45
requestMethod · 0.45

Calls 1

parse_singleMethod · 0.95

Tested by

no test coverage detected