Downloads · 30 days
96
23% of all-time downloads
schneiderkamplab/DFM-Mimir-FP4-MLX
DFM-Mimir-FP4-MLX is a text generation model from schneiderkamplab. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Downloads · 30 days
96
23% of all-time downloads
All-time downloads
412
Public
Parameters
1.8B
4.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
How the weights are stored.
U32981M · 55%
From the Hugging Face model README

This is the 4-bit affine quantized version of DFM-Mimir for use with Apple MLX on Apple Silicon. Converted from the AWQ FP4 checkpoint.
| Property | Value |
|---|---|
| Method | MLX affine quantization (4-bit per-group) |
| Library | mlx-lm |
| Weight format | mlx (packed uint32) |
| Group size | 64 |
| Bits | 4 |
| Mode | affine |
| Non-quantized | lm_head, embed_tokens, z_L_init (kept in float16) |
| Model size | ~2.16 GB (vs ~3.2 GB bf16) |
from mlx_lm import load, generate
model, tokenizer = load("schneiderkamplab/DFM-Mimir-FP4-MLX")
messages = [
{"role": "user", "content": "Who are you?"},
]
prompt = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=False,
)
response = generate(model, tokenizer, prompt=prompt, max_tokens=40)
print(response)
| Architecture | Parameters | Hidden size | Layers | Attention heads | Vocab size | Context length | Training steps | Tokens per epoch | License |
|---|---|---|---|---|---|---|---|---|---|
| HRM-Text | ~1B | 1,536 | 16 | 12 | 262,144 | 4,096 | 1,750,000 | ~70.5B | Apache 2.0 |
Training was performed using a fork of HRM-Text. Further details are provided in our technical report here.
Mimir v1 was trained on Danish and English data only. It will likely have poor performance on other languages. The model has not been specifically aligned for safety and may reflect social biases present in its training data.
This model is released under the Apache License 2.0.
See the full license text in LICENSE.
The development of Mimir v1 was performed in close collaboration between University of Southern Denmark, Aarhus University, University of Copenhagen and the Alexandra Institute, as part of Danish Foundation Models.
Funding was provided by the Ministry of Science, Higher Education and Digital Affairs.
@misc{mimir-v1,
title = {DFM Mimir v1: An Open HRM Delivering Frontier Performance at 1B Parameters Using Only Permissible Post-Training Data},
author = {Schneider-Kamp, Peter and Nielsen, Jacob and Barmina, Gicanluca and Enevoldsen, Kenneth and Poech, Lukas Galke},
year = {2026},
url = {https://huggingface.co/danish-foundation-models/HRM-Mimir-v1}
}