Repository navigation
Conversation
Add TurinTech's Artemis Q4_K_M build of Liquid AI's LFM3 1.7B with an 8,192-token context. Thinking stays at the chat template's default, on: with it off the model often ends short replies with a stray </think>, which LocalAI does not strip while reasoning is disabled. A gallery test pins the file and options. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Dorian Magasic <dorian.magasic@turintech.ai>
Dorijan10
force-pushed
the
feature/gallery-lfm3-1.7b-artemis
branch
from
November 23, 2026 11:57
d443d17 to
be57fde
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
lfm3-1.7b-artemis-q4-k-m, TurinTech's Artemis Q4_K_M build of Liquid AI's LFM3 1.7B, from turintech/LFM3-1.7B-Artemis-GGUF. The repo has one weight file,LFM3-1.7B-Artemis-Q4_K_M.gguf, and no projector or drafter.The entry follows the Qwen3.5 Artemis entries from #12928:
virtual.yamlwith the embedded chat template (use_jinja:true,use_tokenizer_template: true) and the 8192-token context the card measures (the GGUF declares 262,144). It uses licenselfm1.0as the lfm3-audio entries do,function.automatic_tool_parsing_fallback: true, and no sampling parameters.Unlike #13156 and #13170, which default their entries to thinking off with
reasoning_effort: none, this entry keeps thinking at the template default, which is on. With thinking off, a short text request ("What is the capital of France? Answer in one word.") ended with a stray</think>and a repeated answer (Paris</think>Paris) on 11 of 20 replies from this file and 2 of 20 from Liquid AI's own Q4_K_M. LocalAI does not strip the tag while reasoning is disabled, and Liquid AI's card warns thatenable_thinking=False"can be inconsistent". With thinking on, none of 30 replies leaked (20 text, 10 tool), at a median of about 55 completion tokens, and every tool call was right. Liquid AI's recommended sampling (temperature 0.1, top_k 50, repetition penalty 1.1) made the thinking-off leak worse (18 of 20) and did not help with thinking on, so the entry sets none. A client can still turn thinking off for one request with"reasoning_effort": "none"or"metadata": {"enable_thinking": "false"}.Measured comparison from the model card at
06fab8cd5f9e, with thinking off:The card describes these as "a development panel: the file was checked on the same cases before its release", "so they are not an independent test", and says "the card claims no difference between files".
Notes for Reviewers
06fab8cd5f9e, which the icon URL pins; the file URI usesresolve/main. The sha256fc1781679f92…matches the LFS metadata,x-linked-etagand the card's checksum table. A fork run that downloads every TurinTech file in the library and checks it with.github/check_and_update.py, the byte sha256 and the HF security scan passed for all 23: https://github.com/Dorijan10/LocalAI/actions/runs/43460355210lfm3. Its template is byte-identical to LiquidAI/LFM3-1.7Bchat_template.jinja, which setsenable_thinking | default(true)and does not readreasoning_effort.cpu-llama-cppbackend reportsunknown model architecture: 'lfm3'. The development backend loads it (cpu-llama-cpp-development,master-cpu-llama-cpp, withLOCALAI_PREFER_DEV_BACKENDS=true), so the entry works on master builds now and on the default backend from the next release. The existinglfm3-1.7b-uncensoredis in the same position, since its GGUF is alsolfm3.lfm3-1.7b-uncensored, the last entry ingallery/models/index.yaml, away from the lines feat(gallery): add Nemotron 3.5 Bolt E4B Artemis variants #13156 and fix(gallery): default the Qwen3.5 Artemis entries to thinking off #13170 touch.core/gallery/lfm3_artemis_entries_test.go: the entry installs exactly the one weight with the published sha256 and aresolve/mainURI, sets nommproj, and has options of exactlyuse_jinja:truewith neitherreasoning_effortnorreasoning. It fails whenreasoning_effort: noneis added.gallery/index.yamlwas regenerated withmodelcatalog. These passed:go test ./scripts/models/..., the five library tests, thegallery/index.yaml|gallery variant lint helpersGinkgo focus (57 specs, including the 2 new ones) andgit diff --check.max_tokens1500. The installed config has noreasoning_effort, and nocontentheld think tags. Completion tokens are in brackets. The text request returnedPariswith reasoning (50). The tool request returnedget_weatherwith{"city":"Paris"}and reasoning (64), and the same call without reasoning with"reasoning_effort": "none"(18) and with"metadata": {"enable_thinking": "false"}(18). The text request sent again returnedPariswith reasoning (107).Sources:
Signed commits