한국어 운세/점술 도메인 특화 LLM. Qwen3-4B 기반 RSLoRA 파인튜닝 모델 (v9, 최종).
YEJI는 사주(四柱), 서양 점성술, 타로, 화투 4개 도메인에 특화된 한국어 LLM입니다.
v1부터 v9까지 9회 반복 실험을 거쳐 최적화되었습니다.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "tellang/yeji-4b-instruct-v9"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
6
7messages = [
8 {"role": "system", "content": "당신은 전문 사주 상담사입니다."},
9 {"role": "user", "content": "1997년 10월 24일생 사주 풀이를 부탁합니다."}
10]
11
12text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
13inputs = tokenizer(text, return_tensors="pt").to(model.device)
14outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7)
15print(tokenizer.decode(outputs[0], skip_special_tokens=True))
1@misc{yeji-4b-instruct-v9,
2 author = {tellang},
3 title = {YEJI-4B-Instruct-v9: Korean Fortune-Telling Domain LLM},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/tellang/yeji-4b-instruct-v9}
7}