Downloads · 30 days
0
swnometal666/finnish-healthcare-terminology-v4
finnish-healthcare-terminology-v4 is a text generation model from swnometal666. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is a fine-tuned version of TurkuNLP/gpt3-finnish-small, specialized for Finnish healthcare terminology and medical knowledge.
Downloads · 30 days
0
Access
Public
Updated Aug 26, 2025
Repo size
888 KB
Likes
0
Public
Click a slice to open those files.
.json10 MB · 92%
From the Hugging Face model README
This model is a fine-tuned version of TurkuNLP/gpt3-finnish-small, specialized for Finnish healthcare terminology and medical knowledge.
Based on comparative testing, this Final Model version outperformed intermediate checkpoints in:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load the model
tokenizer = AutoTokenizer.from_pretrained("TurkuNLP/gpt3-finnish-small")
base_model = AutoModelForCausalLM.from_pretrained("TurkuNLP/gpt3-finnish-small")
model = PeftModel.from_pretrained(base_model, "swnometal666/finnish-healthcare-terminology-v4")
# Generate healthcare-related text
prompt = "Kysymys: Mitä on diabetes? Vastaus:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
⚠️ Important Notice: This model is designed for educational and terminology purposes only. It should NOT be used for:
Always consult qualified healthcare professionals for medical advice.
The model was trained on carefully filtered Finnish healthcare articles focusing on: