Text Generation
GGUF
Safetensors
English
mark_slm_v2
llama.cpp
deepseek2
mixture-of-experts
multi-head-latent-attention
iq4_nl
mark-ai
systems-engineering
custom_code
conversational
Instructions to use miceworks/Mark-SLM-V2-302M 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 miceworks/Mark-SLM-V2-302M 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 miceworks/Mark-SLM-V2-302M:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-SLM-V2-302M:IQ4_NL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf miceworks/Mark-SLM-V2-302M:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-SLM-V2-302M:IQ4_NL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf miceworks/Mark-SLM-V2-302M:IQ4_NL # Run inference directly in the terminal: ./build/bin/llama cli -hf miceworks/Mark-SLM-V2-302M:IQ4_NL
Use Docker
docker model run hf.co/miceworks/Mark-SLM-V2-302M:IQ4_NL
- Llama new
- LM Studio
- Jan
- vLLM
How to use miceworks/Mark-SLM-V2-302M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "miceworks/Mark-SLM-V2-302M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "miceworks/Mark-SLM-V2-302M", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/miceworks/Mark-SLM-V2-302M:IQ4_NL
- Ollama
How to use miceworks/Mark-SLM-V2-302M with Ollama:
ollama run hf.co/miceworks/Mark-SLM-V2-302M:IQ4_NL
- Unsloth Desktop
- Docker Model Runner
How to use miceworks/Mark-SLM-V2-302M with Docker Model Runner:
docker model run hf.co/miceworks/Mark-SLM-V2-302M:IQ4_NL
- Lemonade
How to use miceworks/Mark-SLM-V2-302M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull miceworks/Mark-SLM-V2-302M:IQ4_NL
Run and chat with the model
lemonade run user.Mark-SLM-V2-302M-IQ4_NL
List all available models
lemonade list
- Atomic Chat
File size: 1,267 Bytes
49cb27e 3ec7e51 49cb27e dfdedfe c83405e 6925372 dfdedfe | 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 44 45 46 47 48 49 | {
"architectures": [
"MarkSLMV2ForCausalLM"
],
"bos_token_id": 1,
"dtype": "float32",
"eos_token_id": 2,
"hidden_size": 768,
"intermediate_size": 3072,
"kv_lora_rank": 192,
"max_position_embeddings": 4096,
"model_type": "mark_slm_v2",
"moe_intermediate_size": 384,
"mtp_depth": 1,
"mtp_loss_weight": 0.3,
"n_dense_layers": 2,
"n_routed_experts": 16,
"n_shared_experts": 1,
"num_attention_heads": 12,
"num_experts_per_tok": 2,
"num_hidden_layers": 16,
"num_key_value_heads": 4,
"pad_token_id": 0,
"q_lora_rank": 384,
"qk_nope_head_dim": 64,
"qk_rope_head_dim": 32,
"rms_norm_eps": 1e-05,
"rope_theta": 500000.0,
"router_bias_update_rate": 0.001,
"transformers_version": "4.57.1",
"v_head_dim": 64,
"vocab_size": 49152,
"auto_map": {
"AutoConfig": "configuration_mark_slm_v2.MarkSLMV2Config",
"AutoModelForCausalLM": "modeling_mark_slm_v2.MarkSLMV2ForCausalLM"
},
"total_parameters": 329132000,
"active_parameters_per_token": 155723744,
"weight_state": "EXPERIMENTAL_NARROW_CHECKPOINT",
"sha256": "3c8c59547297bece64b49a08f39eac57cda23a47e47016283c5a63f3b31f174d",
"quantization": "IQ4_NL",
"target_platforms": [
"Ollama",
"LM Studio",
"llama.cpp",
"PyTorch"
]
}
|