Spaces:
No application file

File size: 5,693 Bytes
b14d8c0
 
 
 
 
 
 
 
 
 
 
 
 
 
b403b2a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d110862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b403b2a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f95a527
b403b2a
 
 
 
 
 
 
 
 
 
 
f95a527
 
b403b2a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36e6842
b403b2a
 
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
---
title: Kova
emoji: πŸ—οΈ
colorFrom: gray
colorTo: blue
sdk: gradio
sdk_version: 4.19.2
app_file: app.py
pinned: false
license: apache-2.0
---



<div align="center">

<!-- Replace with your actual banner image -->
![AIEnhancer_Gemini_Generated_Image_fs8qqhf](https://cdn-uploads.huggingface.co/production/uploads/69d7bb29b64d00072c0e7efc/9xUxl3qg74KLo32gMhqGN.png)

<br/>

**Open source fine-tuning lab. Build, tune, and release better models β€” together.**

<br/>

[![License](https://img.shields.io/badge/license-Apache%202.0-black?style=flat-square)](./LICENSE)
[![Status](https://img.shields.io/badge/status-early%20development-darkgray?style=flat-square)]()
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-black?style=flat-square)](./CONTRIBUTING.md)

</div>

---

## Sponsor Kova Labs

Kova Labs is currently seeking $2K–$10K in early sponsorship to reach our first open-source model release.

Funds will go toward:
- development hardware
- GPU compute
- storage and hosting
- training/evaluation runs
- publishing model cards, configs, and benchmark reports

We are also open to non-cash support:
- GPU credits
- cloud credits
- used development laptop
- mentorship
- compute access
- dataset support

Contact: alexander@kovalabs.dev



## What is Kova?

Kova is an open source AI lab focused on fine-tuning. We build the tooling, run the experiments, and release the models β€” all in the open.

The goal is simple: make high-quality fine-tuned models and the infrastructure to produce them accessible to everyone, not just labs with massive compute budgets.

**Kova does three things:**

- **Fine-tunes open source models** β€” We take foundation models (Llama, Mistral, Qwen, Gemma, etc.) and fine-tune them on curated datasets for specific tasks, domains, and use cases.
- **Builds fine-tuning tooling** β€” Reusable training scripts, dataset pipelines, evaluation harnesses, and experiment configs designed to be forked and extended.
- **Releases everything publicly** β€” Models on Hugging Face, code on GitHub, training configs included. No black boxes.

---

## Roadmap

> Kova is in early development. This roadmap reflects our intended direction.

| Milestone | Status |
|-----------|--------|
| Core training pipeline (SFT + LoRA) | πŸ”² Planned |
| Dataset curation tooling | πŸ”² Planned |
| First model release | πŸ”² Planned |
| RLHF / DPO support | πŸ”² Planned |
| Evaluation framework | πŸ”² Planned |
| Quantization pipeline (GGUF, AWQ) | πŸ”² Planned |
| Community fine-tune contributions | πŸ”² Planned |

---

## Repository Structure

```
kova/
β”œβ”€β”€ configs/          # Training configs (YAML) for each experiment
β”œβ”€β”€ data/             # Dataset processing and curation scripts
β”œβ”€β”€ evals/            # Evaluation harnesses and benchmarks
β”œβ”€β”€ models/           # Model cards and release notes
β”œβ”€β”€ scripts/          # Training, merging, and quantization scripts
β”œβ”€β”€ tools/            # Utilities: tokenizer checks, dataset stats, etc.
└── docs/             # Documentation and guides
```

---

## Getting Started

> Full setup docs coming soon. Below is the intended quickstart.

### Prerequisites

- Python 3.10+
- CUDA 11.8+ (for GPU training)
- 16GB+ VRAM recommended for LoRA fine-tuning

### Installation

```bash
git clone https://github.com/kova-labs/kova.git
cd kova
pip install -r requirements.txt
```

### Run a fine-tune

```bash
python scripts/train.py \
  --config configs/llama3-8b-lora.yaml \
  --dataset data/my_dataset \
  --output_dir ./checkpoints/run_001
```

### Merge LoRA adapter

```bash
python scripts/merge_lora.py \
  --base_model meta-llama/Meta-Llama-3-8B \
  --adapter ./checkpoints/run_001 \
  --output ./merged/kova-llama3-8b-v1
```

---

## Models

All Kova models are released on Hugging Face under [huggingface.co/kova-ai](https://huggingface.co/kova-ai).

| Model | Base | Method | Release |
|-------|------|--------|---------|
| kova-7b-v1 | β€” | β€” | Coming soon |

---

## Training Stack

Kova is built on top of established open source training infrastructure:

- [**Transformers**](https://github.com/huggingface/transformers) β€” Model loading and tokenization
- [**TRL**](https://github.com/huggingface/trl) β€” SFT, DPO, and RLHF trainers
- [**PEFT**](https://github.com/huggingface/peft) β€” LoRA and adapter methods
- [**Datasets**](https://github.com/huggingface/datasets) β€” Dataset loading and processing
- [**LM Evaluation Harness**](https://github.com/EleutherAI/lm-evaluation-harness) β€” Benchmarking

---

## Contributing

Kova is community-first. Contributions of all kinds are welcome:

- **Dataset contributions** β€” Curated datasets, cleaning scripts, formatting pipelines
- **Training recipes** β€” Configs that worked well for a specific task or model
- **Bug reports & fixes** β€” Open an issue or submit a PR
- **Model evaluations** β€” Run evals on released models and share results

See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.

---

## Philosophy

Most fine-tuning work happens behind closed doors. Researchers publish results but rarely release the full recipe β€” the exact dataset, the hyperparameters, the failed runs. Kova is built on the belief that open collaboration produces better models faster.

Everything we build is designed to be reproduced, extended, and improved by anyone.

---

## License

Code is released under the [Apache 2.0 License](./LICENSE). Model weights follow the license of the respective base model.

---

<div align="center">

**Kova** Β· Open models. Open future.

[GitHub](https://github.com/kovaOSS) Β· [Hugging Face](https://huggingface.co/kova-ai) Β· [Discord](#) Β· [Twitter](#)

</div>