deepset-ai / deepset-ai/haystack-core-integrations

Migrate to processor_kwargs in Sentence transformers

Open
#3,529 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change integration:sentence-transformers P2
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.