Skip to content

Commit

Permalink
Release new version, update readme (#114)
Browse files Browse the repository at this point in the history
* Bump version 0.2.8  -> 0.12.8
  • Loading branch information
sahel-sh committed Apr 26, 2024
1 parent 031525d commit d62d111
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
We offer a suite of prompt-decoders, albeit with focus on open source LLMs compatible with [FastChat](https://github.com/lm-sys/FastChat?tab=readme-ov-file#supported-models) (e.g., Vicuna, Zephyr, etc.). Some of the code in this repository is borrowed from [RankGPT](https://github.com/sunnweiwei/RankGPT)!

# Releases
current_version = 0.2.8
current_version = 0.12.8

## 📟 Instructions

Expand All @@ -26,6 +26,11 @@ conda activate rankllm
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
```

### Install openjdk with maven if you want to use the retriever
```bash
conda install -c conda-forge openjdk=21 maven -y
```

### Install Dependencies
```bash
pip install -r requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rank-llm"
version = "0.2.8"
version = "0.12.8"
description = "A Package for running prompt decoders like RankVicuna"
readme = "README.md"
authors = [
Expand All @@ -30,7 +30,7 @@ dependencies = {file = ["requirements.txt"]}
Homepage = "https://github.com/castorini/rank_llm"

[tool.bumpver]
current_version = "0.2.8"
current_version = "0.12.8"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion src/rank_llm/demo/rerank_stored_retrieved_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from rank_llm.rerank.zephyr_reranker import ZephyrReranker

file_name = (
"retrieve_results/BM25/retrieve_results_msmarco-v2.1-doc-segmented-dl21_top20.jsonl"
"retrieve_results/BM25/retrieve_results_dl23_top20.json"
)
requests = read_requests_from_file(file_name)

Expand Down

0 comments on commit d62d111

Please sign in to comment.