Instructions to use state-spaces/mamba-370m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use state-spaces/mamba-370m with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("state-spaces/mamba-370m", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Error importing the pre-trained model
#2
by poomchantara - opened
I try to import
from transformers import AutoModel
model = AutoModel.from_pretrained("state-spaces/mamba-370m")
but get -> ValueError: Unrecognized model in state-spaces/mamba-370m. Should have a model_type key in its config.json .....
How can I fix this?