82 3 weeks ago

Direct MLX conversions of original Luciole weights. Currently requires the Ollama support patch in PR #19567.

tools thinking
ollama run alibayram/luciole-mlx

Applications

Claude Code
Claude Code ollama launch claude --model alibayram/luciole-mlx
OpenCode
OpenCode ollama launch opencode --model alibayram/luciole-mlx
Hermes Agent
Hermes Agent ollama launch hermes --model alibayram/luciole-mlx
OpenClaw
OpenClaw ollama launch openclaw --model alibayram/luciole-mlx

Models

View all →

Readme

Luciole MLX

Direct MLX conversions of the original OpenLLM-France Luciole Safetensors weights. These models are not converted from GGUF or another quantized checkpoint.

Runtime requirement

A patched Ollama build is currently required. Stock Ollama 0.40.15 cannot load these models. Dense Nemotron and Luciole tokenizer support are proposed in Ollama PR #19567. The 8B tag was created with the chat-template fix proposed in PR #19570; pulled tags already contain the Luciole template. Neither PR has been merged or released.

No patched runtime? Use the official OpenLLM-France GGUF releases, which run on stock Ollama: OpenLLM-France/Luciole-Instruct-1.1 (Q4_K_M), or higher precision from Hugging Face, for example ollama run hf.co/OpenLLM-France/Luciole-8B-Instruct-1.1-GGUF:Q8_0.

The conversions also run with mlx-lm on Apple Silicon. This is a community conversion, not an official OpenLLM-France release.

Model tags

Tag Original checkpoint Architecture Quantization
1b-instruct-8bit Luciole-1B-Instruct-1.1 Dense Nemotron MLX affine 8-bit, group size 64
8b-instruct-8bit Luciole-8B-Instruct-1.1 Hybrid Nemotron-H MLX affine 8-bit, group size 64
23b-instruct-8bit Luciole-23B-Instruct-1.1 Dense Nemotron MLX affine 8-bit, group size 64

latest points to 8b-instruct-8bit, so ollama run alibayram/luciole-mlx loads the 8B.

With the patched Ollama runtime:

ollama run alibayram/luciole-mlx
ollama run alibayram/luciole-mlx:1b-instruct-8bit
ollama run alibayram/luciole-mlx:8b-instruct-8bit
ollama run alibayram/luciole-mlx:23b-instruct-8bit

Defaults follow the original model

  • Chat template and default system prompt: the original Luciole template.
  • Context: num_ctx 131072, the original max_position_embeddings. The model cards state that final training used 16,384-token sequences; long-context quality was not tested here.
  • Sampling: temperature 0.7, top_p 0.9 from the original generation_config.json.
  • Stop tokens: <|im_end|>, <|im_start|>, <pad>, </s>, <s>, the same as OpenLLM-France’s official Ollama release. <|im_start|> stops the model when it starts writing the next turn itself, which the 1B otherwise does after tool calls.

Provenance

1B 8B 23B
Source revision 9b92063bdb85f5451cbffa735d7526b2462747fa 35ac0770802a763ca482419514ca05b27621bb63 b5aacfeb8ce41fd3a11ee9f0a57871ecb68dabbf
Conversion Original BF16 Safetensors directly to MLX Original BF16 Safetensors directly to MLX Original BF16 Safetensors directly to MLX
Converter mlx-lm 0.32.2 mlx-lm 0.32.2 mlx-lm 0.32.2

License: Apache 2.0, with original model attribution retained.

Conversion validation

Against unquantized MLX, over 188 prompt-token positions, per-prompt top-1 agreement was 95.7–98.0% for 1B and 8B and 100% for 23B. Mean KL divergence was 0.011–0.014 (1B), 0.003–0.004 (8B) and 0.0016–0.0022 (23B). For 1B, an independent Transformers reference agreed with unquantized MLX on the top-1 token at all 188 positions.

In a fresh patched-Ollama runtime, four short greedy outputs matched mlx-lm exactly for each size. English/French tool calls and a multi-turn memory check passed for all three sizes.

These are conversion diagnostics, not general model-quality or long-context results. Original checkpoint limitations still apply.

Known limitation (8B)

After a tool result, greedy 8B replies can begin with a stray <tool_call>, which Ollama’s tool parser then drops (repeated call or empty reply). The original BF16 checkpoint produces the same text with the original template, so this is model behavior, not a conversion difference. The 1B and 23B models answer tool results correctly.

The plain 4-bit 1B candidate did not pass the predeclared numerical fidelity check and is not included.