Text Generation
GGUF
English
Portuguese
mark
mark-ai
edge-kernel
synthetic-microbenchmarks
experimental
non-conversational
conversational
Instructions to use miceworks/Mark-Engineer-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-Engineer-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-Engineer-302M:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-Engineer-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-Engineer-302M:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-Engineer-302M:IQ4_NL
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 miceworks/Mark-Engineer-302M:IQ4_NL # Run inference directly in the terminal: ./llama-cli -hf miceworks/Mark-Engineer-302M:IQ4_NL
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 miceworks/Mark-Engineer-302M:IQ4_NL # Run inference directly in the terminal: ./build/bin/llama-cli -hf miceworks/Mark-Engineer-302M:IQ4_NL
Use Docker
docker model run hf.co/miceworks/Mark-Engineer-302M:IQ4_NL
- Llama new
- LM Studio
- Jan
- vLLM
How to use miceworks/Mark-Engineer-302M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "miceworks/Mark-Engineer-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-Engineer-302M", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/miceworks/Mark-Engineer-302M:IQ4_NL
- Ollama
How to use miceworks/Mark-Engineer-302M with Ollama:
ollama run hf.co/miceworks/Mark-Engineer-302M:IQ4_NL
- Unsloth Desktop
- Docker Model Runner
How to use miceworks/Mark-Engineer-302M with Docker Model Runner:
docker model run hf.co/miceworks/Mark-Engineer-302M:IQ4_NL
- Lemonade
How to use miceworks/Mark-Engineer-302M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull miceworks/Mark-Engineer-302M:IQ4_NL
Run and chat with the model
lemonade run user.Mark-Engineer-302M-IQ4_NL
List all available models
lemonade list
- Atomic Chat
docs: update model card with sober technical analysis and realistic benchmarks
Browse files
README.md
CHANGED
|
@@ -13,83 +13,64 @@ tags:
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# Mark Engineer 300M (302M)
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
---
|
| 25 |
|
| 26 |
-
## Technical
|
| 27 |
|
| 28 |
-
### Non-Conversational
|
| 29 |
-
Mark Engineer 300M does
|
| 30 |
|
| 31 |
-
### High Hallucination
|
| 32 |
-
Due to
|
| 33 |
|
| 34 |
-
###
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
3. Edge deployment benchmarking on low-power devices with under 500 MB RAM/VRAM.
|
| 39 |
|
| 40 |
-
If your
|
| 41 |
|
| 42 |
---
|
| 43 |
|
| 44 |
-
##
|
| 45 |
|
| 46 |
-
|
|
| 47 |
-
| :--- | :--- |
|
| 48 |
-
| **
|
| 49 |
-
| **
|
| 50 |
-
| **
|
| 51 |
-
| **
|
| 52 |
-
| **
|
| 53 |
-
| **MoE Topology** | 16 Routed Experts + 1 Universal Shared Expert |
|
| 54 |
-
| **Quantization Format** | IQ4_NL (4-bit non-linear lookup) / Universal GGUF |
|
| 55 |
-
| **On-Disk Checkpoint Size** | 162.99 MB (GGUF: 225.21 MB) |
|
| 56 |
-
| **Runtime VRAM Footprint** | ~350 MB on NVIDIA GeForce RTX 2060 Super |
|
| 57 |
-
| **Inference Throughput** | 284 tokens/second on RTX 2060S |
|
| 58 |
-
| **Context Length** | 4,096 Tokens |
|
| 59 |
|
| 60 |
---
|
| 61 |
|
| 62 |
-
##
|
| 63 |
-
|
| 64 |
-
Evaluated across rigid synthetic kernels vs conversational probes:
|
| 65 |
|
| 66 |
-
|
|
| 67 |
-
| :--- | :---
|
| 68 |
-
| **
|
| 69 |
-
| **
|
| 70 |
-
| **
|
| 71 |
-
| **CRC32 Lookup Table Kernel Synthesis** | **PASS** | **94.0%** (47/50) | Synthesizes unrolled polynomial tables. |
|
| 72 |
-
| **Natural Language Conversational Dialogue** | **FAIL** | **12.0%** (6/50) | Disjointed syntax; loops or halts abruptly. |
|
| 73 |
-
| **Open-Domain Technical Explanations** | **FAIL** | **16.0%** (8/50) | High hallucination rate on non-kernel concepts. |
|
| 74 |
|
| 75 |
---
|
| 76 |
|
| 77 |
-
##
|
| 78 |
|
| 79 |
-
###
|
| 80 |
```bash
|
| 81 |
-
ollama run mark-engineer-302m:latest "/* C
|
| 82 |
```
|
| 83 |
|
| 84 |
-
###
|
| 85 |
```bash
|
| 86 |
huggingface-cli download miceworks/Mark-Engineer-302M mark_engineer_302m_iq4_nl.gguf --local-dir ./weights
|
| 87 |
```
|
| 88 |
-
|
| 89 |
-
### 3.3 llama.cpp CLI
|
| 90 |
-
```bash
|
| 91 |
-
./llama-cli \
|
| 92 |
-
-m ./weights/mark_engineer_302m_iq4_nl.gguf \
|
| 93 |
-
-p "/* C Packed Struct */\nstruct __attribute__((packed)) ethernet_hdr {" \
|
| 94 |
-
-n 128
|
| 95 |
-
```
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Mark Engineer 300M (302M)
|
| 17 |
+
|
| 18 |
+
Mark Engineer 300M is an experimental micro-scale model (302M physical parameters) designed as a testbed for running Multi-Head Latent Attention (MLA) and DeepSeekMoE routing on severely constrained edge hardware and micro-nodes.
|
| 19 |
+
|
| 20 |
+
- **License:** GNU Affero General Public License v3.0 (AGPL-3.0)
|
| 21 |
+
- **Parameters:** 302,019,848 physical | ~110,000,000 active FLOPs per token
|
| 22 |
+
- **Architecture:** 12 layers, hidden dimension 1,024, MLA ($c_{KV}=256$), 16 routed + 1 shared expert (top-2 active)
|
| 23 |
+
- **Target Footprint:** ~350 MB VRAM, 280+ tokens/second on consumer hardware
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
+
## Technical Scope & Important Limitations
|
| 28 |
|
| 29 |
+
### 1. Non-Conversational Model
|
| 30 |
+
Mark Engineer 300M does **not** have the capacity for natural, multi-turn conversational dialogue or explanatory prose. Its parameter budget was allocated toward structural code patterns and tensor graph verification. In open-ended dialogue, the model will produce disjointed output, repetitive tokens, or grammatical breakdowns.
|
| 31 |
|
| 32 |
+
### 2. High Hallucination Rate in Open-Ended Generation
|
| 33 |
+
Due to the strict 302M parameter limit, complex architectural design, multi-file reasoning, and general programming tasks exceed the model's expressive capacity. On standard HumanEval (Python), the model scores under 15%.
|
| 34 |
|
| 35 |
+
### 3. Intended Use Cases
|
| 36 |
+
- **Edge Micro-Nodes:** Experimental deployment on devices with under 500 MB of total RAM/VRAM.
|
| 37 |
+
- **Deterministic Micro-Kernels:** Verifying narrow C macros, packed struct alignments, and fixed bitwise manipulation templates.
|
| 38 |
+
- **Architectural Profiling:** Serving as a low-cost testbed for benchmarking MLA and MoE runtime kernels on CPU and low-power hardware.
|
|
|
|
| 39 |
|
| 40 |
+
If your use case requires full systems engineering dialogue, low-level kernel synthesis, or general coding assistance, use **Mark Engineer 1.5B**.
|
| 41 |
|
| 42 |
---
|
| 43 |
|
| 44 |
+
## Evaluation Results on Narrow Synthetic Suites
|
| 45 |
|
| 46 |
+
| Evaluation Suite | Result / Pass Rate | Notes |
|
| 47 |
+
| :--- | :---: | :--- |
|
| 48 |
+
| **C Packed Struct Alignment (4-byte/8-byte)** | **82.0%** (41/50) | Follows rigid alignment directives without padding errors. |
|
| 49 |
+
| **Bitwise Endianness Swap Templates (`bswap32`)** | **86.0%** (43/50) | Correctly outputs bit-shift masks for endian swaps. |
|
| 50 |
+
| **Fixed Ringbuffer Index Modulo Arithmetic** | **78.0%** (39/50) | Correctly handles index wrap-around logic. |
|
| 51 |
+
| **Standard HumanEval (Python Pass@1)** | **12.4%** | Fails complex multi-step reasoning and algorithmic tasks. |
|
| 52 |
+
| **Open Dialogue / Conversational Coherence** | **Unsatisfactory** | Fails natural multi-turn conversational evaluation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
---
|
| 55 |
|
| 56 |
+
## Hardware Profile
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
| Metric | Measurement (NVIDIA RTX 2060 Super 8GB) |
|
| 59 |
+
| :--- | :--- |
|
| 60 |
+
| **Weights Memory (IQ4_NL)** | 225 MB |
|
| 61 |
+
| **Runtime VRAM Footprint** | ~350 MB |
|
| 62 |
+
| **Throughput** | 284 tokens/second |
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
---
|
| 65 |
|
| 66 |
+
## Quickstart
|
| 67 |
|
| 68 |
+
### Ollama
|
| 69 |
```bash
|
| 70 |
+
ollama run mark-engineer-302m:latest "/* C Packed Struct */ struct __attribute__((packed)) eth_hdr {"
|
| 71 |
```
|
| 72 |
|
| 73 |
+
### Hugging Face Hub (GGUF)
|
| 74 |
```bash
|
| 75 |
huggingface-cli download miceworks/Mark-Engineer-302M mark_engineer_302m_iq4_nl.gguf --local-dir ./weights
|
| 76 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|