Spaces:
No application file

README / README.md
KovaUser's picture
Update README.md
36e6842 verified
|
Raw History Blame Contribute Delete
5.69 kB
---
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>