Instructions to use mradermacher/StructureCoder-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/StructureCoder-3B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/StructureCoder-3B-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/StructureCoder-3B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/StructureCoder-3B-GGUF", filename="StructureCoder-3B.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use mradermacher/StructureCoder-3B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/StructureCoder-3B-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/StructureCoder-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/StructureCoder-3B-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/StructureCoder-3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/StructureCoder-3B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/StructureCoder-3B-GGUF with Ollama:
ollama run hf.co/mradermacher/StructureCoder-3B-GGUF:Q4_K_M
- Unsloth Studio new
How to use mradermacher/StructureCoder-3B-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/StructureCoder-3B-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/StructureCoder-3B-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/StructureCoder-3B-GGUF to start chatting
- Pi new
How to use mradermacher/StructureCoder-3B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mradermacher/StructureCoder-3B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mradermacher/StructureCoder-3B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use mradermacher/StructureCoder-3B-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/StructureCoder-3B-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/StructureCoder-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/StructureCoder-3B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.StructureCoder-3B-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from leia
Browse files- .gitattributes +12 -0
- StructureCoder-3B.IQ4_XS.gguf +3 -0
- StructureCoder-3B.Q2_K.gguf +3 -0
- StructureCoder-3B.Q3_K_L.gguf +3 -0
- StructureCoder-3B.Q3_K_M.gguf +3 -0
- StructureCoder-3B.Q3_K_S.gguf +3 -0
- StructureCoder-3B.Q4_K_M.gguf +3 -0
- StructureCoder-3B.Q4_K_S.gguf +3 -0
- StructureCoder-3B.Q5_K_M.gguf +3 -0
- StructureCoder-3B.Q5_K_S.gguf +3 -0
- StructureCoder-3B.Q6_K.gguf +3 -0
- StructureCoder-3B.Q8_0.gguf +3 -0
- StructureCoder-3B.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 |
+
StructureCoder-3B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
StructureCoder-3B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
StructureCoder-3B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
StructureCoder-3B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
StructureCoder-3B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
StructureCoder-3B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
StructureCoder-3B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
StructureCoder-3B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
StructureCoder-3B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
StructureCoder-3B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
StructureCoder-3B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
StructureCoder-3B.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
StructureCoder-3B.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:958e237b684e4811f8ec76bae50abf7aed8ec8607e5bf22961b0273cef23fbbc
|
| 3 |
+
size 1918491584
|
StructureCoder-3B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac5b1d816b588a4dcc5bd615d833cd0fffe8536d8e03e76c49656cd851af72d0
|
| 3 |
+
size 1376857024
|
StructureCoder-3B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3dd97554c91d7c80b5fe9df3dd3dfb0823e9492c8991d92478d97d93372f90a
|
| 3 |
+
size 1841095616
|
StructureCoder-3B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6883e3e747058323b5085af234aaaca38bedf7e6a7f75f263d8111a4f4ad8c7
|
| 3 |
+
size 1724179392
|
StructureCoder-3B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:863a2ad1294864d8dad8824f8ce9abc576c43568e73a2d6efaa653c7a3f24eec
|
| 3 |
+
size 1588061120
|
StructureCoder-3B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e2ec1af1cc56cdac714f84722c8918ecbfbe03ff7898dc724127dd74acc1fdd
|
| 3 |
+
size 2104933312
|
StructureCoder-3B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e72bf82a4c1635187ebe829f0d7b21d59f7b4c0ea12882a1369a95e6e6a371a9
|
| 3 |
+
size 2009414592
|
StructureCoder-3B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0eac52cda2352ecb105b034b3f9f25fe60dc2e17b8270cef3482823dad8b0f66
|
| 3 |
+
size 2438740928
|
StructureCoder-3B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c14647a6b7225d7f37dbd9144d7cdd68b31ce8d8c2219321997706cda3f43ca
|
| 3 |
+
size 2383592384
|
StructureCoder-3B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:016a7b4d60e332404183ce755b64794a320d3e094a04dd8cf64219ee0c1d97ad
|
| 3 |
+
size 2793411520
|
StructureCoder-3B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5b32564c5a242a096d97d91fbd7a45ae2164d008c262c7bc415464d080a032e
|
| 3 |
+
size 3616089024
|
StructureCoder-3B.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33297e0af391f2b31d55c1ba82ca12b8a57cdbf75dbf5687c9d95e1807c5493d
|
| 3 |
+
size 6800647104
|