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.

Downloads last month
466
Safetensors
Model size
0.5B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for hgjun/qwen2.5_0.5b_rag_ko

Adapter
(1,159)
this model

Dataset used to train hgjun/qwen2.5_0.5b_rag_ko