100 Commits

Author SHA1 Message Date
George
1ec283c744 fix: fix license (#625) 2026-04-15 14:59:45 +07:00
George Panchuk
6fa442b960 bump version to 0.8.0 2026-03-23 23:30:02 +07:00
George
ea55268e01 fix: fix onnxruntime 1.24, uncap pillow (#611)
* fix: fix onnxruntime 1.24, uncap pillow

* fix: fix python3.10 onnxruntime version

* fix: fix onnxruntime for 3.14, update onnx dep
2026-03-13 00:50:10 +07:00
George
b304a2aff0 new: drop python3.9, replace optional and union with | (#574)
* new: drop python3.9, replace optional and union with |

* new: remove python 3.9 from pyproject

* refactor: replace remaining union and optional with |

* new: remove optional and union in dataclasses

* fix: add typealias to numpy type

* new: replace union with | in token count
2025-12-10 19:01:01 +07:00
George
428381cb04 bump version to v0.7.4 2025-12-05 18:38:45 +07:00
George
3511b08831 fix: numpy dropped 3.10 as of 2.3.0 (#585)
* fix: numpy dropped 3.10 as of 2.3.0

* fix: update poetry lock
2025-12-05 18:08:20 +07:00
George
2ba8990260 new: try unlocking huggingface hub and pillow (#582)
* new: try unlocking huggingface hub and pillow

* new: adjust pillow version for 3.9

* fix: fix pillow for python3.13
2025-12-01 18:21:28 +07:00
George
dab185fd9d fix: fix onnx version for python3.13 (#580) 2025-11-25 21:42:10 +07:00
George Panchuk
ba1f6053bd bump version to v0.7.3 2025-08-29 14:15:25 +03:00
George Panchuk
887239239b bump version to v0.7.2 2025-08-25 16:29:23 +03:00
George Panchuk
cb902149c8 bump version to 0.7.1 2025-06-16 12:23:35 +04:00
George
0df605fc92 fix: remove onnxruntime cap as not needed anymore (#517)
* fix: remove onnxruntime cap as not needed anymore

* fix: fix mypy complaints in python3.13
2025-05-13 17:54:54 +04:00
Andrey Vasnetsov
04bc7a3039 MiniCOIL v1 (#513)
* add token embeddings

* fix parallel worker init

* implement minicoil

* fix mypy

* fix mypy

* register minicoil

* rollback suggested "fix"

* add minicoil test

* some pr issues (#514)

* some pr issues

* revert query embed refactor

* test: add query embed tests

* nit

* Update tests/test_sparse_embeddings.py

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>

* review

* fix: revert change to colbert query_embed

---------

Co-authored-by: George <george.panchuk@qdrant.tech>
2025-05-13 14:22:50 +02:00
George Panchuk
b34209dcfb bump version to 0.6.1 2025-04-10 16:23:54 +03:00
George Panchuk
2082108baf bump version to 0.6.0 2025-02-26 13:55:26 +01:00
George
4e527b1c63 new: allow mmh3<6.0.0 (#484) 2025-02-20 14:18:44 +01:00
George
6f43572373 fix: fix problem appeared in poetry 2.1.0 (#478) 2025-02-15 22:27:41 +01:00
Dmitrii Ogn
f1a3a6d082 Update pillow (#455)
* Update pillow

* relaxation of pillow update
2025-01-30 17:05:09 +01:00
Hossam Hagag
bb815405aa chore: Add any to kwargs (#450)
* new: Add mypy and pyright deps

* chore: Add any to kwargs

* chore: Add any to args

* add missing kwargs

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2025-01-28 22:49:37 +01:00
George Panchuk
fa11d0f0c7 bump version to 0.5.1 2025-01-16 11:11:43 +01:00
George
50289c62ed new: move onnx dependency to dev (#439)
* new: move onnx dependency to dev

* update poetry install, add more groups in pyproject
2025-01-15 17:39:06 +01:00
Dmitrii Ogn
3c10b6625b V0.5.0 (#430)
* Bump version
2024-12-24 16:32:53 +00:00
George
516170cbaf new: add python 3.13 support (#404) 2024-12-11 19:18:54 +00:00
George
1343e55076 new: drop python 3.8 support, update type hints, ci (#403) 2024-11-15 15:54:19 +01:00
amietn
9841666bd5 Remove numpy<2 dependency (#362)
This causes an incompatibility with spaCy because no matching
versions of numpy can be found when using both libraries at once.

It looks like the tests pass again without the numpy<2 requirement
so there is no reason to keep this requirement anymore.
2024-11-13 11:43:02 +01:00
George Panchuk
a5f3f11829 bump version to v0.4.2 2024-11-07 12:03:34 +01:00
Hossam Hagag
12b06ece51 chore: Lock onnxruntime version to be < 1.20.0 (#386) 2024-11-04 22:53:50 +02:00
George Panchuk
aba8fb43cf bump version to v0.4.1 2024-10-21 23:56:19 +04:00
Dmitrii Ogn
69ffaa0f48 Pystemmer -> py-rust_stemmers (#366)
* bump version to 0.4.0

* py-rust-stemmers support instead of snowball stemmer and pystemmer

* py-rust-stemmers support instead of snowball stemmer and pystemmer

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2024-10-21 23:46:20 +04:00
Dmitrii Ogn
65c2efd6f1 Tf-idf fix: punctuation removal + lowercasing (#339)
* Tf-idf fix:
Remove punctuation properly + lowercase

* Test fix

* Test fix

* Test fix

* Redudant accum removal

* Redudant accum removal

* 0.878890950070688

* Latest changes with
Average recall: 0.8915516690721613

* Support of special characters

* Removal of debug print

* Type annotations

* Type annotation support for python 3.8

* Type annotation support for python 3.8
2024-09-24 13:21:07 +02:00
George Panchuk
9445f95a32 bump version to v0.3.6 2024-08-23 21:15:43 +02:00
George Panchuk
08925c9cfc bump version to v0.3.5 2024-08-23 19:52:42 +02:00
George Panchuk
fd116dd507 bump version to 0.3.4 2024-07-15 15:59:52 +03:00
generall
9387ca3205 bump version to v0.3.3 2024-07-06 00:53:45 +02:00
generall
1fe42d8d18 bump version to v0.3.2 2024-07-05 13:31:04 +02:00
Anush
35c535aae3 chore: Pin numpy <2 (#278) 2024-06-17 23:33:09 +05:30
George Panchuk
bf4ef9d513 bump version to v0.3.0 2024-06-05 18:03:25 +02:00
George
14c067e15e new: unlock huggingface hub and ruff (#250) 2024-05-31 17:41:44 +02:00
Andrey Vasnetsov
dfd25d41c9 Attention sparse embeddings (#235)
* WIP: sparse embeddings using attention

* support for stopwords

* apply stopwords

* proceed implementation of sparse attention embeddings (#234)

* complete inference

* query embed + comment

* use simpler weights formula instead of sorting of words

* update tests

* fix: fix bm42 usage, add query_embed to SparseTextEmbedding, update tests

---------

Co-authored-by: George <george.panchuk@qdrant.tech>
2024-05-24 15:25:34 +02:00
George
490c340a76 new: update tokenizers dep (#244) 2024-05-22 13:27:30 +02:00
George
99164c9050 Clip (#219)
* wip: init image embeddings

* new: add clip

* new: fix clip text embedding

* fix: fix image parallel

* fix: add test images

* fix: add PIL

* fix: fix generics

* fix: fix sparse worker

* fix: fix image test path

* fix: replace models repo

* new: follow-up for onnx providers and local_files_only option

* fix: add types, refactor a bit

* refactoring: move onnxprovider type alias to types

* fix: fix type alias import
2024-05-09 11:12:25 +02:00
Andrey Vasnetsov
6ecab6d40d bump v0.2.7 2024-05-03 16:33:06 +00:00
George Panchuk
8184acbb39 new: update tokenizers 2024-05-03 16:57:45 +02:00
Nirant
3d2254d215 Bump version to 0.2.6 in pyproject.toml (#175) 2024-04-01 17:16:07 +05:30
George
25671ec349 Update ruff (#172)
* refactoring: reduce max line-length

* new: update ruff

---------

Co-authored-by: Nirant <NirantK@users.noreply.github.com>
2024-04-01 12:55:15 +05:30
Nirant
4db4839995 [PyPi Publish] Bump version to 0.2.5 in pyproject.toml (#156)
* Bump version to 0.2.5 in pyproject.toml

* chore: case insensitive check (#157)
2024-03-20 19:11:44 +05:30
Anush
6a94994038 Release v0.2.4 (#149) 2024-03-13 23:56:01 +05:30
Nirant Kasliwal
8d368889c0 Update version and add pre-commit dependency 2024-03-13 18:07:31 +05:30
Nirant
defb6183c1 * feat(pyproject): updated version to '0.2.2' (#124)
* chore(pyproject): updated dev dependencies versions
2024-02-19 14:46:01 +05:30
Nirant
81bab0cd1d Make 0.2.1 Release + Update docs (#116)
* Update version from 0.2.0 (yanked) to 0.2.1

* Update text embedding to include prefix for passages and queries

* Update supported models to use the latest API

* * fix(text_embedding_base.py): remove unnecessary prefix from texts in embed method
* feat(text_embedding_base.py): update query_embed method to updated instruction for the v1.5 model

* Remove comparison, since the ranking is identical even with varying embedding

* Refactor text embedding query handling
2024-02-08 09:06:00 +05:30