DocuMint-Train / README.md
himu1780's picture
Upload 4 files
8673e1c verified
|
Raw
History Blame Contribute Delete
1.22 kB
---
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)