MCPcopy Create free account
hub / github.com/Hzfinfdu/Diffusion-BERT / __init__

Method __init__

dataloader.py:128–130  ·  view source on GitHub ↗
(self, tokenizer, return_source_length=False)

Source from the content-addressed store, hash-verified

126
127class WikiLoader(ConditionalLoader):
128 def __init__(self, tokenizer, return_source_length=False):
129 super(WikiLoader, self).__init__(tokenizer, return_source_length)
130 self.task_name = 'wiki_alignment'
131
132 @staticmethod
133 def add_prompt(example):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected