Downloads · 30 days
5
4% of all-time downloads
ngocthanhdoan/phobert-vehicle_registration-ner
phobert-vehicle_registration-ner is a machine learning model from ngocthanhdoan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
PhoBERT-based Named Entity Recognition model for Vietnamese Đăng ký xe documents.
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
118
Public
Parameters
134M
538 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors538 MB · 100%
From the Hugging Face model README
PhoBERT-based Named Entity Recognition model for Vietnamese Đăng ký xe documents.
Model này được train hoàn toàn trên dữ liệu giả lập (synthetic/mockup data), KHÔNG sử dụng dữ liệu cá nhân thật.
This model is fine-tuned from vinai/phobert-base for token-level NER on Vietnamese administrative/medical documents. It extracts structured fields from OCR text output.
B-brandB-chassis_numberB-engine_numberB-expiry_dateB-manufacture_countryB-manufacture_yearB-model_codeB-owner_addressB-owner_nameB-plate_numberB-registration_dateB-vehicle_typeI-manufacture_countryI-model_codeI-owner_addressI-owner_nameI-plate_numberI-vehicle_typefrom vietnerm import VietNerm
ner = VietNerm(doc_type="vehicle_registration", model_path="ngocthanhdoan/phobert-vehicle_registration-ner")
result = ner.extract("your document text here")
print(result)
from transformers import AutoTokenizer, AutoModelForTokenClassification
import torch
tokenizer = AutoTokenizer.from_pretrained("ngocthanhdoan/phobert-vehicle_registration-ner")
model = AutoModelForTokenClassification.from_pretrained("ngocthanhdoan/phobert-vehicle_registration-ner")
text = "your document text here"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.argmax(outputs.logits, dim=-1)
This model is built for research and development purposes only:
VietNerm is a Document AI Factory for Vietnamese documents. It provides a complete pipeline from template-based synthetic data generation to model training and deployment.
pip install vietnerm