def METHOD_NAME(self, model):
    """
    Construct the tokenizer for the predictor.
    """
    if self.model == "gpt-cpm-large-cn":
        tokenizer_instance = GPTChineseTokenizer.from_pretrained(model)
    else:
        tokenizer_instance = GPTTokenizer.from_pretrained(model)
    self._tokenizer = tokenizer_instance