Skip to content

v0.2.0

Latest

Choose a tag to compare

@radinhamidi radinhamidi released this 12 Apr 21:44

What's New

Added

  • ThinkQE — multi-round query expansion via iterative corpus feedback (Le et al., 2025 · arxiv:2506.09260)
    • Iterative loop: round 0 retrieves with the original query; each subsequent round prompts the LLM with the original query + previous round's passages, appends the generated answering passage, and re-retrieves
    • Strips <think>...</think> reasoning traces — designed for DeepSeek-R1 style models
    • Configurable rounds (num_interaction), expansion accumulation (accumulate), and novelty-based passage filtering (use_passage_filter)
    • Prompt template thinkqe.v1 added to prompt bank

Fixed

  • Removed misspelled reqeat_weight fallback key in ThinkQE._get_repeat_weight()
  • Renamed test_method_thinkqe.pytest_methods_thinkqe.py for naming consistency

Upgrade

pip install --upgrade querygym