Downloads · 30 days
3.4K
0% of all-time downloads
NlpHUST/ner-vietnamese-electra-base
ner-vietnamese-electra-base is a token classification model from NlpHUST. Use it when you need labels on individual words, such as names. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
3.4K
0% of all-time downloads
All-time downloads
1.5M
Public
Parameters
133M
1.1 GB on disk
Likes
26
Trending 1
Click a slice to open those files.
.bin532 MB · 50%
How the weights are stored.
F32133M · 100%
From the Hugging Face model README
This model is a fine-tuned version of NlpHUST/electra-base-vn on an VLSP 2018 dataset. It achieves the following results on the evaluation set:
More information needed
You can use this model with Transformers pipeline for NER.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("NlpHUST/ner-vietnamese-electra-base")
model = AutoModelForTokenClassification.from_pretrained("NlpHUST/ner-vietnamese-electra-base")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Liên quan vụ việc CSGT bị tố đánh dân, trúng một cháu nhỏ đang ngủ, đang lan truyền trên mạng xã hội, Đại tá Nguyễn Văn Tảo, Phó Giám đốc Công an tỉnh Tiền Giang vừa có cuộc họp cùng Chỉ huy Công an huyện Châu Thành và một số đơn vị nghiệp vụ cấp tỉnh để chỉ đạo làm rõ thông tin."
ner_results = nlp(example)
print(ner_results)
More information needed
More information needed
The following hyperparameters were used during training:
For personal communication related to this project, please contact Nha Nguyen Van ([email protected]).