Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
|
|
|
| 1 |
+
# Korean-PII-Masking-BERT
|
| 2 |
+
|
| 3 |
+
**GitHub Repository**: [alphagyuu/Korean-PII-Masking-BERT](https://github.com/alphagyuu/Korean-PII-Masking-BERT)
|
| 4 |
+
|
| 5 |
+
Korean-PII-Masking-BERT is a token classification model fine-tuned on KcBERT’s **TokenClassifier** using a processed version of "Korean SNS" dataset from **AI-Hub**.
|
| 6 |
+
|
| 7 |
+
## 🖥️ Python Implementation
|
| 8 |
+
- **Tokenizer**:
|
| 9 |
+
```python
|
| 10 |
+
BertTokenizer.from_pretrained('beomi/kcbert-base', do_lower_case=False)
|
| 11 |
+
```
|
| 12 |
+
- **Model**:
|
| 13 |
+
```python
|
| 14 |
+
TFBertForTokenClassification.from_pretrained('alphagyuu/Korean-PII-Masking-BertForTokenClassification', num_labels=len(tag2idx))
|
| 15 |
+
```
|
| 16 |
+
- **Libraries**:
|
| 17 |
+
- `transformers`, `tensorflow`, `numpy`, `pandas`, `sklearn`
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
---
|
| 22 |
license: apache-2.0
|
| 23 |
language:
|