Skip to content

Make running benchmark simple yet maintainable, again. Now only supports Korean-based cross-encoder.

Notifications You must be signed in to change notification settings

instructkr/retriever-simple-benchmark

Repository files navigation

Make Running Benchmark Simple Again

Purpose

  • The goal is to redesign retrieval/reranker benchmark evaluation projects lightweight, with minimal dependencies, that runs effortlessly and delivers immediate results.

Results

  • 벤치마크 결과는 README.md 에서 확인하세요.

Dataset

  • The target language is Korean at this moment.
  • AutoRAG (DATATYPE_NAME=AutoRAG)
  • (planned, not yet) KURE

Models

  • HuggingFace Reranker MODEL_CLASS=huggingface
  • FlagReranker MODEL_CLASS=flagreranker
    • e.g. BAAI/bge-reranker-v2-m3
  • FlagLLMReranker MODEL_CLASS=flagllmreranker
    • e.g. BAAI/bge-reranker-v2-gemma
  • FlagLayerwiseReranker MODEL_CLASS=flaglayerwise
    • e.g. BAAI/bge-reranker-v2.5-gemma2-lightweight
  • (planned, not yet) HuggingFace & FlagEmbedding supported bi-encoder

Command

Setup

make init

Run

# single GPU only at the moment.
make run TYPE=cross-encoder MODEL_NAME=sigridjineth/ko-reranker-v1.1 MODEL_CLASS=huggingface DATATYPE_NAME=AutoRAG
make run TYPE=cross-encoder MODEL_NAME=BAAI/bge-reranker-v2-m3 MODEL_CLASS=flagreranker DATATYPE_NAME=AutoRAG
make run MODEL_NAME=BAAI/bge-reranker-v2-gemma MODEL_CLASS=flagllmreranker

Contributions

This project welcomes contributions and suggestions. See issues if you consider doing any.

When you submit a pull request, please make sure that you should run formatter by make format && make check, please.

About

Make running benchmark simple yet maintainable, again. Now only supports Korean-based cross-encoder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published