sahil2801/CodeAlpaca-20k
Viewer • Updated • 20k • 24k • 236
How to use XeroCodes/kairos with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("unsloth/codegemma-2b-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "XeroCodes/kairos")Kairos is a fine-tuned language model based on unsloth/codegemma-2b-bnb-4bit, optimized to excel as a coding assistant. This model has been fine-tuned to enhance its ability to understand and generate code, making it an invaluable tool for developers.
Kairos leverages the strong foundation of the CodeGemma-2B-BNB-4bit model and enhances its capabilities through fine-tuning. The result is a model that offers superior performance in generating, completing, and explaining code across various programming languages.
Base model
meta-llama/Llama-3.1-8B