Joint Repetition Suppression and Content Moderation of Large Language Models