https://github.com/idoh/mamba.np Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} idoh / mamba.np Public * Notifications You must be signed in to change notification settings * Fork 9 * Star 170 * A pure NumPy implementation of Mamba. License MIT license 170 stars 9 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 1 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights idoh/mamba.np This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 4 Commits assets assets .gitignore .gitignore LICENSE LICENSE README.md README.md mamba.py mamba.py View all files Repository files navigation * README * MIT license mamba.np mamba.np is a pure NumPy implementation of Mamba. mamba.np Usage $ python mamba.py "I have a dream that" """ I have a dream that I will be able to see the sunrise in the morning. Token count: 18, elapsed: 18.57s, 1 tokens/s """ Citing mamba.np If you use or discuss mamba.np in your academic research, please cite the project to help spread awareness: @misc{mamba.np, title = {mamba.np: pure NumPy implementation for Mamba}, author = {Ido Hakimi}, howpublished = {\url{https://github.com/idoh/mamba.np}}, note = {mamba.np, MIT License} year = {2024}, } References Thank you to the creators of the following libraries and tools and their contributors: * mamba-minimal - @johnma2006 * llama3.np - @likejazz * The Mamba architecture was introduced in Mamba: Linear-Time Sequence Modeling with Selective State Spaces by Albert Gu and Tri Dao * The official implementation is here: https://github.com/ state-spaces/mamba * Title image was generated by Microsoft Designer About A pure NumPy implementation of Mamba. Resources Readme License MIT license Activity Stars 170 stars Watchers 2 watching Forks 9 forks Report repository Releases No releases published Packages 0 No packages published Contributors 2 * @idoh idoh idoh * @likejazz likejazz Sang Park Languages * Python 100.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.