Update README.md
Browse files
README.md
CHANGED
|
@@ -136,3 +136,18 @@ pii_pipeline = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_str
|
|
| 136 |
|
| 137 |
text = "John Doe's email is john.doe@example.com and his phone number is +1-202-555-0173."
|
| 138 |
print(pii_pipeline(text))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
text = "John Doe's email is john.doe@example.com and his phone number is +1-202-555-0173."
|
| 138 |
print(pii_pipeline(text))
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Citation
|
| 143 |
+
|
| 144 |
+
If you use this model, please cite the original DistilBERT paper:
|
| 145 |
+
|
| 146 |
+
**BibTeX:**
|
| 147 |
+
```bibtex
|
| 148 |
+
@article{sanh2019distilbert,
|
| 149 |
+
title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter},
|
| 150 |
+
author={Sanh, Victor and Debut, Lysandre and Chaumond, Julien and Wolf, Thomas},
|
| 151 |
+
journal={arXiv preprint arXiv:1910.01108},
|
| 152 |
+
year={2019}
|
| 153 |
+
}
|