How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Jip7e/DocMed")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Jip7e/DocMed")
model = AutoModelForCausalLM.from_pretrained("Jip7e/DocMed")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

🩺 DocMed

DocMed is a lightweight medical language model designed to assist medical students with learning and revision.

It provides clear, concise explanations of medical concepts in a friendly, study-oriented style.


❗ Disclaimer

DocMed is an educational model only.
It must not be used for diagnosis, treatment, or clinical decision-making.


πŸ” Capabilities

  • Medical concept explanations
  • Exam-style question answering
  • Mechanism summaries (physiology, pharmacology, pathology)
  • Short, student-friendly responses with emojis 🩺

🚫 Limitations

  • Not a clinical decision system
  • Not guaranteed to be factually correct
  • Not a replacement for textbooks or professors

🧠 Model Origin

DocMed was trained using modern parameter-efficient fine-tuning techniques on top of an open-source language model architecture.


πŸ“œ License & Attribution

This model is released under the Apache 2.0 license.
It is a derivative work of open-source language model research.


πŸ‘€ Author

DocMed is an independent educational AI project.

Downloads last month
4
Safetensors
Model size
1B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Jip7e/DocMed

Finetuned
(555)
this model

Dataset used to train Jip7e/DocMed

Space using Jip7e/DocMed 1