This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased)
on the WikiANN dataset for Named Entity Recognition (NER).
The model was fine-tuned on the
WikiANN dataset:
1from transformers import pipeline
2
3# Load the model
4ner = pipeline("ner", model="bohrariyanshi/pii-ner-extraction", aggregation_strategy="simple")
5
6# Example usage
7text = "Barack Obama was born in Hawaii."
8entities = ner(text)
9print(entities)
10# Output: [{'entity_group': 'PER', 'score': 0.968, 'word': 'Barack Obama', 'start': 0, 'end': 12}, ...]
Training was performed on a Google Colab T4 GPU for a short duration (fine-tuning only).
The overall environmental impact is minimal compared to large-scale pretraining runs.
1@model{bohrariyanshi-pii-ner-extraction,
2 author = {bohrariyanshi},
3 title = {Multilingual NER Model for PII Detection},
4 year = {2025},
5 url = {https://huggingface.co/bohrariyanshi/pii-ner-extraction}
6}