From 39c954764cad7b54ed3765b94ebc7936be99ee55 Mon Sep 17 00:00:00 2001 From: ER-EPR <38782737+ER-EPR@users.noreply.github.com> Date: Sun, 5 Apr 2026 15:21:21 +0800 Subject: [PATCH] Update index.yaml and add Qwen3.5 model files (#9237) * Update index.yaml Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> * Add mmproj files for Qwen3.5 models Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> * Update file paths for Qwen models in index.yaml Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> * Update index.yaml Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> * Refactor Qwen3-Reranker-0.6B entry in index.yaml Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> * Update qwen3.yaml configuration parameters Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> --------- Signed-off-by: ER-EPR <38782737+ER-EPR@users.noreply.github.com> --- gallery/index.yaml | 82 ++++++++++++++++++++++++++++++++++++++++++++++ gallery/qwen3.yaml | 7 ++-- 2 files changed, 86 insertions(+), 3 deletions(-) diff --git a/gallery/index.yaml b/gallery/index.yaml index e526e1833..9e0eb8b8e 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -1288,6 +1288,59 @@ - filename: llama-cpp/mmproj/Qwen3-VL-Reranker-8B.mmproj-f16.gguf sha256: 15cd9bd4882dae771344f0ac204fce07de91b47c1438ada3861dfc817403c31e uri: https://huggingface.co/mradermacher/Qwen3-VL-Reranker-8B-GGUF/resolve/main/Qwen3-VL-Reranker-8B.mmproj-f16.gguf +- name: "qwen3-vl-reranker-2b-i1" + url: "github:mudler/LocalAI/gallery/virtual.yaml@master" + urls: + - https://huggingface.co/mradermacher/Qwen3-VL-Reranker-2B-i1-GGUF + description: | + **Model Name:** Qwen3-VL-Reranker-2B-i1 + **Base Model:** Qwen/Qwen3-VL-Reranker-2B + + **Description:** + A high-performance multimodal reranking model for state-of-the-art cross-modal search. It supports 30+ languages and handles text, images, screenshots, videos, and mixed modalities. With 8B parameters and a 32K context length, it refines retrieval results by combining embedding vectors with precise relevance scores. Optimized for efficiency, it supports quantized versions (e.g., Q8_0, Q4_K_M) and is ideal for applications requiring accurate multimodal content matching. + + **Key Features:** + - **Multimodal**: Text, images, videos, and mixed content. + - **Language Support**: 30+ languages. + - **Quantization**: Available in Q8_0 (best quality), Q4_K_M (fast, recommended), and lower-precision options. + - **Performance**: Outperforms base models in retrieval tasks (e.g., JinaVDR, ViDoRe v3). + - **Use Case**: Enhances search pipelines by refining embeddings with precise relevance scores. + + **Downloads:** + - [GGUF Files](https://huggingface.co/mradermacher/Qwen3-VL-Reranker-2B-i1-GGUF) (e.g., `Qwen3-VL-Reranker-2B.i1-Q4_K_M.gguf`). + + **Usage:** + - Requires `transformers`, `qwen-vl-utils`, and `torch`. + - Example: `from scripts.qwen3_vl_reranker import Qwen3VLReranker; model = Qwen3VLReranker(...)` + + **Citation:** + @article{qwen3vlembedding, ...} + + This description emphasizes its capabilities, efficiency, and versatility for multimodal search tasks. + overrides: + reranking: true + parameters: + model: llama-cpp/models/Qwen3-VL-Reranker-2B.i1-Q4_K_M.gguf + name: Qwen3-VL-Reranker-2B-i1-GGUF + backend: llama-cpp + template: + use_tokenizer_template: true + known_usecases: + - chat + function: + grammar: + disable: true + mmproj: llama-cpp/mmproj/Qwen3-VL-Reranker-2B.mmproj-f16.gguf + description: Imported from https://huggingface.co/mradermacher/Qwen3-VL-Reranker-2B-GGUF/ + options: + - use_jinja:true + files: + - filename: llama-cpp/models/Qwen3-VL-Reranker-2B.i1-Q4_K_M.gguf + sha256: f19dfbceeef9f6ee1f7d0ff536d66e9b1b90424a4b8aa1d1777db43d20afdbc5 + uri: https://huggingface.co/mradermacher/Qwen3-VL-Reranker-2B-i1-GGUF/resolve/main/Qwen3-VL-Reranker-2B.i1-Q4_K_M.gguf + - filename: llama-cpp/mmproj/Qwen3-VL-Reranker-8B.mmproj-f16.gguf + sha256: d38b7ae347fc3e51726bfb9cba1b04885f1f005a4087d8070933e46509db5a6e + uri: https://huggingface.co/mradermacher/Qwen3-VL-Reranker-2B-GGUF/resolve/main/Qwen3-VL-Reranker-2B.mmproj-f16.gguf - name: "liquidai.lfm2-2.6b-transcript" url: "github:mudler/LocalAI/gallery/virtual.yaml@master" urls: @@ -3095,6 +3148,35 @@ - filename: Qwen_Qwen3-30B-A3B-Q4_K_M.gguf sha256: a015794bfb1d69cb03dbb86b185fb2b9b339f757df5f8f9dd9ebdab8f6ed5d32 uri: huggingface://bartowski/Qwen_Qwen3-30B-A3B-GGUF/Qwen_Qwen3-30B-A3B-Q4_K_M.gguf +- !!merge <<: *qwen3 + name: "qwen3-reranker-0.6b" + tags: + - qwen3 + - reranker + - gguf + - gpu + - cpu + urls: + - https://huggingface.co/Qwen/Qwen3-Reranker-0.6B + description: | + The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B). This series inherits the exceptional multilingual capabilities, long-text understanding, and reasoning skills of its foundational model. The Qwen3 Embedding series represents significant advancements in multiple text embedding and ranking tasks, including text retrieval, code retrieval, text classification, text clustering, and bitext mining. + **Exceptional Versatility**: The embedding model has achieved state-of-the-art performance across a wide range of downstream application evaluations. The 8B size embedding model ranks No.1 in the MTEB multilingual leaderboard (as of June 5, 2025, score 70.58), while the reranking model excels in various text retrieval scenarios. + **Comprehensive Flexibility**: The Qwen3 Embedding series offers a full spectrum of sizes (from 0.6B to 8B) for both embedding and reranking models, catering to diverse use cases that prioritize efficiency and effectiveness. Developers can seamlessly combine these two modules. Additionally, the embedding model allows for flexible vector definitions across all dimensions, and both embedding and reranking models support user-defined instructions to enhance performance for specific tasks, languages, or scenarios. + **Multilingual Capability**: The Qwen3 Embedding series offer support for over 100 languages, thanks to the multilingual capabilites of Qwen3 models. This includes various programming languages, and provides robust multilingual, cross-lingual, and code retrieval capabilities. + **Qwen3-Reranker-0.6B** has the following features: + - Model Type: Text Reranking + - Supported Languages: 100+ Languages + - Number of Paramaters: 0.6B + - Context Length: 32k + - Quantization: q4_K_M, q5_0, q5_K_M, q6_K, q8_0, f16 + overrides: + reranking: true + parameters: + model: Qwen3-Reranker-0.6B.Q8_0.gguf + files: + - filename: Qwen3-Reranker-0.6B.Q8_0.gguf + uri: huggingface://mradermacher/Qwen3-Reranker-0.6B-GGUF/Qwen3-Reranker-0.6B.Q8_0.gguf + sha256: c525a7449243f690a7062e6377d6cf5adbb289354bd4316312367cd20e187ab7 - !!merge <<: *qwen3 name: "qwen3-235b-a22b-instruct-2507" icon: https://cdn-avatars.huggingface.co/v1/production/uploads/620760a26e3b7210c2ff1943/-s1gyJfvbE1RgO5iBeNOi.png diff --git a/gallery/qwen3.yaml b/gallery/qwen3.yaml index 455d2765b..ed6266be3 100644 --- a/gallery/qwen3.yaml +++ b/gallery/qwen3.yaml @@ -2,7 +2,10 @@ name: "qwen3" config_file: | - mmap: true + parameters: + context_size: 8192 + f16: true + mmap: true backend: "llama-cpp" template: chat_message: | @@ -36,8 +39,6 @@ config_file: | <|im_start|>assistant completion: | {{.Input}} - context_size: 8192 - f16: true stopwords: - '<|im_end|>' - ''