def METHOD_NAME(
    self,
    persona: List[str],
    history: List[str],
) -> H2Seq2SeqInferenceSampleDictV1:
    dataset_sample = PersonaChatDatasetSampleV1(
        persona=persona,
        history=history,
    )
    sample = H2Seq2SeqInferencePersonaSampleV1(
        tokenizer=self.tokenizer,
        hyperparameters=self.hyperparameters,
        dataset_sample=dataset_sample,
    )
    sample = sample.get_sample()
    for key in sample.keys():
        sample[key] = torch.tensor(sample[key]).unsqueeze(0).to(self.device)
    return sample