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

Method __init__

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

Source from the content-addressed store, hash-verified

31
32class ConditionalLoader:
33 def __init__(self, tokenizer, return_source_length=False):
34 self.tokenizer = tokenizer
35 self.return_source_length = return_source_length
36 self.data_dir = './conditional_data'
37
38 @staticmethod
39 def _convert_to_features_original(example_batch, tokenizer):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected