BM-K / KoChatBART

huggingface.co
Total runs: 194
24-hour runs: 9
7-day runs: 102
30-day runs: 161
Model's Last Updated: April 26 2023
text2text-generation

Introduction of KoChatBART

Model Details of KoChatBART

๐Ÿ˜Ž KoChatBART

BART ( B idirectional and A uto- R egressive T ransformers)๋Š” ์ž…๋ ฅ ํ…์ŠคํŠธ ์ผ๋ถ€์— ๋…ธ์ด์ฆˆ๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์ด๋ฅผ ๋‹ค์‹œ ์›๋ฌธ์œผ๋กœ ๋ณต๊ตฌํ•˜๋Š” autoencoder ์˜ ํ˜•ํƒœ๋กœ ํ•™์Šต์ด ๋ฉ๋‹ˆ๋‹ค. ํ•œ๊ตญ์–ด ์ฑ„ํŒ… BART(์ดํ•˜ KoChatBART ) ๋Š” ๋…ผ๋ฌธ์—์„œ ์‚ฌ์šฉ๋œ Text Infilling ๋…ธ์ด์ฆˆ ํ•จ์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์•ฝ 10GB ์ด์ƒ์˜ ํ•œ๊ตญ์–ด ๋Œ€ํ™” ํ…์ŠคํŠธ์— ๋Œ€ํ•ด์„œ ํ•™์Šตํ•œ ํ•œ๊ตญ์–ด encoder-decoder ์–ธ์–ด ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๋„์ถœ๋œ ๋Œ€ํ™” ์ƒ์„ฑ์— ๊ฐ•๊ฑดํ•œ KoChatBART-base ๋ฅผ ๋ฐฐํฌํ•ฉ๋‹ˆ๋‹ค.

Quick tour
from transformers import AutoTokenizer, BartForConditionalGeneration
  
tokenizer = AutoTokenizer.from_pretrained("BM-K/KoChatBART")
model = BartForConditionalGeneration.from_pretrained("BM-K/KoChatBART")

inputs = tokenizer("์•ˆ๋…• ์„ธ์ƒ์•„!", return_tensors="pt")
outputs = model(**inputs)
์‚ฌ์ „ ํ•™์Šต ๋ฐ์ดํ„ฐ ์ „์ฒ˜๋ฆฌ

์‚ฌ์šฉํ•œ ๋ฐ์ดํ„ฐ์…‹

KoChatBART๋ฅผ ํ•™์Šต์‹œํ‚ค๊ธฐ ์œ„ํ•˜์—ฌ ํ•œ๊ตญ์–ด ๋Œ€ํ™” ๋ฐ์ดํ„ฐ์…‹๋“ค์„ ์ „์ฒ˜๋ฆฌ ํ›„ ํ•ฉ์ณ ๋Œ€๋Ÿ‰์˜ ํ•œ๊ตญ์–ด ๋Œ€ํ™” ๋ง๋ญ‰์น˜๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

  1. ๋ฐ์ดํ„ฐ์˜ ์ค‘๋ณต์„ ์ค„์ด๊ธฐ ์œ„ํ•ด 'ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹'์™€ ๊ฐ™์€ ์ค‘๋ณต๋œ ํ‘œํ˜„์ด 2๋ฒˆ ์ด์ƒ ๋ฐ˜๋ณต๋  ๋•Œ๋Š” 'ใ…‹ใ…‹'์™€ ๊ฐ™์ด 2๋ฒˆ์œผ๋กœ ๋ฐ”๊ฟจ์Šต๋‹ˆ๋‹ค.
  2. ๋„ˆ๋ฌด ์งง์€ ๋ฐ์ดํ„ฐ๋Š” ํ•™์Šต์— ๋ฐฉํ•ด๊ฐ€ ๋  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— KoBART ํ† ํฌ๋‚˜์ด์ € ๊ธฐ์ค€ ์ „์ฒด ํ† ํฐ ๊ธธ์ด๊ฐ€ 3์„ ๋„˜๋Š” ๋ฐ์ดํ„ฐ๋งŒ์„ ์„ ๋ณ„ํ–ˆ์Šต๋‹ˆ๋‹ค.
  3. ๊ฐ€๋ช…์ฒ˜๋ฆฌ๋œ ๋ฐ์ดํ„ฐ๋Š” ์ œ๊ฑฐํ•˜์˜€์Šต๋‹ˆ๋‹ค.
Model
Model # of params vocab size Type # of layers # of heads ffn_dim hidden_dims
KoChatBART 139M 50265 Encoder 6 16 3072 768
Decoder 6 16 3072 768
๋Œ€ํ™” ์ƒ์„ฑ ์„ฑ๋Šฅ ์ธก์ •

