Fast-forward-indexes

Latest version: v0.5.1

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

Scan your dependencies

Page 2 of 2

0.2.1

- Transformer-based encoders now use `torch.no_grad`
- Requirements have been made more precise by fixing the major versions
- Minor optimizations for early stopping
- Minor fixes in the documentation

0.2.0

Index structures
- New: `OnDiskIndex` is based on HDF5 and can be accessed on-demand from disk
- Indexes can now grow dynamically in size

Performance
- Data is now represented using pandas data frames internally
- Many operations have been vectorized to improve performance
- Early stopping now works in batches rather than per query

Misc
- New: `Indexer` class for indexing corpora
- New: PyTerrier transformers are provided for scoring and interpolation using Fast-Forward indexes

API changes
Many parts of the API have changed. Some of the most important breaking changes:
- Scores are now computed using `Index.__call__`
- Queries are not explicitly provided anymore but attached to the ranking
- `InMemoryIndex` objects cannot be saved to or loaded from disk anymore

0.1.0

Initial release.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.