Instructions to use mradermacher/salamandra-2b-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/salamandra-2b-instruct-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/salamandra-2b-instruct-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/salamandra-2b-instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/salamandra-2b-instruct-GGUF", filename="salamandra-2b-instruct.IQ4_XS.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 mradermacher/salamandra-2b-instruct-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 mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/salamandra-2b-instruct-GGUF: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 mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/salamandra-2b-instruct-GGUF: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 mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/salamandra-2b-instruct-GGUF with Ollama:
ollama run hf.co/mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/salamandra-2b-instruct-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 mradermacher/salamandra-2b-instruct-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 mradermacher/salamandra-2b-instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/salamandra-2b-instruct-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/salamandra-2b-instruct-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/salamandra-2b-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/salamandra-2b-instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.salamandra-2b-instruct-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rain
Browse files- .gitattributes +12 -0
- salamandra-2b-instruct.IQ4_XS.gguf +3 -0
- salamandra-2b-instruct.Q2_K.gguf +3 -0
- salamandra-2b-instruct.Q3_K_L.gguf +3 -0
- salamandra-2b-instruct.Q3_K_M.gguf +3 -0
- salamandra-2b-instruct.Q3_K_S.gguf +3 -0
- salamandra-2b-instruct.Q4_K_M.gguf +3 -0
- salamandra-2b-instruct.Q4_K_S.gguf +3 -0
- salamandra-2b-instruct.Q5_K_M.gguf +3 -0
- salamandra-2b-instruct.Q5_K_S.gguf +3 -0
- salamandra-2b-instruct.Q6_K.gguf +3 -0
- salamandra-2b-instruct.Q8_0.gguf +3 -0
- salamandra-2b-instruct.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ 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 |
+
salamandra-2b-instruct.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
salamandra-2b-instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
salamandra-2b-instruct.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
salamandra-2b-instruct.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
salamandra-2b-instruct.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
salamandra-2b-instruct.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
salamandra-2b-instruct.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
salamandra-2b-instruct.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
salamandra-2b-instruct.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
salamandra-2b-instruct.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
salamandra-2b-instruct.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
salamandra-2b-instruct.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
salamandra-2b-instruct.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6dee8267b457a1f56d3cd1d63f4d3dbd53b5952ac0ebb2d3d3507e7612ae400
|
| 3 |
+
size 1370143552
|
salamandra-2b-instruct.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5d4202c579fb3894974f75a777c5f43febb57e6b1eb12019aac28408ccb7412
|
| 3 |
+
size 1087413056
|
salamandra-2b-instruct.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d219b1b8be9c6fc4d2c910ae8454b2c935de167d090883060f94cb0ab93d6f5
|
| 3 |
+
size 1317460800
|
salamandra-2b-instruct.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30451a0ea0cf55f0704d13dd9248496b3b45f38daa8cfd3c308855fdd200bbe2
|
| 3 |
+
size 1277328192
|
salamandra-2b-instruct.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c85aa2cf92fbac35b55032b432b5920c2759319ec670c17cc978a36e6b3cb48
|
| 3 |
+
size 1215421248
|
salamandra-2b-instruct.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64fe5388aa0207c0ebc07051df051811f3a856fe68623e2cda706a6e64566901
|
| 3 |
+
size 1506089792
|
salamandra-2b-instruct.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53925148d92474064d8f68292da9762b1834d427529165be89014a62d909eef5
|
| 3 |
+
size 1447164736
|
salamandra-2b-instruct.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dca31153ec641d3f1363216c4684f3c62e8f32b7aa99132872dff3562bd9e39
|
| 3 |
+
size 1690868544
|
salamandra-2b-instruct.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f214f090ab8961439d0a099d5f2549ded5f4cd7ab055131f0b0458e58a0ecfa9
|
| 3 |
+
size 1642404672
|
salamandra-2b-instruct.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34e964004f8b114a1f0c8a5eb694663a9e94bedcd57463e57bac1de690aaef09
|
| 3 |
+
size 1920097088
|
salamandra-2b-instruct.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bd6aa61ce651ec00fa8cde3b74f81619561936d43b5d6225700440a05c1df21
|
| 3 |
+
size 2401082176
|
salamandra-2b-instruct.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c64315ea002bc825a2f5cfe91e60b3cd7022ad18868a16b195c30c9793d25e5
|
| 3 |
+
size 4513635136
|