Files
wehub-resource-sync a65ab1ac53
Deploy to GitHub Pages / deploy (push) Has been cancelled
Deploy to GitHub Pages / build (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:31:56 +08:00

12 lines
343 B
Python

from parser.react_parser import ReActParser
class InternLMReActParser(ReActParser):
def __init__(self):
self.action = '\nAction:'
self.action_input = '\nActionInput:'
self.action_input_stop = '<eoa>'
self.observation = '<|System|>:Response:'
self.observation_stop = '<TOKENS_UNUSED_2>\n<|Bot|>:'