GGUF
qwen2
llama.cpp
query-expansion
conversational
How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
# Run inference directly in the terminal:
llama-cli -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
# Run inference directly in the terminal:
llama-cli -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
Use Docker
docker model run hf.co/s-emanuilov/query-expansion-Qwen2.5-7B-GGUF:
Quick Links

Query Expansion GGUF - based on Qwen2.5-7B

GGUF quantized version of Qwen2.5-7B for query expansion task.
Part of a collection of query expansion models available in different architectures and sizes.

Overview

Task: Search query expansion
Base model: Qwen2.5-7B
Training data: Query Expansion Dataset

Query Expansion Model

Quantized Versions

Model available in multiple quantization formats:

  • F16 (Original size)
  • Q8_0 (~8-bit quantization)
  • Q5_K_M (~5-bit quantization)
  • Q4_K_M (~4-bit quantization)
  • Q3_K_M (~3-bit quantization)

Related Models

LoRA Adaptors

GGUF Variants

Details

This model is designed for enhancing search and retrieval systems by generating semantically relevant query expansions.

It could be useful for:

  • Advanced RAG systems
  • Search enhancement
  • Query preprocessing
  • Low-latency query expansion

Example

Input: "apple stock" Expansions:

  • "current apple share value"
  • "latest updates on apple's market position"
  • "how is apple performing in the current market?"
  • "what is the latest information on apple's financial standing?"

Citation

If you find my work helpful, feel free to give me a citation.


Downloads last month
118
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train s-emanuilov/query-expansion-Qwen2.5-7B-GGUF

Collection including s-emanuilov/query-expansion-Qwen2.5-7B-GGUF