File size: 743 Bytes
83618ed
45b6416
 
 
 
83618ed
45b6416
83618ed
 
 
 
45b6416
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Apochat Gemma 4 E2B Trainer
emoji: 🏋️
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.0.0
app_file: app.py
pinned: false
---

# Apochat Gemma 4 E2B Trainer

Fine-tune `google/gemma-4-E2B-it` on the Apochat chat dataset (`apoapps/apochat-gemma4-e2b-chat-v1`)
using PEFT/LoRA.

**You must upgrade the Space hardware to a GPU before starting training.** Free `cpu-basic`
will not be able to train a 2B model in a reasonable time.

Recommended hardware:
- `t4-small` or `l4x1` for QLoRA.
- `a10g-small` or larger for faster training.

When training finishes, the adapter is pushed to `apoapps/apochat-gemma4-e2b-apochat-tuned-v2`.
Use the LiteRT export script to convert the trained adapter + base model to `.litertlm`.