Downloads · 30 days
8
7% of all-time downloads
umyunsang/GovOn-EXAONE-LoRA-v2
GovOn-EXAONE-LoRA-v2 is a text generation model from umyunsang. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
GovOn-EXAONE-LoRA-v2 is a specialized QLoRA (4-bit) adapter for the EXAONE-Deep-7.8B model, specifically fine-tuned for the Korean civil complaint domain.
Downloads · 30 days
8
7% of all-time downloads
All-time downloads
114
Public
Repo size
37.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors37.8 MB · 77%
From the Hugging Face model README
GovOn-EXAONE-LoRA-v2 is a specialized QLoRA (4-bit) adapter for the EXAONE-Deep-7.8B model, specifically fine-tuned for the Korean civil complaint domain.
This version (v2) significantly improves response stability and data balance compared to v1. It is designed to assist local government officials in categorizing civil inquiries and generating professional draft responses across 8 major administrative categories.
We recommend using transformers (v4.44-4.49) and peft for inference.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
from peft import PeftModel
model_id = "LGAI-EXAONE/EXAONE-Deep-7.8B"
adapter_id = "umyunsang/GovOn-EXAONE-LoRA-v2"
# Load base model with 4-bit quantization
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.bfloat16,
bnb_4bit_use_double_quant=True
)
base_model = AutoModelForCausalLM.from_pretrained(
model_id, quantization_config=bnb_config, device_map="auto", trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, adapter_id)
# (Inference code same as Merged-v2)
| Parameter | Value |
|---|---|
| Learning Rate | 2e-4 |
| LR Scheduler | Cosine |
| Warmup Ratio | 0.03 |
| Batch Size (Eff.) | 16 |
| Optimizer | paged_adamw_8bit |
| Max Seq Length | 2048 |
| Metric | Value |
|---|---|
| Initial Train Loss | 3.3224 |
| Final Train Loss | 1.5320 |
| Final Eval Loss | 1.7872 |
| Token Accuracy (Eval) | 60.46% |
| Total Steps | 1,902 |
| Category | Train | Val | Test |
|---|---|---|---|
| Total Samples | 10,148 | 1,265 | 1,265 |
| Categories | Administration, Transport, Environment, Welfare, Culture, Economy, Safety, etc. |
| Metric | v1 | v2 | Change |
|---|---|---|---|
| Eval Loss | 1.7909 | 1.7872 | -0.21% |
| EOS Generation Rate | 0% | 20% | +20%p |
| Category Bias (Admin) | 89.6% | ~30% | Normalized |
<thought>) tokens are generated. Removal is recommended for UI display.This model is licensed under the Apache License 2.0. However, users must also comply with the EXAONE AI Model License Agreement of the base model.
@misc{govon-exaone-lora-v2,
title={GovOn-EXAONE-LoRA-v2: QLoRA Fine-tuned EXAONE-Deep-7.8B for Korean Civil Complaint Assistance},
author={GovOn Team},
year={2026},
url={https://huggingface.co/umyunsang/GovOn-EXAONE-LoRA-v2}
}