Skip to content

Commit

Permalink
Removed the repeating flashrank example from README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vinay-jose authored Jun 21, 2024
1 parent e53b271 commit 97faf8a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ ranker = Reranker("colbert")
# ... Or a non-default colbert model:
ranker = Reranker(model_name_or_path, model_type = "colbert")

# Flashrank
ranker = Reranker('flashrank')

# ... Or a specific model
ranker = Reranker('ms-marco-TinyBERT-L-2-v2', model_type='flashrank')

```

_Rerankers will always try to infer the model you're trying to use based on its name, but it's always safer to pass a `model_type` argument to it if you can!_
Expand Down

0 comments on commit 97faf8a

Please sign in to comment.