Add LICENSE and NOTICE files for license compliance 1407ad3
hanzo-dev commited on
How to use zenlm/zen-musician with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-to-audio", model="zenlm/zen-musician") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-musician")
model = AutoModelForCausalLM.from_pretrained("zenlm/zen-musician", device_map="auto")