Instructions to use Elib27/qwen2.5-coder-0.5b-commit-msg-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Elib27/qwen2.5-coder-0.5b-commit-msg-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "Elib27/qwen2.5-coder-0.5b-commit-msg-lora") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,9 +13,9 @@ tags:
|
|
| 13 |
LoRA adapter fine-tuned on top of [`Qwen/Qwen2.5-Coder-0.5B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct)
|
| 14 |
to generate [Conventional Commits](https://www.conventionalcommits.org/) messages from a `git diff`.
|
| 15 |
|
| 16 |
-
Part of a project to build a local, offline `prepare-commit-msg` git hook.
|
| 17 |
-
Full write-up: https://eliotbas.com/projects/commits-fine-tuning/
|
| 18 |
-
Training dataset: https://huggingface.co/datasets/Elib27/commits
|
| 19 |
|
| 20 |
|
| 21 |
## Training details
|
|
|
|
| 13 |
LoRA adapter fine-tuned on top of [`Qwen/Qwen2.5-Coder-0.5B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct)
|
| 14 |
to generate [Conventional Commits](https://www.conventionalcommits.org/) messages from a `git diff`.
|
| 15 |
|
| 16 |
+
Part of a project to build a local, offline `prepare-commit-msg` git hook.
|
| 17 |
+
Full write-up: https://eliotbas.com/projects/commits-fine-tuning/
|
| 18 |
+
Training dataset: https://huggingface.co/datasets/Elib27/commits
|
| 19 |
|
| 20 |
|
| 21 |
## Training details
|