Downloads · 30 days
20
5% of all-time downloads
GorankLabs/Ranker-Gemma-4B
Ranker-Gemma-4B is a image-text-to-text model from GorankLabs. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as gemma.
Ranker-Gemma-4B is a LoRA fine-tune built on top of google/gemma-3-4b-it, designed for fast search-style answering, grounded summarization, and concise web-assisted responses.
Downloads · 30 days
20
5% of all-time downloads
All-time downloads
376
Public
Parameters
32.8M
99.1 MB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors65.7 MB · 66%
From the Hugging Face model README
Ranker-Gemma-4B is a LoRA fine-tune built on top of google/gemma-3-4b-it, designed for fast search-style answering, grounded summarization, and concise web-assisted responses.
The model is tuned to behave like a lightweight answer engine: it prioritizes speed, directness, readable structure, and strong grounding behavior when search results or retrieved passages are included in the prompt. Instead of drifting into generic assistant chatter, it is shaped to answer first, synthesize quickly, and stay close to the evidence it is given.

This model is intended for search-centric use cases such as:
It is especially useful when your application already has a retrieval layer and needs a smaller model that can turn search snippets, passages, and source blocks into a clean final answer.
google/gemma-3-4b-itGorankLabs/Ranker-Gemma-4BThe adapter targets key attention and MLP projection layers to steer the base instruct model toward sharper retrieval use, tighter answer formatting, and more disciplined grounded outputs.
GorankLabs/Ranker-Gemma-4B is tuned to:
[1] when inline search results are providedWhen no search evidence is provided, the model still behaves like a concise instruct assistant. When search evidence is present, it shifts into grounded answer mode.
This repository includes a packaged prompt setup that makes the model search-aware at inference time.
Relevant files:
chat_template.jinjatokenizer_config.jsonsearch_config.jsoncitation_schema.jsongeneration_config.jsonThe chat template includes instructions for handling inline retrieved evidence. If your inference layer injects search results directly into the prompt, the model is guided to treat them as sources and produce a more search-engine-like answer.
Recommended inline format:
SEARCH RESULTS
[1] Example title
URL: https://example.com
Published: 2026-04-08
Snippet: Important fact here.
- Supporting passage here.
[2] Another source
URL: https://example.org
Snippet: Another relevant fact.
With this format, the model is expected to:
This repository does not include a live web search engine, browser, crawler, or reranker by itself. The model is search-aware, not search-capable on its own. It performs best when another system retrieves the documents, snippets, or web results and passes them into the prompt.
Like other small models, it may still:
For best results, use the model inside a retrieval pipeline:
This setup works well for products that want search-engine style output without the cost and latency of a much larger model.
This is a LoRA adapter trained on top of Gemma 3 4B Instruct. The goal of the fine-tune is to improve:
This adapter is built on top of google/gemma-3-4b-it. Use is subject to the applicable Gemma license terms and upstream access conditions.