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

Method __init__

tasks/seq2seq/dataset.py:191–193  ·  view source on GitHub ↗
(self, data_dir, tokenizer)

Source from the content-addressed store, hash-verified

189
190class SQuADProcessor:
191 def __init__(self, data_dir, tokenizer):
192 self.data_dir = data_dir
193 self.tokenizer = tokenizer
194
195 def create_examples(self, split):
196 if split == "train":

Callers

nothing calls this directly

Calls 1

from_pretrainedMethod · 0.45

Tested by

no test coverage detected