As the advancements in Large Language Models (LLMs) such as ChatGPT, LLaMA, and Mistral continue, there are growing concerns about their vulnerability to harmful queries. This has caused an immediate need to implement robust safeguards. Techniques such as supervised fine-tuning (SFT), reinforcement learning from human feedback (RLHF), and direct preference optimization (DPO) have been useful…
