Downloads · 30 days
8
22% of all-time downloads
quanghini/vietnamese-medical-phobert
vietnamese-medical-phobert is a machine learning model from quanghini. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a fine-tuned PhoBERT model specifically trained for Vietnamese medical text classification. The model can classify Vietnamese medical symptoms and conditions into 86 different disease categories.
Downloads · 30 days
8
22% of all-time downloads
All-time downloads
37
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin540 MB · 100%
From the Hugging Face model README
This is a fine-tuned PhoBERT model specifically trained for Vietnamese medical text classification. The model can classify Vietnamese medical symptoms and conditions into 86 different disease categories.
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("vinai/phobert-base")
model = AutoModelForSequenceClassification.from_pretrained("quanghini/vietnamese-medical-phobert")
# Example usage
text = "Tôi bị ho và sốt suốt ba ngày nay"
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
The model can classify symptoms into 86 Vietnamese medical conditions including:
If you use this model in your research, please cite:
@misc{vietnamese-medical-phobert,
title={Vietnamese Medical PhoBERT for Symptom Classification},
author={ititiu20201},
year={2025},
howpublished={\\url{https://huggingface.co/quanghini/vietnamese-medical-phobert}}
}
This model inherits the license from the base PhoBERT model. Please refer to the original model for licensing details.