YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

KPF-BERT-NER

  • ๋น…์นด์ธ์ฆˆ๋žฉ ์ธ์‚ฌ์ด๋“œ ๋ฉ”๋‰ด์˜ ๊ฐœ์ฒด๋ช… ๋ถ„์„์—์„œ ์‚ฌ์šฉ๋œ ๊ฐœ์ฒด๋ช… ์ธ์‹ ๋ชจ๋ธ์ด๋‹ค.
  • ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์•ˆ๋‚ด ๋ฐ ์ฝ”๋“œ๋Š” KPF-bigkinds github์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ชจ๋ธ ์†Œ๊ฐœ

KPF-BERT-NER

ํ•œ๊ตญ์–ธ๋ก ์ง„ํฅ์žฌ๋‹จ์ด ๊ฐœ๋ฐœํ•œ kpf-BERT ๋ชจ๋ธ์„ ๊ธฐ๋ฐ˜์œผ๋กœ NER(Named Entity Recognition) task๋ฅผ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” kpf-BERT-ner ๋ชจ๋ธ์„ ์„ค๊ณ„ ๋ฐ ๊ฐœ๋ฐœํ•œ๋‹ค. NER์€ ์ด๋ฆ„์„ ๊ฐ€์ง„ ๊ฐ์ฒด๋ฅผ ์ธ์‹ํ•˜๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•œ๋‹ค. ํ•œ๊ตญ์ •๋ณดํ†ต์‹ ๊ธฐ์ˆ ํ˜‘ํšŒ๊ฐ€ ์ œ๊ณตํ•˜๋Š” ์ •๋ณดํ†ต์‹ ์šฉ์–ด์‚ฌ์ „์— ๋”ฐ๋ฅด๋ฉด NER์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค. โ€œNER์€ ๋ฏธ๋ฆฌ ์ •์˜ํ•ด๋‘” ์‚ฌ๋žŒ, ํšŒ์‚ฌ, ์žฅ์†Œ, ์‹œ๊ฐ„, ๋‹จ์œ„ ๋“ฑ์— ํ•ด๋‹นํ•˜๋Š” ๋‹จ์–ด(๊ฐœ์ฒด๋ช…)๋ฅผ ๋ฌธ์„œ์—์„œ ์ธ์‹ํ•˜์—ฌ ์ถ”์ถœ ๋ถ„๋ฅ˜ํ•˜๋Š” ๊ธฐ๋ฒ•. ์ถ”์ถœ๋œ ๊ฐœ์ฒด๋ช…์€ ์ธ๋ช…(person), ์ง€๋ช…(location), ๊ธฐ๊ด€๋ช…(organization), ์‹œ๊ฐ„(time) ๋“ฑ์œผ๋กœ ๋ถ„๋ฅ˜๋œ๋‹ค. ๊ฐœ์ฒด๋ช… ์ธ์‹์€ ์ •๋ณด ์ถ”์ถœ์„ ๋ชฉ์ ์œผ๋กœ ์‹œ์ž‘๋˜์–ด ์ž์—ฐ์–ด ์ฒ˜๋ฆฌ, ์ •๋ณด ๊ฒ€์ƒ‰ ๋“ฑ์— ์‚ฌ์šฉ๋œ๋‹ค.โ€ ์‹ค๋ฌด์ ์œผ๋กœ ํ‘œํ˜„ํ•˜๋ฉด โ€˜๋ฌธ์ž์—ด์„ ์ž…๋ ฅ์œผ๋กœ ๋ฐ›์•„ ๋‹จ์–ด๋ณ„๋กœ ํ•ด๋‹นํ•˜๋Š” ํƒœ๊ทธ๋ฅผ ์ถœ๋ ฅํ•˜๊ฒŒ ํ•˜๋Š” multi-class ๋ถ„๋ฅ˜ ์ž‘์—…โ€™์ด๋‹ค. ๋ณธ ๊ณผ์ œ์—์„œ๋Š” kpf-BERT-ner ๋ชจ๋ธ์„ ์„ค๊ณ„ ๋ฐ ๊ฐœ๋ฐœํ•˜๊ณ  ์–ธ๋ก  ๊ธฐ์‚ฌ๋ฅผ ํ•™์Šตํ•˜์—ฌ 150๊ฐœ ํด๋ž˜์Šค๋ฅผ ๋ถ„๋ฅ˜ํ•œ๋‹ค.

