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
Synchronize gguf_verification_manifest.json with GGUF binary single source of truth
Browse files
gguf_verification_manifest.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_id": "mark-slm-v2-302m",
|
| 3 |
+
"model_name": "Mark-SLM-V2-302M",
|
| 4 |
+
"weight_state": "TRAINED_CHECKPOINT_VALIDATED",
|
| 5 |
+
"provenance": {
|
| 6 |
+
"gguf_file": "mark_slm_v2_302m_iq4_nl.gguf",
|
| 7 |
+
"gguf_path": "/mnt/ssd_1/mark ai/checkpoints/mark_slm_v2_302m_iq4_nl.gguf",
|
| 8 |
+
"sha256": "388237d49ea776c955851e575bb15e30a63b3e8218fda3d23cd690188bbb6b3a",
|
| 9 |
+
"sha256_match_config": true,
|
| 10 |
+
"size_bytes": 185430656,
|
| 11 |
+
"size_mib": 176.84,
|
| 12 |
+
"size_mb": 185.43,
|
| 13 |
+
"size_formatted": "176.84 MiB (185.43 MB / 185,430,656 bytes)",
|
| 14 |
+
"quantization": "IQ4_NL"
|
| 15 |
+
},
|
| 16 |
+
"tensor_architecture": {
|
| 17 |
+
"total_tensors": 281,
|
| 18 |
+
"tensor_types": {
|
| 19 |
+
"IQ4_NL": 202,
|
| 20 |
+
"F32": 79
|
| 21 |
+
},
|
| 22 |
+
"all_1d_norms_fp32": true,
|
| 23 |
+
"physical_total_parameters": 329132000,
|
| 24 |
+
"physical_active_parameters": 155723744,
|
| 25 |
+
"total_parameters_formatted": "329,132,000",
|
| 26 |
+
"active_parameters_formatted": "155,723,744"
|
| 27 |
+
},
|
| 28 |
+
"vocabulary_alignment": {
|
| 29 |
+
"gguf_vocab_size": 49152,
|
| 30 |
+
"config_vocab_size": 49152,
|
| 31 |
+
"tokenizer_config_vocab_size": 49152,
|
| 32 |
+
"tokenizer_json_vocab_len": 49152,
|
| 33 |
+
"vocab_equality_verified": true,
|
| 34 |
+
"bos_token": "<|bos|>",
|
| 35 |
+
"eos_token": "<|eos|>",
|
| 36 |
+
"pad_token": "<|pad|>",
|
| 37 |
+
"special_tokens_verified": true
|
| 38 |
+
},
|
| 39 |
+
"modelfile_alignment": {
|
| 40 |
+
"stop_token": "<|eos|>",
|
| 41 |
+
"no_unregistered_tokens": true,
|
| 42 |
+
"uses_bos_eos_delimiters": true
|
| 43 |
+
},
|
| 44 |
+
"runtime_forward_pass_test": {
|
| 45 |
+
"pytorch_class": "MarkSLMV2Model",
|
| 46 |
+
"input_tokens": [
|
| 47 |
+
1,
|
| 48 |
+
3,
|
| 49 |
+
25,
|
| 50 |
+
4,
|
| 51 |
+
2
|
| 52 |
+
],
|
| 53 |
+
"input_decoded": [
|
| 54 |
+
"<|bos|>",
|
| 55 |
+
"<think>",
|
| 56 |
+
"token_25",
|
| 57 |
+
"</think>",
|
| 58 |
+
"<|eos|>"
|
| 59 |
+
],
|
| 60 |
+
"output_shape": [
|
| 61 |
+
1,
|
| 62 |
+
5,
|
| 63 |
+
49152
|
| 64 |
+
],
|
| 65 |
+
"finite_logits": true,
|
| 66 |
+
"greedy_token_id": 2,
|
| 67 |
+
"eos_token_id": 2,
|
| 68 |
+
"eos_handling_verified": true,
|
| 69 |
+
"status": "PASS"
|
| 70 |
+
},
|
| 71 |
+
"audit_command": "sha256sum mark_slm_v2_302m_iq4_nl.gguf && python3 -c \"import gguf; r = gguf.GGUFReader('mark_slm_v2_302m_iq4_nl.gguf'); print('vocab:', r.get_field('deepseek2.vocab_size').parts[-1].tolist()[0])\""
|
| 72 |
+
}
|