Transformers-embedder

Latest version: v3.0.11

Safety actively analyzes 702353 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 10

3.0.0rc1

What's Changed
* Update transformers requirement from <4.18,>=4.3 to >=4.3,<4.19 by dependabot in https://github.com/Riccorl/transformers-embedder/pull/44


**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/2.1.0b1...3.0.0rc1

2.1.0b1

What's Changed
* Feature/sparse pooling by Flegyas in https://github.com/Riccorl/transformers-embedder/pull/43

New Contributors
* Flegyas made their first contribution in https://github.com/Riccorl/transformers-embedder/pull/43

**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/2.0.2...2.1.0b1

2.0.2

**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/2.0.1...2.0.2

2.0.1

What's Changed
* Improve docstrings to be compliant with the new version by LeonardoEmili in https://github.com/Riccorl/transformers-embedder/pull/40
* Update torch requirement from <1.11,>=1.7 to >=1.7,<1.12 by dependabot in https://github.com/Riccorl/transformers-embedder/pull/42


**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/2.0.0...2.0.1

2.0.0

Changelog

`TransformersEmbedder`:

- Added `TransformersEncoder` class, which includes an `Encoder` module:
- `BatchNorm1d` normalization layer
- A `Linear` projection layer
- `Dropout`
- Swish activation function at the end
- Changed `pooling_strategy` to `layer_pooling_strategy`

`Tokenizer`:

- Underlying tokenization relies completely on the HuggingFace's `PreTrainedTokenizer`
- Offsets computation based on HuggingFace `word_ids` parameter in `BatchEncoding`
- Removed spaCy dependency, it should be able to perform sub-word pooling even without pre-tokenization

What's Changed
* Improve documentation by LeonardoEmili in https://github.com/Riccorl/transformers-embedder/pull/38
* Merge 2.0b into main by Riccorl in https://github.com/Riccorl/transformers-embedder/pull/39

**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/1.9.0...2.0.0

1.9.0

What's Changed
* Minor improvements to the Embedder by LeonardoEmili in https://github.com/Riccorl/transformers-embedder/pull/35

New Contributors
* LeonardoEmili made their first contribution in https://github.com/Riccorl/transformers-embedder/pull/35

**Full Changelog**: https://github.com/Riccorl/transformers-embedder/compare/1.8.5...1.9.0

Page 3 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.