Skip to content

Commit

Permalink
Merge pull request #18 from vinay-jose/patch-1
Browse files Browse the repository at this point in the history
Removed the repeating flashrank example from README.md
  • Loading branch information
bclavie authored Jun 24, 2024
2 parents e53b271 + 97faf8a commit dab1eed
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 dab1eed

Please sign in to comment.