ssunbear's picture
Update README.md
6ea78f2 verified
---
license: mit
language:
- ko
metrics:
- f1
- accuracy
base_model:
- klue/bert-base
pipeline_tag: text-classification
---
# ssunbear/bert-base-finetuned-ynat-v2
์ด ๋ชจ๋ธ์€ "**๋ถ€์ŠคํŠธ์บ ํ”„ AI tech 7๊ธฐ NLP - ์ฃผ์ œ ๋ถ„๋ฅ˜ ํ”„๋กœ์ ํŠธ**"์—์„œ ์ œ๊ณตํ•œ ๋น„๊ณต์‹ ๋ฐ์ดํ„ฐ์…‹(klue/bert-base-ynat ๊ฐ€๊ณต ๋ฐ์ดํ„ฐ)์„ ์‚ฌ์šฉํ•˜์—ฌ [klue/bert-base](https://huggingface.co/klue/bert-base) ๋ชจ๋ธ์„ ํŒŒ์ธํŠœ๋‹ํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
## ๋ชจ๋ธ ์„ค๋ช…
์ด ๋ชจ๋ธ์€ ์ฃผ์ œ ๋ถ„๋ฅ˜๋ฅผ ์œ„ํ•ด ์„ค๊ณ„๋˜์—ˆ์œผ๋ฉฐ, ๋ถ€์ŠคํŠธ์บ ํ”„ AI ๊ธฐ์ˆ  ๊ณผ์ •์—์„œ ์ˆ˜์ง‘๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•™์Šต๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋Œ€ํšŒ์—์„œ ์ œ๊ณต๋œ ์ผ๋ถ€ ๋ฐ์ดํ„ฐ๋ฅผ ์‚ญ์ œ ๋ฐ ์ฆ๊ฐ• ์ฒ˜๋ฆฌํ•˜์—ฌ ์ƒˆ๋กญ๊ฒŒ ์žฌ๊ตฌ์„ฑํ•˜์˜€์Šต๋‹ˆ๋‹ค. (์ €์ž‘๊ถŒ ๋ฌธ์ œ๋กœ ๋น„๊ณต์‹ ๋ฐ์ดํ„ฐ์…‹์ž…๋‹ˆ๋‹ค.)
## ์„ฑ๋Šฅ
- **F1 Score**: 0.8583
- **Accuracy**: 0.8623
## ์‚ฌ์šฉ ๋ฐฉ๋ฒ•
์ด ๋ชจ๋ธ์€ Hugging Face Transformers ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‰ฝ๊ฒŒ ๋กœ๋“œํ•˜๊ณ  ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
```python
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model_name = "ssunbear/bert-base-finetuned-ynat-v2"
# ๋ชจ๋ธ๊ณผ ํ† ํฌ๋‚˜์ด์ € ๋กœ๋“œ
tokenizer = AutoTokenizer.from_pretrained("klue/bert-base")
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=7)
```
## ํ›ˆ๋ จ ๋ฐ์ดํ„ฐ
- ๋ฐ์ดํ„ฐ ์ถœ์ฒ˜: ๋ถ€์ŠคํŠธ์บ ํ”„ AI tech 7๊ธฐ
- ๋ฐ์ดํ„ฐ ์œ ํ˜•: ํ…์ŠคํŠธ ๋ถ„๋ฅ˜์šฉ ๋น„๊ณต์‹ ๋ฐ์ดํ„ฐ์…‹
## ๋ผ์ด์„ผ์Šค
๋ชจ๋ธ์€ ๋น„๊ณต์‹ ๋ฐ์ดํ„ฐ์…‹์œผ๋กœ ํ›ˆ๋ จ๋˜์—ˆ์œผ๋ฉฐ, ์ €์ž‘๊ถŒ ๋ฌธ์ œ๋กœ ์ธํ•ด ๊ณต๊ฐœ๋˜์ง€ ์•Š์€ ๋ฐ์ดํ„ฐ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.