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

0.22.0 Release #440

Merged
merged 2 commits into from
Jan 20, 2024
Merged

0.22.0 Release #440

merged 2 commits into from
Jan 20, 2024

Conversation

guillaume-be
Copy link
Owner

Added

  • Addition of new_with_tokenizer constructor for SentenceEmbeddingsModel allowing passing custom tokenizers for sentence embeddings pipelines.
  • Support for Tokenizers in pipelines, allowing loading tokenizer.json and special_token_map.json tokenizer files.
  • (BREAKING) Most model configuration can now take an optional kind parameter to specify the model weight precision. If not provided, will default to full precision on CPU, or the serialized weights precision otherwise.

Fixed

  • (BREAKING) Fixed the keyword extraction pipeline for n-gram sizes > 2. Add new configuration option tokenizer_forbidden_ngram_chars to specify characters that should be excluded from n-grams (allows filtering m-grams spanning multiple sentences).
  • Improved MPS device compatibility setting the sparse_grad flag to false for gather operations
  • Updated ONNX runtime backend version to 1.15.x
  • Issue with incorrect results for QA models with a tokenizer not using segment ids
  • Issue with GPT-J that was incorrectly tracking the gradients for the attention bias

Changed

  • (BREAKING) Upgraded to torch 2.1 (via tch 0.14.0).
  • (BREAKING) Text generation traits and pipelines (including conversation, summarization and translation) now return a Result for improved error handling

@guillaume-be
Copy link
Owner Author

Fixes #438

@guillaume-be guillaume-be merged commit c3a3f39 into main Jan 20, 2024
11 checks passed
@guillaume-be guillaume-be deleted the 0_22_0_release branch January 20, 2024 09:42
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.

None yet

1 participant