MCPcopy Create free account
hub / github.com/THUDM/GLM / get_classifier_input

Method get_classifier_input

tasks/superglue/dataset.py:684–687  ·  view source on GitHub ↗
(self, example: InputExample, tokenizer)

Source from the content-addressed store, hash-verified

682 output.write(json.dumps(passage_data) + "\n")
683
684 def get_classifier_input(self, example: InputExample, tokenizer):
685 text_a = example.text_a
686 text_b = ' '.join([example.text_b, "answer:", example.meta['answer']])
687 return text_a, text_b
688
689
690class RaceProcessor(DataProcessor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected