Instructions to use newcave/kwater-ailab-4b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use newcave/kwater-ailab-4b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-Instruct-2507") model = PeftModel.from_pretrained(base_model, "newcave/kwater-ailab-4b-lora") - Notebooks
- Google Colab
- Kaggle

kwater-ailab-4b-lora
K-water AI์ฐ๊ตฌ์(K-water AI Research Institute)์ ์ฒซ LoRA ํ์ธํ๋ ์ธ์ด๋ชจ๋ธ์ ๋๋ค. K-water ์ฐ๊ตฌ๋ณด๊ณ ์ 105๊ฑด์์ ์ถ์ถํ ๋ฐ์ดํฐ์์ค ์ธ๊ธ(datasource mentions) ๊ตฌ์กฐํ ๋ฐ์ดํฐ๋ก ํ์ตํ์ฌ, ์ฐ๊ตฌ ๋ฐ์ดํฐ์์ค์ ๊ดํ ์ง๋ฌธ์ ์ถ์ฒ๋ฅผ ํ๊ธฐํ๋ฉฐ ๋ตํ๋๋ก ์กฐ์ ๋์์ต๋๋ค.
The first LoRA fine-tuned language model from K-water AI Research Institute (Republic of Korea), trained on structured datasource-mention records extracted from 105 K-water research reports. A proof-of-concept for the Water Co-Scientist research-agent initiative.
Details
- Base: Qwen/Qwen3-4B-Instruct-2507 (Apache 2.0)
- Method: LoRA r=16 / alpha=32, all linear layers, bf16, 2 epochs
- Data: rule-generated instruction pairs (listing / field lookup / summary) from datasource-mention records
- Hardware: NVIDIA A100 40GB (Google Colab)
Usage
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
BASE = "Qwen/Qwen3-4B-Instruct-2507"
tok = AutoTokenizer.from_pretrained(BASE)
model = AutoModelForCausalLM.from_pretrained(BASE, torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(model, "newcave/kwater-ailab-4b-lora")
Limitations
v0.1 proof-of-concept. Trained on template-generated pairs; primarily learns response format (source citation) and domain register rather than broad factual recall. Intended to be used as the generation slot of a RAG pipeline, not standalone.
Links
- GitHub (docs & scripts): https://github.com/newcave/kwater-ailab-4b-lora
- Data inventory dashboard: https://github.com/newcave/rnddata_report
- Downloads last month
- 42
Model tree for newcave/kwater-ailab-4b-lora
Base model
Qwen/Qwen3-4B-Instruct-2507