Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions core/gallery/lfm3_artemis_entries_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// SPDX-License-Identifier: MIT
package gallery_test

import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/mudler/LocalAI/core/gallery"
)

var _ = Describe("gallery/index.yaml LFM3 1.7B Artemis entry", func() {
const (
name = "lfm3-1.7b-artemis-q4-k-m"
weight = "llama-cpp/models/LFM3-1.7B-Artemis-GGUF/LFM3-1.7B-Artemis-Q4_K_M.gguf"
weightSHA = "fc1781679f925fe22c0984cf052ee552fbed3cc95916872d6d493b93b927270f"
weightURI = "https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF/resolve/main/LFM3-1.7B-Artemis-Q4_K_M.gguf"
)

entry := func() gallery.GalleryModel {
entries, err := loadGalleryIndex()
Expect(err).ToNot(HaveOccurred())
e, ok := indexEntriesByName(entries)[name]
Expect(ok).To(BeTrue(), name)
return e
}

It("installs only the published weight", func() {
e := entry()
Expect(e.AdditionalFiles).To(HaveLen(1))
Expect(e.AdditionalFiles[0].Filename).To(Equal(weight))
Expect(e.AdditionalFiles[0].SHA256).To(Equal(weightSHA))
Expect(e.AdditionalFiles[0].URI).To(Equal(weightURI))
Expect(e.Overrides).ToNot(HaveKey("mmproj"))
})

// With thinking off this model can end replies with a stray </think> that
// LocalAI does not strip, so the template default (thinking on) stays.
It("keeps thinking at the template default", func() {
e := entry()
Expect(e.Overrides["options"]).To(ConsistOf("use_jinja:true"))
Expect(e.Overrides).ToNot(HaveKey("reasoning_effort"))
Expect(e.Overrides).ToNot(HaveKey("reasoning"))
})
})
36 changes: 36 additions & 0 deletions gallery/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84307,6 +84307,42 @@
model: llama-cpp/models/LFM3-1.7B-Uncensored-AD-Q4_K_M/LFM3-1.7B-Uncensored-AD-Q4_K_M.gguf
template:
use_tokenizer_template: true
- url: github:mudler/LocalAI/gallery/virtual.yaml@master
name: lfm3-1.7b-artemis-q4-k-m
description: |
TurinTech Artemis Q4_K_M quantization of Liquid AI's LFM3 1.7B, a text model
for local agents and tool use. Embedded chat template and 8192-token context.
Thinking is on by default, as in Liquid AI's chat template, and a request can
turn it off with "reasoning_effort": "none".
license: lfm1.0
urls:
- https://huggingface.co/LiquidAI/LFM3-1.7B
- https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF
icon: https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF/resolve/06fab8cd5f9e8ac86658e2b77bbd7bd3af640c97/assets/turintech-logo-v2.png
tags:
- llm
- gguf
- cpu
- gpu
files:
- filename: llama-cpp/models/LFM3-1.7B-Artemis-GGUF/LFM3-1.7B-Artemis-Q4_K_M.gguf
sha256: fc1781679f925fe22c0984cf052ee552fbed3cc95916872d6d493b93b927270f
uri: https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF/resolve/main/LFM3-1.7B-Artemis-Q4_K_M.gguf
overrides:
backend: llama-cpp
context_size: 8192
function:
automatic_tool_parsing_fallback: true
grammar:
disable: true
known_usecases:
- chat
options:
- use_jinja:true
parameters:
model: llama-cpp/models/LFM3-1.7B-Artemis-GGUF/LFM3-1.7B-Artemis-Q4_K_M.gguf
template:
use_tokenizer_template: true
- url: github:mudler/LocalAI/gallery/virtual.yaml@master
name: olala-v1.0-mini-7a1b-q5-k-m
description: |
Expand Down
44 changes: 44 additions & 0 deletions gallery/models/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103112,6 +103112,50 @@
model: llama-cpp/models/LFM3-1.7B-Uncensored-AD-Q4_K_M/LFM3-1.7B-Uncensored-AD-Q4_K_M.gguf
template:
use_tokenizer_template: true
- kind: model
id: lfm3-1.7b-artemis-q4-k-m
name: lfm3-1.7b-artemis-q4-k-m
version: 0.0.0-gallery.42838a2b268f
description: |
TurinTech Artemis Q4_K_M quantization of Liquid AI's LFM3 1.7B, a text model
for local agents and tool use. Embedded chat template and 8192-token context.
Thinking is on by default, as in Liquid AI's chat template, and a request can
turn it off with "reasoning_effort": "none".
license: lfm1.0
urls:
- https://huggingface.co/LiquidAI/LFM3-1.7B
- https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF
tags:
- llm
- gguf
- cpu
- gpu
icon: https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF/resolve/06fab8cd5f9e8ac86658e2b77bbd7bd3af640c97/assets/turintech-logo-v2.png
channel: gallery
policy:
requireSignature: false
schemaVersion: 1
model:
url: github:mudler/LocalAI/gallery/virtual.yaml@master
files:
- filename: llama-cpp/models/LFM3-1.7B-Artemis-GGUF/LFM3-1.7B-Artemis-Q4_K_M.gguf
sha256: fc1781679f925fe22c0984cf052ee552fbed3cc95916872d6d493b93b927270f
uri: https://huggingface.co/turintech/LFM3-1.7B-Artemis-GGUF/resolve/main/LFM3-1.7B-Artemis-Q4_K_M.gguf
overrides:
backend: llama-cpp
context_size: 8192
function:
automatic_tool_parsing_fallback: true
grammar:
disable: true
known_usecases:
- chat
options:
- use_jinja:true
parameters:
model: llama-cpp/models/LFM3-1.7B-Artemis-GGUF/LFM3-1.7B-Artemis-Q4_K_M.gguf
template:
use_tokenizer_template: true
- kind: model
id: olala-v1.0-mini-7a1b-q5-k-m
name: olala-v1.0-mini-7a1b-q5-k-m
Expand Down