ํ•œ๊ตญ์–ธ๋ก ์ง„ํฅ์žฌ๋‹จ์ด ๊ฐœ๋ฐœํ•œ kpf-BERT๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ classification layer๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ kpf-BERT-ner ๋ชจ๋ธ์„ ๊ฐœ๋ฐœํ•œ๋‹ค. BERT๋Š” ๋Œ€๋Ÿ‰์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์‚ฌ์ „ํ•™์Šต์— ์‚ฌ์šฉํ•œ๋‹ค. kpf-BERT๋Š” ์‹ ๋ฌธ๊ธฐ์‚ฌ์— ํŠนํ™”๋œ BERT ๋ชจ๋ธ๋กœ ์–ธ๋ก , ๋ฐฉ์†ก ๋งค์ฒด์— ๊ฐ•์ธํ•œ ๋ชจ๋ธ์ด๋‹ค.

img

BERT ๋ชจ๋ธ์˜ ํ•™์Šต์„ ์œ„ํ•ด์„œ๋Š” ๋ฌธ์žฅ์—์„œ ํ† ํฐ์„ ์ถ”์ถœํ•˜๋Š” ๊ณผ์ •์ด ํ•„์š”ํ•˜๋‹ค. ์ด๋Š” kpf-BERT์—์„œ ์ œ๊ณตํ•˜๋Š” ํ† ํฌ๋‚˜์ด์ €๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. kpf-BERT ํ† ํฌ๋‚˜์ด์ €๋Š” ๋ฌธ์žฅ์„ ํ† ํฐํ™”ํ•ด์„œ ์ „์ฒด ๋ฌธ์žฅ๋ฒกํ„ฐ๋ฅผ ๋งŒ๋“ ๋‹ค. ์ดํ›„ ๋ฌธ์žฅ์˜ ์‹œ์ž‘๊ณผ ๋ ๊ทธ ์™ธ ๋ช‡๊ฐ€์ง€ ํŠน์ˆ˜ ํ† ํฐ์„ ์ถ”๊ฐ€ํ•œ๋‹ค. ์ด ๊ณผ์ •์—์„œ ๋ฌธ์žฅ๋ณ„๋กœ ๊ตฌ๋ณ„ํ•˜๋Š” ์„ธ๊ทธ๋จผํŠธ ํ† ํฐ, ๊ฐ ํ† ํฐ์˜ ์œ„์น˜๋ฅผ ํ‘œ์‹œํ•˜๋Š” ํฌ์ง€์…˜ ํ† ํฐ ๋“ฑ์„ ์ƒ์„ฑํ•œ๋‹ค.

img_1

NER ๋ชจ๋ธ ๊ฐœ๋ฐœ์„ ์œ„ํ•ด์„œ๋Š” ์ถ”๊ฐ€๋กœ ํ† ํฐ์ด ์–ด๋–ค ํด๋ž˜์Šค๋ฅผ ๊ฐ€์กŒ๋Š”์ง€์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ํ•„์š”ํ•˜๋‹ค. ๋ณธ ๊ณผ์ œ์—์„œ๋Š” ํ† ํฌ๋‚˜์ด์ €๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌธ์žฅ์„ ํ† ํฐ์œผ๋กœ ๋ถ„๋ฅ˜ํ•œ ์ดํ›„์— ํ•ด๋‹น ํ† ํฐ๋ณ„๋กœ NER ํƒœ๊น…์„ ์ง„ํ–‰ํ•œ๋‹ค. ์ถ”๊ฐ€๋กœ BIO(Begin-Inside-Outside) ํ‘œ๊ธฐ๋ฒ•์„ ์‚ฌ์šฉํ•˜์—ฌ ์ •ํ™•๋„๋ฅผ ๋†’์ธ๋‹ค. B๋Š” ๊ฐœ์ฒด๋ช…์ด ์‹œ์ž‘๋˜๋Š” ๋ถ€๋ถ„, I๋Š” ๊ฐœ์ฒด๋ช…์˜ ๋‚ด๋ถ€ ๋ถ€๋ถ„, O๋Š” ๊ฐœ์ฒด๋ช…์ด ์•„๋‹Œ ๋ถ€๋ถ„์œผ๋กœ ๊ตฌ๋ถ„ํ•œ๋‹ค.

img_2

Downloads last month
613
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.