Downloads · 30 days
13
1% of all-time downloads
SaulLu/recreate-history
recreate-history is a token classification model from SaulLu. 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.
sahajBERT fine-tuned for NER using the bengali split of WikiANN .
Downloads · 30 days
13
1% of all-time downloads
All-time downloads
1.3K
Public
Repo size
2.5 GB
Likes
1
Public
Click a slice to open those files.
.bin67.6 MB · 98%
From the Hugging Face model README
sahajBERT fine-tuned for NER using the bengali split of WikiANN .
Named Entities predicted by the model:
| Label id | Label |
|---|---|
| 0 | O |
| 1 | B-PER |
| 2 | I-PER |
| 3 | B-ORG |
| 4 | I-ORG |
| 5 | B-LOC |
| 6 | I-LOC |
You can use this model directly with a pipeline for masked language modeling:
from transformers import AlbertForTokenClassification, TokenClassificationPipeline, PreTrainedTokenizerFast
# Initialize tokenizer
tokenizer = PreTrainedTokenizerFast.from_pretrained("neuropark/sahajBERT-NER")
# Initialize model
model = AlbertForTokenClassification.from_pretrained("neuropark/sahajBERT-NER")
# Initialize pipeline
pipeline = TokenClassificationPipeline(tokenizer=tokenizer, model=model)
raw_text = "এই ইউনিয়নে ৩ টি মৌজা ও ১০ টি গ্রাম আছে ।" # Change me
output = pipeline(raw_text)
WIP
The model was initialized it with pre-trained weights of sahajBERT at step 19519 and trained on the bengali of WikiANN
Coming soon!
<!-- ```bibtex @inproceedings{..., year={2020} } ``` -->loss: 0.11714419722557068
accuracy: 0.9772286821705426
precision: 0.9585365853658536
recall: 0.9651277013752456
f1 : 0.9618208516886931
Coming soon!
<!-- ```bibtex @inproceedings{..., year={2020} } ``` -->