This repository contains code for the Optimizing LLMs with Fine-Tuning and Prompt Engineering
bert_app_review.ipynb: Fine-tuning a BERT model for app review classification.openai_app_review_fine_tuning.ipynb: Fine-tuning OpenAI models for app review classification.
-
Fine-tuning Embeddings For Rec Engines: Fine-tuning embedding engines using custom preference data
-
Fine-tuning Embeddings with Synthetic Data - Using GPT-4o to create synthetic queries for a corpus to increase the quality of open-source embedding models
SAWYER_LLAMA_SFT.ipynb: Fine-tuning the Llama-3 model to create the SAWYER bot.SAWYER_Reward_Model.ipynb: Training a reward model from human preferences for the SAWYER bot.SAWYER_RLF.ipynb: Applying Reinforcement Learning from Human Feedback (RLHF) to align the SAWYER bot.SAWYER_USE_SAWYER.ipynb: Using the SAWYER bot.- Adapting SAWYER to know more about ML
distillation_example_1.ipynb: Exploring knowledge distillation techniques for transformer models.distillation_example_2.ipynb: Advanced distillation methods and applications.llama_quantization.ipynb: Quantizing Llama models for efficient deployment.Llama.cpp- Using LLMs with llama.cpp