File size: 3,689 Bytes
9cfe1da
aff19eb
9adcee4
978a0f3
54768ed
9cfe1da
 
 
 
 
 
 
8665444
 
 
 
 
 
 
 
 
 
b3741e6
 
 
8665444
 
 
 
 
 
 
 
 
 
 
b3741e6
 
 
 
 
 
 
 
 
 
8665444
b3741e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8665444
 
b3741e6
 
978a0f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
title: KOMUCHAT ~ Korean Community-style ChatBot ~
emoji: ๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘จ
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 4.1.1
app_file: app.py
pinned: false
license: mit
---

# KOMUCHAT : Korean community-style relationship counseling chabot

KOMUChat: ์˜จ๋ผ์ธ ์ปค๋ฎค๋‹ˆํ‹ฐ ์Šคํƒ€์ผ์˜ ์—ฐ์• ์ƒ๋‹ด์ฑ—๋ด‡

### ๊ฐœ์š”

์‚ฌ๋žŒ๋“ค์˜ ์‹ค์ œ ๋Œ€ํ™”๋ฅผ ๋ฐ˜์˜ํ•˜๊ธฐ ์œ„ํ•ด ํ•œ๊ตญ ์ปค๋ฎค๋‹ˆํ‹ฐ ์—ํŽจ์ฝ”๋ฆฌ์•„ + ์ธ์Šคํ‹ฐ์ฆˆ์—์„œ ์ˆ˜์ง‘ํ•œ ์•ฝ 3๋งŒ๊ฑด์˜ ์งˆ๋ฌธ-๋‹ต๋ณ€ ๋Œ€ํ™” ๋ฐ์ดํ„ฐ์…‹์œผ๋กœ ํ•™์Šต์‹œํ‚จ ์ฑ—๋ด‡

์ด๋ณ„, ๋ฐ์ดํŠธ์ฝ”์Šค, ์„ ๋ฌผ ๋“ฑ ์—ฐ์• ์™€ ๊ด€๋ จ๋œ ์งˆ๋ฌธ์— ๋Œ€ํ•ด ์˜จ๋ผ์ธ ์ปค๋ฎค๋‹ˆํ‹ฐ์—์„œ ์ƒ๋‹ดํ•˜๋Š” ๊ฒƒ ๊ฐ™์ด ์‘๋‹ตํ•ฉ๋‹ˆ๋‹ค.

`paust-t5-large`๋ชจ๋ธ๊ณผ `polyglot-ko-12.8b-safetensors` ๋ชจ๋ธ์„ ํŒŒ์ธํŠœ๋‹ํ•˜์—ฌ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๋ฐ๋ชจ์—์„œ ์„ ํƒํ•˜์—ฌ ์ด์šฉํ•ด๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. 


### ์‘๋‹ต์˜ˆ์‹œ

| Question | Answer |
| --- | --- |
| ํ—ค์–ด์กŒ์๋‹ˆ๋‹ค | ํž˜๋‚ด ๋” ์ข‹์€ ์ธ์—ฐ ๋‚˜ํƒ€๋‚ ๊ฑฐ์•ผ |
| ๋“œ๋ผ๋งˆ๋งŒ ์ฃผ๊ตฌ์žฅ์ฐฝ ๋ณด๋Š”์ค‘ | ๋ญ ๋ณด๊ณ  ์žˆ์œผ์‹ ๊ฐ€์š” |
| ๊ฒฐํ˜ผ๊นŒ์ง€ ์ƒ๊ฐํ•˜๋Š” ์ƒํƒœ์ผ์ˆ˜๋ก ๋” ๊น๊นํ•˜๊ฒŒ ๋”ฐ์ง€๊ฒŒ ๋ผ? | ์•„๋ฌด๋ž˜๋„ ๊ทธ๋Ÿฐ ๊ฑฐ ๊ฐ™์•„ |
| ISTJ ์—ฌ์ž๊ฐ€ ๋‚จ์žํ•œํ…Œ ๊ด€์‹ฌ์žˆ์œผ๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด? | ์—ฐ๋ฝ ์ž์ฃผ ํ•˜๊ณ  ์ทจํ–ฅ ๋งŽ์ด ๋ฌผ์–ด๋ณด๊ณ  ์ž์ฃผ๋Š” ์•„๋‹ˆ์–ด๋„ ๊พธ์ค€ํžˆ ๋งŒ๋‚˜๋ ค ํ•จ |
| #์ฒญ์ž#๋“ค์•„ ์—ฐ์• ๋Š” ๊ฐ‘์ž๊ธฐ ์‹œ์ž‘ํ•œ๋‹ค๊ณ  ์ƒ๊ฐํ•ด? | ๋‚˜๋Š” ์ง„์ž ์‹ ๊ธฐํ•œ ๊ฒŒ ์—ฐ์• ์— ๋Œ€ํ•œ ๊ธฐ๋Œ€๊ฐ€ ๋–จ์–ด์ง€๋ฉด ํ•˜๊ณ  ์žˆ๋”๋ž”ใ…‹ใ…‹ใ…‹ |

