FreedomIntelligence/medical-o1-reasoning-SFT
Viewer • Updated • 90.1k • 10.7k • 1.15k
How to use linkyfan/DeepSeek-7B-HalfDocter with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="linkyfan/DeepSeek-7B-HalfDocter", filename="DeepSeek-7B-HalfDocter_Q4_K_M.gguf", )
llm.create_chat_completion(
messages = "{\n \"question\": \"What is my name?\",\n \"context\": \"My name is Clara and I live in Berkeley.\"\n}"
)How to use linkyfan/DeepSeek-7B-HalfDocter with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M # Run inference directly in the terminal: llama cli -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M # Run inference directly in the terminal: llama cli -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
docker model run hf.co/linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
How to use linkyfan/DeepSeek-7B-HalfDocter with Ollama:
ollama run hf.co/linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
How to use linkyfan/DeepSeek-7B-HalfDocter with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for linkyfan/DeepSeek-7B-HalfDocter to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for linkyfan/DeepSeek-7B-HalfDocter to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for linkyfan/DeepSeek-7B-HalfDocter to start chatting
How to use linkyfan/DeepSeek-7B-HalfDocter with Docker Model Runner:
docker model run hf.co/linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
How to use linkyfan/DeepSeek-7B-HalfDocter with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull linkyfan/DeepSeek-7B-HalfDocter:Q4_K_M
lemonade run user.DeepSeek-7B-HalfDocter-Q4_K_M
lemonade list
模型描述
该模型是专为医学应用设计的大型语言模型。目前是测试版本,它使用自定义数据集从DeepSeek-R1-Distill-Qwen-7B模型进行了微调。
该模型经过训练,可以理解某些疾病的表面症状并给出诊断。
!目前只是少量数据的训练集,请不要太相信结果,谢谢
4-bit
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B