Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("text-generation", model="Bohanlu/Taigi-Llama-2-7B")
res = pipe("Hi")
print(res)

This comment has been hidden
Owner

Thanks for the suggestion to include usage examples for easier use. I’ve updated the README with additional information for the Taigi-Llama-2 series models. Updates for other models will be coming soon.

Bohanlu changed pull request status to closed

Sign up or log in to comment