### ์‚ฌ์šฉ๊ธฐ์ˆ 
<img src="https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=Python&logoColor=white"><img src="https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge&logo=PyTorch&logoColor=white">


## English descriptions

KOMUCHAT : Korean community-style relationship counseling chabot

### Intro

This chatbot is trained with KOMUChat dataset, which is question-answer form of conversations collected from Korean online community <b>FM Korea</b> and <b>instiz</b>.

The chatbot responds to relationship-related questions such as breakups, dating courses, and gifts as if it were consulting an online community.

We finetuned `paust-t5-large` and `polyglot-en-12.8b-safetensors` model. You are welcomed to try them out by select options in demo.

### Example conversation

| Question | Answer |
| --- | --- |
| ํ—ค์–ด์กŒ์๋‹ˆ๋‹ค.(I broke up) | ํž˜๋‚ด ๋” ์ข‹์€ ์ธ์—ฐ ๋‚˜ํƒ€๋‚ ๊ฑฐ์•ผ(Cheer up, better things will come along) |
| ๋“œ๋ผ๋งˆ๋งŒ ์ฃผ๊ตฌ์žฅ์ฐฝ ๋ณด๋Š”์ค‘ (Iโ€™m just watching dramas all day long) | ๋ญ ๋ณด๊ณ  ์žˆ์œผ์‹ ๊ฐ€์š”(What are you watching?) |
| ๊ฒฐํ˜ผ๊นŒ์ง€ ์ƒ๊ฐํ•˜๋Š” ์ƒํƒœ์ผ์ˆ˜๋ก ๋” ๊น๊นํ•˜๊ฒŒ ๋”ฐ์ง€๊ฒŒ ๋ผ?(Is it true that the more you think about marriage, the more demanding you get?) | ์•„๋ฌด๋ž˜๋„ ๊ทธ๋Ÿฐ ๊ฑฐ ๊ฐ™์•„(I think so.) |
| ISTJ ์—ฌ์ž๊ฐ€ ๋‚จ์žํ•œํ…Œ ๊ด€์‹ฌ์žˆ์œผ๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด?(What ISTJ girls do when they have interests in a guy?) | ์—ฐ๋ฝ ์ž์ฃผ ํ•˜๊ณ  ์ทจํ–ฅ ๋งŽ์ด ๋ฌผ์–ด๋ณด๊ณ  ์ž์ฃผ๋Š” ์•„๋‹ˆ์–ด๋„ ๊พธ์ค€ํžˆ ๋งŒ๋‚˜๋ ค ํ•จ(Contact him often, and ask him what he likes and try to see him regularly) |
| #์ฒญ์ž#๋“ค์•„ ์—ฐ์• ๋Š” ๊ฐ‘์ž๊ธฐ ์‹œ์ž‘ํ•œ๋‹ค๊ณ  ์ƒ๊ฐํ•ด?(#Listeners#, do you think relatonships start out nowhere?) | ๋‚˜๋Š” ์ง„์ž ์‹ ๊ธฐํ•œ ๊ฒŒ ์—ฐ์• ์— ๋Œ€ํ•œ ๊ธฐ๋Œ€๊ฐ€ ๋–จ์–ด์ง€๋ฉด ํ•˜๊ณ  ์žˆ๋”๋ž”ใ…‹ใ…‹ใ…‹(I've found it really interesting that when I'm not expecting a relationship to happen, it does.) |

### STACKS
<img src="https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=Python&logoColor=white"><img src="https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge&logo=PyTorch&logoColor=white">



Check out the configuration reference at https://huggingface.co./docs/hub/spaces-config-reference