Skip to content

Commit 637d72d

Browse files
authored
chore(model gallery): add lightthinker-qwen (#5165)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent f3bfec5 commit 637d72d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

gallery/index.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5893,6 +5893,20 @@
58935893
- filename: Tesslate_Gradience-T1-3B-preview-Q4_K_M.gguf
58945894
sha256: 119ccefa09e3756750a983301f8bbb95e6c8fce6941a5d91490dac600f887111
58955895
uri: huggingface://bartowski/Tesslate_Gradience-T1-3B-preview-GGUF/Tesslate_Gradience-T1-3B-preview-Q4_K_M.gguf
5896+
- !!merge <<: *qwen25
5897+
name: "lightthinker-qwen"
5898+
urls:
5899+
- https://huggingface.co/zjunlp/LightThinker-Qwen
5900+
- https://huggingface.co/mradermacher/LightThinker-Qwen-GGUF
5901+
description: |
5902+
LLMs have shown remarkable performance in complex reasoning tasks, but their efficiency is hindered by the substantial memory and computational costs associated with generating lengthy tokens. In this paper, we propose LightThinker, a novel method that enables LLMs to dynamically compress intermediate thoughts during reasoning. Inspired by human cognitive processes, LightThinker compresses verbose thought steps into compact representations and discards the original reasoning chains, thereby significantly reducing the number of tokens stored in the context window. This is achieved by training the model on when and how to perform compression through data construction, mapping hidden states to condensed gist tokens, and creating specialized attention masks.
5903+
overrides:
5904+
parameters:
5905+
model: LightThinker-Qwen.Q4_K_M.gguf
5906+
files:
5907+
- filename: LightThinker-Qwen.Q4_K_M.gguf
5908+
sha256: f52f27c23fa734b1a0306efd29fcb80434364e7a1077695574e9a4f5e48b7ed2
5909+
uri: huggingface://mradermacher/LightThinker-Qwen-GGUF/LightThinker-Qwen.Q4_K_M.gguf
58965910
- &llama31
58975911
url: "github:mudler/LocalAI/gallery/llama3.1-instruct.yaml@master" ## LLama3.1
58985912
icon: https://avatars.githubusercontent.com/u/153379578

0 commit comments

Comments
 (0)