๋‹ค์Œ ์ฝ”๋“œ (Dialogue Generator) ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ฐ ๋ชจ๋ธ์„ fine-tuning ํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๋Œ€ํ™” ์ƒ์„ฑ ์„ฑ๋Šฅ ์ธก์ •์„ ์œ„ํ•ด ์ถ”๋ก  ์‹œ ํ† ํฌ๋‚˜์ด์ง•๋˜์–ด ์ƒ์„ฑ๋œ ์‘๋‹ต์„ ๋ณต์›ํ•œ ํ›„, BPE tokenizer๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‹ค์ œ ์‘๋‹ต๊ณผ ์ƒ์„ฑ๋œ ์‘๋‹ต ์‚ฌ์ด์˜ overlap ๋ฐ distinct๋ฅผ ์ธก์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

Warning
์ผ๋ฐ˜์ ์œผ๋กœ ์งง์€ ๋Œ€ํ™” ๋ฐ์ดํ„ฐ๋กœ ๋ชจ๋ธ์„ ์‚ฌ์ „ํ•™์Šตํ•˜์˜€๊ธฐ ๋•Œ๋ฌธ์— ๊ธด ๋ฌธ์žฅ ์ฒ˜๋ฆฌ๊ฐ€ ์š”๊ตฌ๋˜๋Š” ํƒœ์Šคํฌ(์š”์•ฝ) ๋“ฑ์— ๋Œ€ํ•ด์„œ๋Š” ์•ฝํ•œ ๋ชจ์Šต์„ ๋ณด์ž…๋‹ˆ๋‹ค.

์‹คํ—˜ ๊ฒฐ๊ณผ
Training Validation Test
9,458 1,182 1,183
Model Param BLEU-3 BLEU-4 Dist-1 Dist-2
KoBART 124M 8.73 7.12 16.85 34.89
KoChatBART 139M 12.97 11.23 19.64 44.53
KoT5-ETRI 324M 12.10 10.14 16.97 40.09
Training Validation Test
29,093 1,616 1,616
Model Param BLEU-3 BLEU-4 Dist-1 Dist-2
KoBART 124M 10.04 7.24 13.76 42.09
KoChatBART 139M 10.11 7.26 15.12 46.08
KoT5-ETRI 324M 9.45 6.66 14.50 45.46
Contributors
Reference

Runs of BM-K KoChatBART on huggingface.co

194
Total runs
9
24-hour runs
7
3-day runs
102
7-day runs
161
30-day runs

More Information About KoChatBART huggingface.co Model

KoChatBART huggingface.co

KoChatBART huggingface.co is an AI model on huggingface.co that provides KoChatBART's model effect (), which can be used instantly with this BM-K KoChatBART model. huggingface.co supports a free trial of the KoChatBART model, and also provides paid use of the KoChatBART. Support call KoChatBART model through api, including Node.js, Python, http.

KoChatBART huggingface.co Url

https://huggingface.co/BM-K/KoChatBART

BM-K KoChatBART online free

KoChatBART huggingface.co is an online trial and call api platform, which integrates KoChatBART's modeling effects, including api services, and provides a free online trial of KoChatBART, you can try KoChatBART online for free by clicking the link below.

BM-K KoChatBART online free url in huggingface.co:

https://huggingface.co/BM-K/KoChatBART

KoChatBART install

KoChatBART is an open source model from GitHub that offers a free installation service, and any user can find KoChatBART on GitHub to install. At the same time, huggingface.co provides the effect of KoChatBART install, users can directly use KoChatBART installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

KoChatBART install url in huggingface.co:

https://huggingface.co/BM-K/KoChatBART

Url of KoChatBART

KoChatBART huggingface.co Url

Provider of KoChatBART huggingface.co

BM-K
ORGANIZATIONS

Other API from BM-K

huggingface.co

Total runs: 2.4K
Run Growth: -5.8K
Growth Rate: -243.60%
Updated: March 24 2023
huggingface.co

Total runs: 2.3K
Run Growth: 0
Growth Rate: 0.00%
Updated: January 03 2024
huggingface.co

Total runs: 809
Run Growth: -37
Growth Rate: -4.57%
Updated: August 30 2023
huggingface.co

Total runs: 141
Run Growth: -429
Growth Rate: -304.26%
Updated: August 30 2023
huggingface.co

Total runs: 104
Run Growth: 95
Growth Rate: 91.35%
Updated: August 30 2023
huggingface.co

Total runs: 15
Run Growth: 4
Growth Rate: 26.67%
Updated: March 24 2023