Instructions to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF", filename="Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_M.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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-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/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemma-2-Llama-Swallow-2b-it-v0.1-i1-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from kaos
Browse files- .gitattributes +24 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XS.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XXS.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XS.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XXS.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_NL.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_XS.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_L.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_0.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_1.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_M.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_S.gguf +3 -0
- Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q6_K.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,27 @@ saved_model/**/* 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 |
imatrix.dat 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 |
imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e528507e34985eab77c5f8fba38edb7217a2c852aa32ec7ced5434d53ed100e
|
| 3 |
+
size 873799360
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ1_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7405acb092dd5d3e5d019f1df60b5d7b1dd4c9c4b5fb541bb3874f305a583a3
|
| 3 |
+
size 832161472
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2acb9551450409c3feab17bb18911f9eaa49775d3b4a52763e24407ba617eb1
|
| 3 |
+
size 1088016064
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9f204ab9c946dda8b9dc9fe64b946a5c2e605e978b3edf621302fddf9f82226
|
| 3 |
+
size 1032498880
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:504120f7107dea91927ab82a5289d19e36c878b352b2bb4c4eb5aa3afe175487
|
| 3 |
+
size 1002546880
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ2_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a3150f5d10a2283a45457a24187dc981fd28c2a3c9f2f472f1ba3907fe57edb
|
| 3 |
+
size 943195840
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f1bae4a43536428a20d8bc4c56d21d383da53546f4f7af3461fcab96142d1e9
|
| 3 |
+
size 1393563328
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59b2e558058797101e1f50ef8decdd722834ca891323a64fcef588c1b425f191
|
| 3 |
+
size 1360662208
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:755d5001567ec5c43db7491b6a22f3c3ce5b6d8ca843602c583e5689a383025f
|
| 3 |
+
size 1314213568
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ3_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03d2a395e661c8aa3d8266cc500014dda51da952dcef488ab996d92673db80b3
|
| 3 |
+
size 1181687488
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d6370e8bf5cbe10d8d1cc133b224fbbb06702b08e3a08870cfb44cdb8633329
|
| 3 |
+
size 1629511360
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6763aa7b4b97f639d288bc091d71e0addf82af840707a8729ff880792bccdd4d
|
| 3 |
+
size 1566252736
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a956f5e1155950cffbc122f863638e0d4fef166f5780ccc6c35a129b50ab2471
|
| 3 |
+
size 1229831872
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q2_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56e9407c9c56aa9479c70d6f9c22395d333990c033b3b0bbb33b0e06767f5c79
|
| 3 |
+
size 1170001600
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b71867138c783ca6dbe90f21c67492b41e5b2b102ff748811117477a94e66aeb
|
| 3 |
+
size 1550438080
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18f615b592a49da682f33545b443b25698061ef06e855093c87688637401119f
|
| 3 |
+
size 1461669568
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c15ac61a4b2966a1ec74db4a562fea5c0308a719b20af655a6dd4c62eba7a82
|
| 3 |
+
size 1360662208
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ce56e6f59b0639e11725eca59f6484cdd12d78fdcadb9a482efd05139d1a8cf
|
| 3 |
+
size 1633492672
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66c4d92a6a478857f07f13eecfd5191356c7d63c2137b414aadb17898d1d6843
|
| 3 |
+
size 1756028608
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b0c1e8884145a0fe2e077c878cf4e921f0d4197fa80e6fb042d6016bf472f14
|
| 3 |
+
size 1708584640
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1627ecbb90b1dc15ffb4818ecc30d60b7330267fb0c429367b77fcf20dc7a663
|
| 3 |
+
size 1638653632
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f69d07f71d13985e1988112d47c0f2d7f5262dcb7601b9a082938b2fafaa80c0
|
| 3 |
+
size 1923280576
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8c4df963f43713b78f5d40ececd756662b3eae1a7f5f09aa0772553997cae48
|
| 3 |
+
size 1882545856
|
Gemma-2-Llama-Swallow-2b-it-v0.1.i1-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6611acd1eb6a20f74e415517bd57fe06155211c7a24669c873359c4ff9216b7e
|
| 3 |
+
size 2151395008
|