qwen2.5_0.5b_rag_ko
A lightweight Korean RAG model: given search results (multiple documents) and a question, it answers in Korean based on the search results.
Training
| Item | Value |
|---|---|
| Base model | Qwen/Qwen2.5-0.5B-Instruct |
| Data | iamjoon/klue-mrc-ko-rag-dataset (based on KLUE-MRC: question, search results, answer, reference numbers) |
| Method | LoRA SFT, full merged weights saved in fp16 |
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "hgjun/qwen2.5_0.5b_rag_ko"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
Limitations
An experimental 0.5B lightweight model. Quantitative evaluation results are not published yet.