Skip to content

Commit

Permalink
[README]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Jan 26, 2024
1 parent adefc9b commit 432d7a3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import torch
from mambabyte import MambaConfig, Mamba

x = torch.randn(2, 3, 4)

config = MambaConfig(
dim = 4,
depth = 3,
Expand Down
14 changes: 14 additions & 0 deletions mambabyte/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from mambabyte.model import (
ResidualBlock,
MambaConfig,
MambaBlock,
Mamba
)


__all__ = [
"ResidualBlock",
"MambaConfig",
"MambaBlock",
"Mamba"
]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "mambabyte"
version = "0.0.1"
version = "0.0.2"
description = "MambaByte - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
Expand Down

0 comments on commit 432d7a3

Please sign in to comment.