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

Function format_subject

TestChatGLM.py:22–27  ·  view source on GitHub ↗
(subject)

Source from the content-addressed store, hash-verified

20 return valid_substrings
21
22def format_subject(subject):
23 l = subject.split("_")
24 s = ""
25 for entry in l:
26 s += " " + entry
27 return s
28
29def format_example(df, idx, include_answer=True):
30 prompt = df.iloc[idx, 0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected