def METHOD_NAME(model):
    tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
    device = -1
    pred = pipeline(
        "text-classification",
        model=model,
        tokenizer=tokenizer,
        device=device,
        return_all_scores=True
    )
    return pred