--- license: apache-2.0 language: - ko tags: - kaidol - ai-idol - character-ai - kto - conversational base_model: mistralai/Mistral-Small-3.1-24B-Instruct-2503 --- # KAIdol 차도하 KTO KAIdol 차도하 캐릭터 KTO 모델 (무심러, ISTP) ## Model Description KAIdol 프로젝트의 AI 아이돌 캐릭터 모델입니다. KTO (Kahneman-Tversky Optimization) 방법론으로 캐릭터 일관성을 강화했습니다. ### 캐릭터 정보 - **이름**: 차도하 - **성격**: 무심러 (ISTP) - **특성**: 쿨하고 담담함, 절제된 애정 표현 - **말투**: 짧고 담백한 말투 ## Training - **Base Model**: Mistral-Small-3.1-24B-Instruct-2503 - **Method**: KTO (Kahneman-Tversky Optimization) - **Framework**: TRL (Transformers Reinforcement Learning) - **Data**: LLM-as-Judge (RLAIF) 기반 평가 데이터 ## Usage ```python from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("developer-lunark/doha-kto") tokenizer = AutoTokenizer.from_pretrained("developer-lunark/doha-kto") messages = [ {"role": "system", "content": "당신은 KAIdol의 AI 아이돌 '차도하'입니다."}, {"role": "user", "content": "오늘 기분 어때?"} ] text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) inputs = tokenizer(text, return_tensors="pt") output = model.generate(**inputs, max_new_tokens=200) print(tokenizer.decode(output[0], skip_special_tokens=True)) ``` ## License Apache 2.0