Esempio n. 1
0
 def get_rust_tokenizer(self, **kwargs):
     kwargs.update(self.special_tokens_map)
     return CLIPTokenizerFast.from_pretrained(self.tmpdirname, **kwargs)
 def get_rust_tokenizer(self, **kwargs):
     return CLIPTokenizerFast.from_pretrained(self.tmpdirname,
                                              pad_token="!",
                                              **kwargs)