Instructions to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/MiniCPM-2B-dpo-fp32-GGUF", filename="MiniCPM-2B-dpo-fp32-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
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 tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
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 tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with Ollama:
ollama run hf.co/tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF 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 tensorblock/MiniCPM-2B-dpo-fp32-GGUF 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 tensorblock/MiniCPM-2B-dpo-fp32-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/MiniCPM-2B-dpo-fp32-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
- Lemonade
How to use tensorblock/MiniCPM-2B-dpo-fp32-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/MiniCPM-2B-dpo-fp32-GGUF:Q2_K
Run and chat with the model
lemonade run user.MiniCPM-2B-dpo-fp32-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- MiniCPM-2B-dpo-fp32-Q3_K_L.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q3_K_M.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q3_K_S.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q4_0.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q4_K_M.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q4_K_S.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q5_0.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q5_K_M.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q5_K_S.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q6_K.gguf +0 -3
- MiniCPM-2B-dpo-fp32-Q8_0.gguf +0 -3
MiniCPM-2B-dpo-fp32-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7423ce986f13171f0a9500daee4dd35f7533189d5aabec4de8ab52f1971c919d
|
| 3 |
-
size 1564369600
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9ed3304a0687dd017486429f1973c597ebc89e4732aed40b38ad688bf916d420
|
| 3 |
-
size 1481093824
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3987aad74aa724d64a8a0f32e1974d858421f2a99f5a92bfb27e016b6cdfe1a4
|
| 3 |
-
size 1355350720
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f2aba24dcc757ef35641f1ce8ffcc500252ee229d3807e27d1de8c304e17ccb6
|
| 3 |
-
size 1609159360
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f7dc07f995765ce544ab956aa31fd4f6a9fa35cf478a498559678d4bdd029dcd
|
| 3 |
-
size 1802418880
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0d8ed6f020e16d79956817d8f4248970b3537cd9ac898b49c81f43ab4dfbe9a0
|
| 3 |
-
size 1682315968
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c5b9901deff05248c578e970c2a0d41e1c230d2ffaf1f500f6f77edc7f06f364
|
| 3 |
-
size 1914393280
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5574e36e542f55dee04fed6d3228fafeb241863ec3af8352bb0d7254d94c1a4b
|
| 3 |
-
size 2044615360
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ee536b11a21101c9e9855786540072ecac0ca5f04d9b74e4c36ba64a24915f03
|
| 3 |
-
size 1947570880
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2f641e329d744481c85abe6029c041bec9fab548929067c4a6950c12341d5149
|
| 3 |
-
size 2367267520
|
|
|
|
|
|
|
|
|
|
|
|
MiniCPM-2B-dpo-fp32-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1905b81c2224db0385ebd9862e734c470bae486f88357fa58e384641b92dbcb4
|
| 3 |
-
size 2898591200
|
|
|
|
|
|
|
|
|
|
|
|