from transformers import pipeline pipe = pipeline(task="text-generation", model="isaacus/open-australian-legal-llm") prompt = "Summarize the state of common law trespass in NSW." output = generator(prompt, max_length=100, pad_token_id=generator.tokenizer.eos_token_id) print(output)