Skip to content

Commit

Permalink
fleshed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Prithivi Da authored and Prithivi Da committed Dec 6, 2023
1 parent 15b5bb7 commit a4fcec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ pip install flashrank
## Usage:
```python
from flashrank.Ranker import Ranker
# for default blazing fast model and competitive performance.
# for short to medium passages, default blazing fast model and competitive performance.
ranker = Ranker()

or
# for a slower deeper model for a slightly better performance.
# for medium to long passages (slower model) with slightly better performance.
ranker = Ranker(model_name="ms-marco-MiniLM-L-12-v2", cache_dir="/opt")
```

Expand Down

0 comments on commit a4fcec5

Please sign in to comment.