File size: 1,219 Bytes
8209f30 6bf0008 8209f30 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | ---
library_name: transformers
pipeline_tag: text-generation
tags:
- merlina
- grimoire
- text-generation
- orpo
datasets:
- hemlang/Hemlock2-DPO
base_model:
- Qwen/Qwen2.5-Coder-7B-Instruct
---

# Hemlock2-Coder-7B
## Training Configuration
| Parameter | Value |
|-----------|-------|
| Training Mode | ORPO |
| Base Model | `Qwen/Qwen2.5-Coder-7B-Instruct` |
| Learning Rate | 9e-05 |
| Epochs | 2 |
| Batch Size | 2 |
| Gradient Accumulation | 8 |
| Effective Batch Size | 16 |
| Max Sequence Length | 2048 |
| Optimizer | paged_adamw_8bit |
| LR Scheduler | cosine |
| Warmup Ratio | 0.05 |
| Weight Decay | 0.01 |
| Max Grad Norm | 0.3 |
| Seed | 42 |
| Beta | 0.1 |
| Max Prompt Length | 1024 |
| LoRA Rank (r) | 128 |
| LoRA Alpha | 64 |
| LoRA Dropout | 0.05 |
| Target Modules | up_proj, down_proj, gate_proj, k_proj, q_proj, v_proj, o_proj |
| Quantization | 4-bit (NF4) |
| GPU | NVIDIA RTX A6000 |
---

[Merlina on GitHub](https://github.com/Schneewolf-Labs/Merlina)
|