

torch.manual_seed(4) # doctest: +IGNORE_RESULT
prompt = """Answer the question using the context below.
 Context: Gazpacho is a cold soup and drink made of raw, blended vegetables. Most gazpacho includes stale bread, tomato, cucumbers, onion, bell peppers, garlic, olive oil, wine vinegar, water, and salt. Northern recipes often include cumin and/or pimentón (smoked sweet paprika). Traditionally, gazpacho was made by pounding the vegetables in a mortar with a pestle; this more laborious method is still sometimes used as it helps keep the gazpacho cool and avoids the foam and silky consistency of smoothie versions made in blenders or food processors.
 Question: What modern tool is used to make gazpacho?
 Answer:
 """
sequences = pipe(
     prompt,
     max_new_tokens=10,
     do_sample=True,
     top_k=10,
     return_full_text = False,
 )
for seq in sequences:
     print(f"Result: {seq['generated_text']}")
Result: Modern tools are used, such as immersion blenders