def METHOD_NAME(self):
    feature_extractor = Taskflow(
        model="__internal_testing__/tiny-random-ernievil2",
        task="feature_extraction",
        return_tensors="pd",
        max_length=self.max_length,
    )
    outputs = feature_extractor(
        "This is a test",
    )
    self.assertTrue(paddle.is_tensor(outputs["features"]))