49 Downloads Updated 2 weeks ago
ollama run mahade315/mamba-codestral:7b-q4_K_M
A Q4_K_M GGUF quantization of mistralai/Mamba-Codestral-7B-v0.1, a 7B code-generation model from Mistral AI built on the Mamba2 state-space architecture instead of a transformer.
ollama run mahade315/mamba-codestral:7b-q4_K_M
Requires Ollama 0.23.0 or newer. This is a pure
mamba2model. Older versions may fail to load it.
| Base model | mistralai/Mamba-Codestral-7B-v0.1 |
| Architecture | Mamba2 (64 layers, hidden size 4096, state size 128) |
| Quantization | Q4_K_M (≈4.55 bits/weight), 4.1 GB |
| Kept in F32 | ssm_a, ssm_d, ssm_dt.bias, ssm_conv1d, all norms |
| Output layer | Q6_K |
| Default context | 16384 (num_ctx) |
| Prompt format | Mistral instruct: [INST] ... [/INST] |
| License | Apache 2.0 |
Converted with llama.cpp’s convert_hf_to_gguf.py (bf16 → f16) and quantized with llama-quantize.
temperature 0.2
num_ctx 16384
stop [INST], [/INST], </s>
Override per request, e.g. "options": {"temperature": 0.7, "num_ctx": 32768}.
versioning {} on aws_s3_bucket).Original model © Mistral AI, released under the Apache License 2.0. This repository only redistributes a quantized conversion. No weights were fine-tuned or modified beyond quantization.