abetlen/llama-cpp-python

Add Finetune Support

Open

#814 opened on Oct 11, 2023

View on GitHub
 (3 comments) (8 reactions) (0 assignees)Python (644 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,995 stars)
PR merge metrics
 (Avg merge 1d 5h) (68 merged PRs in 30d)

Description

In the late versions of llama.cpp there are ways to fine-tune the model using LoRA adapters: https://github.com/ggerganov/llama.cpp/pull/2632

However, either I missed it or are there no functions introduced in this PR imported into this project?

Describe alternatives you've considered Sure it's always an option to use a CLI tool, but I guess Python binding can be useful.

Contributor guide