Instructions to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF 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 MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_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 MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_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 MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
- Ollama
How to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
- Lemonade
How to use MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-3B-GGUF-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub (#1)
Browse files- 165b2e57f097ccedfbeb24c471240b47ec1ce415d8ea4ce17a84253163668b95 (5264773ae556b684fe69507e6c4caf75889da06f)
- 4f503aab25077fd3801b116a36491f87dc7e3273992c0f377635d178939af768 (a949ad2b7beb51d93ab04a662e0a7e52747a4e13)
- 9d980c19c6ef831f96712807691f92dcba03f1136a562b1d703fe078b0583e1b (dafa1519f2e98c585509d39e1dced01fdf7c41a0)
- 15e07dbfe71328ff230578517c6885f4585c4386d1730ca3ffe011f29edd68b9 (7c52b200aa8cfcadf1087eb928d5df1605daab69)
- 5dee8d752178ced8d2876edcf83b0fc40975bc1cfb3553e258b549dab92d7be1 (07fe8d340835d91357d6ddbb48f16d45ad27dbc3)
- 2c91ae562a1cedec9eaea65b6889065a92af308a6415008905b353e46f1d80c0 (a260c5e19a2ca05b8c6b42103b406da958c10114)
- .gitattributes +6 -0
- DeepSeek-R1-Distill-Llama-3B-GGUF_imatrix.dat +3 -0
- DeepSeek-R1-Distill-Llama-3B.Q5_K_M.gguf +3 -0
- DeepSeek-R1-Distill-Llama-3B.Q5_K_S.gguf +3 -0
- DeepSeek-R1-Distill-Llama-3B.Q6_K.gguf +3 -0
- DeepSeek-R1-Distill-Llama-3B.Q8_0.gguf +3 -0
- DeepSeek-R1-Distill-Llama-3B.fp16.gguf +3 -0
- README.md +45 -0
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
DeepSeek-R1-Distill-Llama-3B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DeepSeek-R1-Distill-Llama-3B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DeepSeek-R1-Distill-Llama-3B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DeepSeek-R1-Distill-Llama-3B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
DeepSeek-R1-Distill-Llama-3B.fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
DeepSeek-R1-Distill-Llama-3B-GGUF_imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8705222bccaa016490fbc49d00d698af0cd5205c18a48001d93a0d08c14d08a5
|
| 3 |
+
size 2988366
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a705121318ecfd7944af47666d4f27a3d3bfd5634adb7d68765172bad3f5968
|
| 3 |
+
size 2322151200
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f70d4a74c2e686d8b2759592979d7a0597f325e2f3bfc2a3de890e95c1754f3
|
| 3 |
+
size 2269509408
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a0524026303cd417ba87c2d10e08fe17257422dc010073a7c1b5fa2d9048d45
|
| 3 |
+
size 2643851040
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09f694f8b44a4dee1d3b3a639af5352b235163ee56b431daaaaf0417324b17b0
|
| 3 |
+
size 3421896480
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fb158658f6dd752d9553b84189ca5be086edc1fb2f0cf485812d815b2ff488c
|
| 3 |
+
size 6433685056
|
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: suayptalha/DeepSeek-R1-Distill-Llama-3B
|
| 3 |
+
inference: false
|
| 4 |
+
model_creator: suayptalha
|
| 5 |
+
model_name: DeepSeek-R1-Distill-Llama-3B-GGUF
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
quantized_by: MaziyarPanahi
|
| 8 |
+
tags:
|
| 9 |
+
- quantized
|
| 10 |
+
- 2-bit
|
| 11 |
+
- 3-bit
|
| 12 |
+
- 4-bit
|
| 13 |
+
- 5-bit
|
| 14 |
+
- 6-bit
|
| 15 |
+
- 8-bit
|
| 16 |
+
- GGUF
|
| 17 |
+
- text-generation
|
| 18 |
+
---
|
| 19 |
+
# [MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF](https://huggingface.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF)
|
| 20 |
+
- Model creator: [suayptalha](https://huggingface.co/suayptalha)
|
| 21 |
+
- Original model: [suayptalha/DeepSeek-R1-Distill-Llama-3B](https://huggingface.co/suayptalha/DeepSeek-R1-Distill-Llama-3B)
|
| 22 |
+
|
| 23 |
+
## Description
|
| 24 |
+
[MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF](https://huggingface.co/MaziyarPanahi/DeepSeek-R1-Distill-Llama-3B-GGUF) contains GGUF format model files for [suayptalha/DeepSeek-R1-Distill-Llama-3B](https://huggingface.co/suayptalha/DeepSeek-R1-Distill-Llama-3B).
|
| 25 |
+
|
| 26 |
+
### About GGUF
|
| 27 |
+
|
| 28 |
+
GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
|
| 29 |
+
|
| 30 |
+
Here is an incomplete list of clients and libraries that are known to support GGUF:
|
| 31 |
+
|
| 32 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
|
| 33 |
+
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
| 34 |
+
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration. Linux available, in beta as of 27/11/2023.
|
| 35 |
+
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
|
| 36 |
+
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
|
| 37 |
+
* [GPT4All](https://gpt4all.io/index.html), a free and open source local running GUI, supporting Windows, Linux and macOS with full GPU accel.
|
| 38 |
+
* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
|
| 39 |
+
* [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
|
| 40 |
+
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
| 41 |
+
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server. Note, as of time of writing (November 27th 2023), ctransformers has not been updated in a long time and does not support many recent models.
|
| 42 |
+
|
| 43 |
+
## Special thanks
|
| 44 |
+
|
| 45 |
+
🙏 Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
|