Gemma2 Korean Emotional Dialogue Chatbot
https://huggingface.co/spaces/kimhyunwoo/gemma2-korean-emotion-chat
This Space demonstrates a fine-tuned Gemma 2 2B model for generating empathetic Korean dialogue. The model is trained on the AI Hub "Emotional Dialogue Corpus" using Low-Rank Adaptation (LoRA) and is designed to respond to user prompts that express various emotions.
Model Details
- Model: Gemma 2 2B
- Fine-tuning Method: Low-Rank Adaptation (LoRA)
- Training Data: AI Hub "Emotional Dialogue Corpus"
- Language: Korean
- Task: Emotional Dialogue Generation
How to Use
- Enter your Korean text in the "User Input" text box.
- Optionally, you can adjust parameters such as "System message", "Max new tokens", "Temperature", and "Top-p" for diverse response generation.
- Click "Submit" to get the chatbot's response.
- The model's output will appear in the "Gemma Output" text box.
Example Prompts
- ์ค๋ ๋๋ฌด ํ๋ค์ด์. (I'm so tired today.)
- ๊ธฐ๋ถ์ด ๋๋ฌด ์ข์์! (I'm in a great mood!)
- ๊ฑฑ์ ๋๋ ์ผ์ด ์์ด์ ์ ์ด ์ ์์. (I can't sleep because I'm worried.)
Limitations
- The model might not fully understand complex nuances, sarcasm, or irony.
- The model's response can be influenced by the given system message.
- The model's output is not a substitute for professional mental health support.
Code and Resources
The code for this Space is available in the "Files" tab.
- Model: kimhyunwoo/gemma2-ko-dialogue-lora
- Gradio: Gradio Library
- AI Hub "Emotional Dialogue Corpus": AI Hub Link
About
This Space was created as a part of the Google - Unlock Global Communication with Gemma competition. It showcases the fine-tuning of Gemma 2 for Korean emotional dialogue, aiming to provide culturally sensitive and empathetic support.
License
This Space and the underlying model are licensed under the Gemma license.
- Downloads last month
- 367
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
HF Inference API was unable to determine this modelโs pipeline type.