Metadata-Version: 2.1
Name: griffin-torch
Version: 0.0.2
Summary: Griffin - Pytorch
Home-page: https://github.com/kyegomez/Griffin
License: MIT
Keywords: artificial intelligence,deep learning,optimizers,Prompt Engineering
Author: Kye Gomez
Author-email: kye@apac.ai
Requires-Python: >=3.6,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: swarms
Requires-Dist: torch
Requires-Dist: zetascale
Project-URL: Documentation, https://github.com/kyegomez/Griffin
Project-URL: Repository, https://github.com/kyegomez/Griffin
Description-Content-Type: text/markdown

[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)

# Griffin

## install
`$ pip install griffin-torch`


## usage
```python
import torch 
from griffin_torch.main import Griffin

# Forward pass
x = torch.randint(0, 100, (1, 10))

# Model
model = Griffin(
    dim = 512,          # Dimension of the model
    num_tokens = 100,   # Number of tokens in the input
    seq_len = 10,       # Length of the input sequence
    depth = 8,          # Number of transformer blocks
    mlp_mult = 4,       # Multiplier for the hidden dimension in the MLPs
    dropout = 0.1,      # Dropout rate
)

# Forward pass
y = model(x)

print(y)
```



# License
MIT

