MCPcopy Create free account
hub / github.com/Felixgithub2017/MMCU / format_subject

Function format_subject

TestBloomz.py:39–44  ·  view source on GitHub ↗
(subject)

Source from the content-addressed store, hash-verified

37 return valid_substrings
38
39def format_subject(subject):
40 l = subject.split("_")
41 s = ""
42 for entry in l:
43 s += " " + entry
44 return s
45
46def format_example(df, idx, include_answer=True):
47 prompt = df.iloc[idx, 0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected