deepseek-ai/deepseek-llm-7b-instruct, specialized in medical reasoning using chain-of-thought (CoT) prompting.🧠 Powered by DeepSeek-R1 architecture
🏥 Fine-tuned on medical CoT dataset
🌍 "Sama" means "my" in Wolof, symbolizing care, trust, and proximity
deepseek-ai/deepseek-llm-7b-instructmed-cot1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("OUSSNDOU77/SamaDoctor-R1")
4tokenizer = AutoTokenizer.from_pretrained("OUSSNDOU77/SamaDoctor-R1")
5
6prompt = "<s> You are a medical reasoning assistant. <think> What are the signs of appendicitis? </think>"
7inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
8outputs = model.generate(**inputs, max_new_tokens=200)
9print(tokenizer.decode(outputs[0], skip_special_tokens=True))