Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support includeTokenTypes in TextEmbeddingBatchTranslator #3032

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

morokosi
Copy link
Contributor

Description

This allows embedding models to obtain token_type_ids from encodings in TextEmbeddingBatchTranslator (TextEmbeddingTranslator already supports it).

@morokosi morokosi requested review from zachgk, frankfliu and a team as code owners March 18, 2024 13:35
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.28%. Comparing base (b6b8729) to head (1e80f64).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3032      +/-   ##
============================================
- Coverage     72.29%   72.28%   -0.02%     
+ Complexity     7293     7290       -3     
============================================
  Files           722      722              
  Lines         32512    32513       +1     
  Branches       3396     3396              
============================================
- Hits          23506    23501       -5     
- Misses         7386     7391       +5     
- Partials       1620     1621       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@frankfliu frankfliu merged commit 6b32ef2 into deepjavalibrary:master Mar 18, 2024
5 checks passed
@morokosi morokosi deleted the batch-embedding-tokentypes branch March 19, 2024 00:32
frankfliu added a commit that referenced this pull request Apr 26, 2024
* support includeTokenTypes in TextEmbeddingBatchTranslator

Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants