Downloads · 30 days
73
2% of all-time downloads
amoeba04/koelectra-small-v3-privacy-ner
koelectra-small-v3-privacy-ner is a token classification model from amoeba04. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of monologg/koelectra-small-v3-discriminator on a synthesized privacy dataset. It achieves the following results on the evaluation set: - f1 = 0.9998728608843798 - loss = 0.053109818…
Downloads · 30 days
73
2% of all-time downloads
All-time downloads
3.5K
Public
Parameters
14.1M
113 MB on disk
Likes
4
Public
Click a slice to open those files.
.bin56.3 MB · 50%
How the weights are stored.
F3214.1M · 100%
From the Hugging Face model README
This model is a fine-tuned version of monologg/koelectra-small-v3-discriminator on a synthesized privacy dataset. It achieves the following results on the evaluation set:
태깅 시스템 : BIO 시스템
12가지 한국인 개인정보 패턴에 대한 태그셋
| 분류 | 표기 | 정의 |
|---|---|---|
| PERSON | PER | 한국인 이름 |
| LOCATION | LOC | 한국 주소 |
| RESIDENT REGISTRATION NUMBER | RRN | 한국인 주민등록번호 |
| EMA | 이메일 | |
| ID | ID | 일반 로그인 ID |
| PASSWORD | PWD | 일반 로그인 비밀번호 |
| ORGANIZATION | ORG | 소속 기관 |
| PHONE NUMBER | PHN | 전화번호 |
| CARD NUMBER | CRD | 카드번호 |
| ACCOUNT NUMBER | ACC | 계좌번호 |
| PASSPORT NUMBER | PSP | 여권번호 |
| DRIVER'S LICENSE NUMBER | DLN | 운전면허번호 |
You can use this model with Transformers pipeline for NER.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("amoeba04/test1")
model = AutoModelForTokenClassification.from_pretrained("amoeba04/test1")
ner = pipeline("ner", model=model, tokenizer=tokenizer)
example = "지난주, 홍길동 씨는 서울특별시 강남구에 위치한 테헤란로 101빌딩에서 진행된 IT 컨퍼런스에 참석했습니다."
ner_results = ner(example)
print(ner_results)
출력: "PER-B, PER-B 씨는 LOC-BLOC-ILOC-I LOC-ILOC-I LOC-ILOC-I LOC-ILOC-I LOC-ILOC-ILOC-I에서 진행된 IT 컨퍼런스에 참석했습니다."
자체 제작한 한국인 개인정보 패턴 기반 개체명 인식 (NER) 데이터셋
The following hyperparameters were used during training:
This model was developed by the KNU Vision & Learning (KVL) Lab at Kyungpook National University.
For more information about our work, please visit our website.