Downloads · 30 days
9
16% of all-time downloads
eugenemaver/gemma-2b-mini-doctor
gemma-2b-mini-doctor is a text generation model from eugenemaver. Use it when you need the model to write or continue text. It is set up for transformers.
This is a fine-tuned version of the Gemma-2B model specifically adapted for medical-related tasks.
Downloads · 30 days
9
16% of all-time downloads
All-time downloads
55
Public
Parameters
2.5B
5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of the Gemma-2B model specifically adapted for medical-related tasks.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("gemma-2b-mini-doctor")
tokenizer = AutoTokenizer.from_pretrained("gemma-2b-mini-doctor")
inputs = tokenizer("What are the symptoms of flu?", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))