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

Method __init__

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

Source from the content-addressed store, hash-verified

137
138class CCLoader(ConditionalLoader):
139 def __init__(self, tokenizer, return_source_length=False):
140 super(CCLoader, self).__init__(tokenizer, return_source_length)
141 self.task_name = 'CC'
142
143 @staticmethod
144 def add_prompt(example):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected