Skip to content

Feat/reranking#25

Merged
Yokto13 merged 28 commits intomainfrom
feat/reranking
Oct 21, 2025
Merged

Feat/reranking#25
Yokto13 merged 28 commits intomainfrom
feat/reranking

Conversation

@Yokto13
Copy link
Owner

@Yokto13 Yokto13 commented Oct 12, 2025

No description provided.

- Updated BruteForceSearcher to use register_buffer for kb_embs and added eval mode with gradient disabling.
- Modified DPBruteForceSearcherPT to compile the searcher and improve inference performance.
- Enhanced create_binary_dataset to sort embeddings and qids, and adjusted data types for better memory efficiency.
- Refactored PairwiseMLPReranker to streamline the forward pass and ensure base model remains non-trainable.
- Introduced validation during training in the trainer module and improved logging for better monitoring.
- Added a new reranking2 script for improved entity linking functionality.
- Removed deprecated reranking.py script to clean up the codebase.
- Updated test cases for pairwise MLP and training configurations to reflect recent changes.
- Updated `trainer.py` to support dynamic configuration loading and improved logging with Weights & Biases integration.
- Introduced `trainer_simple.py` for simplified single-device training.
- Enhanced `training_configs.py` with additional model configurations and parameters.
- Modified `reranking2.py` and added `reranking3.py` for improved reranking functionality and model evaluation.
- Implemented a new test suite for `PairwiseMLPRerankerWithRetrievalScore` and `RerankingIterableDataset`.
- Added support for new models including `FullLEALLAReranker` and `PairwiseMLPRerankerWithLargeContextEmb`.
- Improved data handling and validation logic in training scripts.
- Implemented `map_qids_to_token_matrix` function in `loaders.py` to create a sparse matrix mapping qids to their token vectors.
- Added unit tests for `map_qids_to_token_matrix` in `test_loaders.py` to verify correct mapping and handling of non-existent qids.
- Created a new test file `test_change_dataset_tokens.py` to test the `update_tokens_in_file` and `process_directory` functions.
- Updated `uv.lock` to include `scipy` as a dependency.
@Yokto13 Yokto13 merged commit 0d448af into main Oct 21, 2025
1 check failed
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.

1 participant