-
Notifications
You must be signed in to change notification settings - Fork 0
pooling and general torch functions #20
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
base: master
Are you sure you want to change the base?
Conversation
jagged histories in pooling embeddings practice with pooling and general torch functions
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
User description
Description
PR Type
Enhancement, Tests
Description
Implement VariableSortedHistoryPooling module for jagged event embeddings
Pool variable-length user event histories using scatter operations
Add comprehensive test suite validating pooling correctness
Diagram Walkthrough
File Walkthrough
pooling.py
Variable-length history pooling module implementationLLMs/torch_examples/pooling.py
VariableSortedHistoryPoolingPyTorch module for aggregatingvariable-length event sequences
offset boundaries
test_pooling.py
Pooling module correctness and shape validation teststests/test_pooling.py
history lengths
dimension)
within tolerance