12# Use a pipeline as a high-level helper34from transformers import pipeline
56messages =[7{"role":"user","content":"Who are you?"},8]9pipe = pipeline("text-generation", model="MaziyarPanahi/calme-2.6-qwen2-7b")10pipe(messages)111213# Load model directly1415from transformers import AutoTokenizer, AutoModelForCausalLM
1617tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-2.6-qwen2-7b")18model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-2.6-qwen2-7b")