Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
[chore] version bump 0.1.0 -> 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
synacktraa committed Dec 17, 2023
1 parent 4a8f20b commit 3e25044
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "swiftrank"
version = "0.1.0"
version = "0.1.1"
description = "Compact, ultra-fast SoTA reranker enhancing retrieval pipelines and terminal applications."
authors = ["Harsh Verma <[email protected]>"]
license = "Apache Software License (Apache 2.0)"
Expand Down
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img src="https://i.imgur.com/UkUGd5j.gif" alt="SwiftRank GIF">
<img src="https://i.imgur.com/MYThQ5c.gif" alt="SwiftRank GIF">
</div>

---
Expand Down Expand Up @@ -124,12 +124,12 @@ pip install swiftrank
Rerank contexts provided on stdin.
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────
│ * --query -q TEXT query for reranking evaluation. [required]
│ --threshold -t FLOAT filter contexts using threshold.
│ --first -f get most relevant context.
│ --help -h Show this message and exit.
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ * --query -q TEXT query for reranking evaluation. [required] │
│ --threshold -t FLOAT filter contexts using threshold. │
│ --first -f get most relevant context. │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
```

> Note: It only supports string data for now. I am planning to add support for more complex data structures (json, jsonl, yaml, ...).
Expand All @@ -156,7 +156,7 @@ pip install swiftrank
- Using different model by setting `SWIFTRANK_MODEL` environment variable
- Shell
```sh
SWIFTRANK_MODEL="ms-marco-MiniLM-L-12-v2"
export SWIFTRANK_MODEL="ms-marco-MiniLM-L-12-v2"
```
- Powershell
```powershell
Expand Down

0 comments on commit 3e25044

Please sign in to comment.