

torch.manual_seed(0) # doctest: +IGNORE_RESULT
prompt = """Classify the text into neutral, negative or positive. 
 Text: This movie is definitely one of my favorite movies of its kind. The interaction between respectable and morally strong characters is an ode to chivalry and the honor code amongst thieves and policemen.
 Sentiment:
 """
sequences = pipe(
     prompt,
     max_new_tokens=10,
 )
for seq in sequences:
     print(f"Result: {seq['generated_text']}")
Result: Classify the text into neutral, negative or positive. 
Text: This movie is definitely one of my favorite movies of its kind. The interaction between respectable and morally strong characters is an ode to chivalry and the honor code amongst thieves and policemen.
Sentiment:
Positive