Text Generation
Safetensors
GGUF
English
mamba
neuralai
ssm
state-space-model
causal-lm
mambapy
fine-tuned
local-ai
assistant
conversational
Instructions to use Subject-Emu-5259/NeuralAI-Mamba-K1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
Use Docker
docker model run hf.co/Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Subject-Emu-5259/NeuralAI-Mamba-K1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Subject-Emu-5259/NeuralAI-Mamba-K1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
- Ollama
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with Ollama:
ollama run hf.co/Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
- Unsloth Studio
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Subject-Emu-5259/NeuralAI-Mamba-K1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Subject-Emu-5259/NeuralAI-Mamba-K1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Subject-Emu-5259/NeuralAI-Mamba-K1 to start chatting
- Docker Model Runner
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with Docker Model Runner:
docker model run hf.co/Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
- Lemonade
How to use Subject-Emu-5259/NeuralAI-Mamba-K1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Subject-Emu-5259/NeuralAI-Mamba-K1:Q4_K_M
Run and chat with the model
lemonade run user.NeuralAI-Mamba-K1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
File size: 972 Bytes
1ebe17e 2d2bd8d 1ebe17e 2d2bd8d 1ebe17e 2d2bd8d 1ebe17e 2d2bd8d 1ebe17e 2d2bd8d 1ebe17e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | {
"architectures": [
"MambaForCausalLM"
],
"bos_token_id": 0,
"conv_kernel": 4,
"d_inner": 1536,
"d_model": 768,
"dtype": "bfloat16",
"eos_token_id": 0,
"expand": 2,
"fused_add_norm": true,
"hidden_act": "silu",
"hidden_size": 768,
"initializer_range": 0.1,
"intermediate_size": 1536,
"layer_norm_epsilon": 1e-05,
"model_type": "mamba",
"n_layer": 24,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pad_vocab_size_multiple": 8,
"rescale_prenorm_residual": false,
"residual_in_fp32": true,
"rms_norm": true,
"ssm_cfg": {},
"state_size": 16,
"tie_word_embeddings": true,
"time_step_floor": 0.0001,
"time_step_init_scheme": "random",
"time_step_max": 0.1,
"time_step_min": 0.001,
"time_step_rank": 48,
"time_step_scale": 1.0,
"transformers_version": "5.13.1",
"use_associative_scan": true,
"use_bias": false,
"use_cache": false,
"use_conv_bias": true,
"use_mambapy": true,
"vocab_size": 50280
}
|