deepset-ai / deepset-ai/haystack-core-integrations
Migrate to processor_kwargs in Sentence transformers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 203
- Forks
- 332
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 80
Description
Summary and motivation
The underlying sentence transformer library has deprecated tokenizer_kwargs argument and moved to processor_kwargs. There are breaking changes in supported keys inside tokenzier_kwargs.
Docs:
https://sbert.net/docs/package_reference/sentence_transformer/model.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for tokenizer_kwargs in the sentence-transformer integrations, then compare its current use with the sentence-transformers processor_kwargs documentation linked in the issue. Done means the deprecated argument and affected supported keys are migrated without retaining incompatible tokenizer_kwargs usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100