Transformers
PyTorch
Safetensors
GGUF
English
qwen2
text-generation-inference
unsloth
llama
trl
sft
conversational
Instructions to use Mauro6519/DeepSeek-R1-Medical-COT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mauro6519/DeepSeek-R1-Medical-COT with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mauro6519/DeepSeek-R1-Medical-COT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Mauro6519/DeepSeek-R1-Medical-COT with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M # Run inference directly in the terminal: llama cli -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M # Run inference directly in the terminal: llama cli -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
Use pre-built binary
# 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 Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
Build from source code
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 Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
Use Docker
docker model run hf.co/Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Mauro6519/DeepSeek-R1-Medical-COT with Ollama:
ollama run hf.co/Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
- Unsloth Studio
How to use Mauro6519/DeepSeek-R1-Medical-COT with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 Mauro6519/DeepSeek-R1-Medical-COT to start chatting
Install Unsloth Studio (Windows)
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 Mauro6519/DeepSeek-R1-Medical-COT to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Mauro6519/DeepSeek-R1-Medical-COT to start chatting
- Docker Model Runner
How to use Mauro6519/DeepSeek-R1-Medical-COT with Docker Model Runner:
docker model run hf.co/Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
- Lemonade
How to use Mauro6519/DeepSeek-R1-Medical-COT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Mauro6519/DeepSeek-R1-Medical-COT:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-Medical-COT-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- adapter_config.json +6 -6
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "unsloth/deepseek-r1-distill-
|
| 5 |
"bias": "none",
|
| 6 |
"eva_config": null,
|
| 7 |
"exclude_modules": null,
|
|
@@ -23,13 +23,13 @@
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
| 26 |
-
"k_proj",
|
| 27 |
-
"gate_proj",
|
| 28 |
-
"down_proj",
|
| 29 |
-
"up_proj",
|
| 30 |
"q_proj",
|
|
|
|
| 31 |
"v_proj",
|
| 32 |
-
"o_proj"
|
|
|
|
|
|
|
|
|
|
| 33 |
],
|
| 34 |
"task_type": "CAUSAL_LM",
|
| 35 |
"use_dora": false,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "unsloth/deepseek-r1-distill-qwen-14b-unsloth-bnb-4bit",
|
| 5 |
"bias": "none",
|
| 6 |
"eva_config": null,
|
| 7 |
"exclude_modules": null,
|
|
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
"q_proj",
|
| 27 |
+
"down_proj",
|
| 28 |
"v_proj",
|
| 29 |
+
"o_proj",
|
| 30 |
+
"gate_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
+
"k_proj"
|
| 33 |
],
|
| 34 |
"task_type": "CAUSAL_LM",
|
| 35 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d418a0e71ff4e1368ef5168ddc8486f4493bf6e0955b3aa8a3ee344c51c2e29
|
| 3 |
+
size 275341720
|