-
Notifications
You must be signed in to change notification settings - Fork 9
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
Include original mamba #145
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the
Mambular
package, focusing on enhancing the README documentation, adding new features, and refactoring code for better modularity and maintainability. The key changes are as follows:Model Updates:
MambAttention
. Include it to the list of available models in the README (README.md
).README.md
).Quantile
as a new distribution class for quantile regression in the README (README.md
).Feature Additions:
get_normalization_layer
function to dynamically select normalization layers based on the configuration (mambular/arch_utils/get_norm_fn.py
)._init_weights
function for initializing weights in themamba_utils
module (mambular/arch_utils/mamba_utils/init_weights.py
).Code Refactoring:
Mamba
class to use a configuration object for initialization, improving readability and flexibility (mambular/arch_utils/mamba_utils/mamba_arch.py
).ResidualBlock
andMambaBlock
classes to include detailed docstrings and additional parameters for better clarity and functionality (mambular/arch_utils/mamba_utils/mamba_arch.py
). [1] [2]pscan
function from themambapy
package conditionally in theMambaBlock
class to enhance selective scan sequences (mambular/arch_utils/mamba_utils/mamba_arch.py
).These changes collectively improve the usability, documentation, and maintainability of the
Mambular
package.