def test_pp_model(text, pp_tokenizer, pp_model):
    """Get some paraphrases for a bit of text"""
    print("ORIGINAL\n",text)
    num_beams = 10
    num_return_sequences = 10
    batch = pp_tokenizer([text], return_tensors='pt', max_length=60, truncation=True)
    translated = pp_model.generate(**batch, num_beams=num_beams, num_return_sequences=num_return_sequences, length_penalty=1)
    tgt_text = pp_tokenizer.batch_decode(translated, skip_special_tokens=True)
    return tgt_text