How to use Magic-AI/Magical-1-Sun with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Magic-AI/Magical-1-Sun")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Magic-AI/Magical-1-Sun", dtype="auto")