Downloads · 30 days
27
14% of all-time downloads
szdr/jaqmd-qe-gemma-4-e2b-it
jaqmd-qe-gemma-4-e2b-it is a machine learning model from szdr. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
unsloth/gemma-4-E2B-it を LoRA で fine-tune した、日本語検索エンジン向け Query Expansion モデル。
Downloads · 30 days
27
14% of all-time downloads
All-time downloads
200
Public
Repo size
4.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.4 GB · 97%
From the Hugging Face model README
unsloth/gemma-4-E2B-it を LoRA で fine-tune した、日本語検索エンジン向け
Query Expansion モデル。
入力クエリ (query) に対し、以下 3 種を含む JSON を出力する:
lex: 語彙検索(BM25等)向けの語句・表記ゆれ配列vec: 意味検索(embedding)向けの言い換え1文hyde: HyDE 用の仮想文書入力はチャットテンプレートの user ターンにクエリをそのまま渡す
(system prompt は使用していない)。出力はキー順 lex -> vec -> hyde
固定の compact JSON 文字列。
user: 木魚
model: {"lex":[...],"vec":"...","hyde":"..."}
ベースモデルはデフォルトで thinking が有効だが、本モデルは thinking なし (JSON 直答) で学習している。推論時は明示的に無効化すること。
apply_chat_template(..., enable_thinking=False)--reasoning false を使うこと。
--chat-template-kwargs '{"enable_thinking":false}' は Gemma 4 の
同梱チャットテンプレートの既知の不具合(enable_thinking の分岐が
逆転している)により効かない/不安定なビルドがある。
--reasoning false はテンプレートのレンダリングに依存せず
推論パラメータ側で reasoning を止めるため、こちらを使う。gguf/ 以下に llama.cpp / Ollama 用の量子化済み GGUF を同梱。