File size: 1,224 Bytes
8673e1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

title: DocuMint Train
emoji: πŸ†
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: true
---


# πŸ† DocuMint Train

LoRA fine-tuning interface for Qwen2-0.5B document processing.

## Features

- 🎯 **LoRA Training** - Efficient fine-tuning with low memory usage
- πŸ“Š **Status Tracking** - Real-time progress updates
- πŸš€ **Auto Upload** - Trained adapters pushed to DocuMint-Models
- πŸ”§ **Configurable** - Adjust epochs, batch size, learning rate

## Quick Start

1. Set `HF_TOKEN` in Space secrets
2. Upload training data to `himu1780/DocuMint-Data`
3. Click "Start Training"
4. Monitor with "Refresh Status"

## Dataset Format

**Instruction Format:**
```json

{"instruction": "Summarize this text", "output": "Summary..."}

```

**Q&A Format:**
```json

{"question": "What is X?", "answer": "X is..."}

```

## LoRA Config

- Rank: 8
- Alpha: 16
- Target: q_proj, k_proj, v_proj, o_proj

## Links

- πŸ”₯ [DocuMint App](https://huggingface.co/spaces/himu1780/DocuMint)
- πŸ“¦ [DocuMint-Models](https://huggingface.co/himu1780/DocuMint-Models)
- πŸ“Š [DocuMint-Data](https://huggingface.co/datasets/himu1780/DocuMint-Data)