How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="byteshape/North-Mini-Code-1.0-GGUF")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("byteshape/North-Mini-Code-1.0-GGUF", dtype="auto")
Quick Links

North-Mini-Code-1.0 GGUF (ShapeLearn Quantized)

This is a GGUF-quantized version of North-Mini-Code-1.0 produced with ByteShape's ShapeLearn, which learns the optimal datatype per tensor to maintain high quality even at very low bitlengths.

To learn more about ShapeLearn and to see detailed benchmarks across GPUs, please visit our blog.

If you have questions or want to share feedback, reach us on Reddit.

Quick Start

Pick a model from the table below and click Get llama.cpp command to get a ready-to-run command with all the correct sampling parameters for this model.

You can also copy the Model Tag from the table and use it directly:

Tool Command
llama.cpp llama-server -hf <MODEL_TAG>

llama.cpp auto-downloads the model on first run.

Once you run the llama-server, you can access the web interface at http://localhost:<PORT>.

How to Pick a Model

These models are optimized for GPU inference.

The chart below shows quality versus tokens per second (TPS), measured on RTX 4090. Quality is measured across two benchmarks, LiveCodeBench V6 and MultiPL-E HumanEval, both in thinking mode normalized by the BF16 baseline model.

Selection rule: Choose the model with the highest quality at your target throughput or the fastest model that still meets your required quality.

GPU Models

Interactive plots for RTX 4090, 4080, 5060Ti, and 5090 are available here.

GPU Benchmark - RTX 4090

Table sorted by model size (match the chart numbers to model IDs):

Model ID Bits/Weight Model Size Use This Model Model Tag
GPU-1 3.17 12.1 GB Get llama.cpp command byteshape/North-Mini-Code-1.0-GGUF:North-Mini-Code-1.0-IQ3_S-3.17bpw
GPU-2 4.14 15.8 GB Get llama.cpp command byteshape/North-Mini-Code-1.0-GGUF:North-Mini-Code-1.0-IQ4_XS-4.14bpw
GPU-3 4.27 16.3 GB Get llama.cpp command byteshape/North-Mini-Code-1.0-GGUF:North-Mini-Code-1.0-IQ4_XS-4.27bpw
GPU-4 5.64 21.5 GB Get llama.cpp command byteshape/North-Mini-Code-1.0-GGUF:North-Mini-Code-1.0-IQ4_XS-5.64bpw

Notes on quantization labels

The labels you see (for example IQ4_XS) are only there to make Hugging Face show our models in the GGUF table. We do not use the conventional quantization profiles as defined in llama.cpp. In our case, these labels indicate the primary quantization approach and average bit length. Note that these models may use a mix of quantization techniques optimized for GPU inference, which is why several models can share the same tag.

Downloads last month
35
GGUF
Model size
30B params
Architecture
cohere2moe
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for byteshape/North-Mini-Code-1.0-GGUF

Quantized
(35)
this model