Downloads · 30 days
52
15% of all-time downloads
vnhkhwa/gemma-4-medkit-vietnamese
gemma-4-medkit-vietnamese is a text generation model from vnhkhwa. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
Panda Med 4 là mô hình ngôn ngữ lớn chuyên sâu về y tế dành riêng cho người Việt Nam, được tinh chỉnh (Fine-tuned) từ kiến trúc Gemma 2 (2B) trên tập dữ liệu Hỏi-Đáp sức khỏe chất lượng cao.
Downloads · 30 days
52
15% of all-time downloads
All-time downloads
346
Public
Parameters
2.6B
10.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.4 GB · 50%
From the Hugging Face model README
Panda Med 4 là mô hình ngôn ngữ lớn chuyên sâu về y tế dành riêng cho người Việt Nam, được tinh chỉnh (Fine-tuned) từ kiến trúc Gemma 2 (2B) trên tập dữ liệu Hỏi-Đáp sức khỏe chất lượng cao.
Bạn có thể kéo và chạy trực tiếp Panda Med 4 thông qua Ollama:
ollama run hf.co/vnhkhwa/gemma-4-medkit-vietnamese
Hoặc nạp bằng Modelfile với tên mô hình Panda-Med-4:
ollama create Panda-Med-4 -f Modelfile
ollama run Panda-Med-4
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "vnhkhwa/gemma-4-medkit-vietnamese"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto"
)
prompt = "<start_of_turn>user\nCon em 3 tuổi sốt 38.5 độ, có cần đi viện không ạ?<end_of_turn>\n<start_of_turn>model\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.3)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Thông tin do Panda Med 4 cung cấp chỉ mang tính chất tham khảo và hỗ trợ giáo dục sức khỏe. Mô hình KHÔNG thay thế cho chẩn đoán, điều trị hay tư vấn y khoa trực tiếp từ Bác sĩ chuyên khoa. Trong trường hợp cấp cứu, vui lòng gọi 115 hoặc đến cơ sở y tế gần nhất.