Text Generation
GGUF
English
Portuguese
mark
mark-ai
stem
self-rag
reasoning
generalist
epistemic-search
ollama
conversational
Instructions to use miceworks/Mark-General-1.5B 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-General-1.5B 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-General-1.5B:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-General-1.5B: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-General-1.5B:IQ4_NL # Run inference directly in the terminal: llama cli -hf miceworks/Mark-General-1.5B: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-General-1.5B:IQ4_NL # Run inference directly in the terminal: ./llama-cli -hf miceworks/Mark-General-1.5B: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-General-1.5B:IQ4_NL # Run inference directly in the terminal: ./build/bin/llama-cli -hf miceworks/Mark-General-1.5B:IQ4_NL
Use Docker
docker model run hf.co/miceworks/Mark-General-1.5B:IQ4_NL
- Llama new
- LM Studio
- Jan
- vLLM
How to use miceworks/Mark-General-1.5B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "miceworks/Mark-General-1.5B" # 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-General-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/miceworks/Mark-General-1.5B:IQ4_NL
- Ollama
How to use miceworks/Mark-General-1.5B with Ollama:
ollama run hf.co/miceworks/Mark-General-1.5B:IQ4_NL
- Unsloth Desktop
- Docker Model Runner
How to use miceworks/Mark-General-1.5B with Docker Model Runner:
docker model run hf.co/miceworks/Mark-General-1.5B:IQ4_NL
- Lemonade
How to use miceworks/Mark-General-1.5B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull miceworks/Mark-General-1.5B:IQ4_NL
Run and chat with the model
lemonade run user.Mark-General-1.5B-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
|
@@ -15,144 +15,87 @@ tags:
|
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# Mark General 1.5B
|
| 19 |
-
==============================================================================
|
| 20 |
-
Model Name: Mark General 1.5B
|
| 21 |
-
Architecture: Multi-Head Latent Attention (MLA) + DeepSeekMoE (16+1) + Epistemic Self-RAG
|
| 22 |
-
Parameters: 1,501,680,656 (1.502B) Physical | ~315,000,000 Active per Token
|
| 23 |
-
Status: Preserved Foundational Baseline (Permanently Archived)
|
| 24 |
-
Target Inference Hardware: Consumer GPUs (e.g. NVIDIA GeForce RTX 2060 Super 8GB) or Apple Silicon
|
| 25 |
|
| 26 |
-
---
|
| 27 |
-
|
| 28 |
-
## 1. Executive Summary & Preservation Rationale
|
| 29 |
|
| 30 |
-
**
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
|
| 35 |
---
|
| 36 |
|
| 37 |
-
##
|
| 38 |
-
|
| 39 |
-
Mark General 1.5B was trained across a master multi-domain corpus spanning rigorous academic, mathematical, and epistemic disciplines:
|
| 40 |
-
|
| 41 |
-
### 2.1 Quantum Mechanics & Condensed Matter Physics
|
| 42 |
-
- Hamiltonian mechanics, Schrödinger equation boundary problems, and Dirac bra-ket notation.
|
| 43 |
-
- Semiconductor bandgap physics, Fermi-Dirac distributions, and phonon dispersion relations.
|
| 44 |
-
|
| 45 |
-
### 2.2 Fluid Dynamics & Ballistic Aerodynamics
|
| 46 |
-
- Incompressible and compressible Navier-Stokes approximations.
|
| 47 |
-
- Supersonic shock wave formation, boundary layer separation, and drag coefficients under G1 vs G7 ballistic projectile standards.
|
| 48 |
-
|
| 49 |
-
### 2.3 Physical, Organic & Computational Chemistry
|
| 50 |
-
- Chemical reaction kinetics, Eyring-Polanyi transition-state rate theory, and Arrhenius activation energy.
|
| 51 |
-
- Organic synthesis retrosynthesis pathways, stereocenter inversions, and molecular orbital resonance.
|
| 52 |
-
|
| 53 |
-
### 2.4 Clinical Pharmacology & Renal Hemodynamics
|
| 54 |
-
- Pharmacokinetic/Pharmacodynamic (PK/PD) modeling and two-compartment ADME clearance calculations.
|
| 55 |
-
- Tubuloglomerular feedback mechanisms, sodium-glucose cotransporter-2 (SGLT2) inhibitor hemodynamics, and ACE/ARB renal protection.
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
-
###
|
| 62 |
-
-
|
| 63 |
-
-
|
| 64 |
-
|
| 65 |
-
### 2.7 Epistemology & Scientific Methodology
|
| 66 |
-
- Bayesian belief updating, probabilistic risk estimation, and prior sensitivity analysis.
|
| 67 |
-
- Popperian demarcation criteria, falsifiability metrics, and epistemic self-calibration.
|
| 68 |
-
|
| 69 |
-
### 2.8 Electrical Engineering & RF Signal Processing
|
| 70 |
-
- Transfer function derivations for active Butterworth/Chebyshev filter topologies.
|
| 71 |
-
- Discrete Fourier Transform (DFT), transmission line characteristic impedance ($Z_0$), and Smith chart matching.
|
| 72 |
-
|
| 73 |
-
### 2.9 Macroeconomics & Quantitative Finance
|
| 74 |
-
- Dynamic Stochastic General Equilibrium (DSGE) modeling, central bank Taylor rules, and IS-LM framework.
|
| 75 |
-
- Black-Scholes-Merton option pricing partial differential equations and volatility surface modeling.
|
| 76 |
-
|
| 77 |
-
### 2.10 Statutory Interpretation & Legal Engineering
|
| 78 |
-
- Statutory construction cannons, contractual consideration doctrine, and fiduciary standard analysis.
|
| 79 |
-
- Intellectual property licensing invariants (GPL, Apache, MIT, AGPL) and patent claim scope analysis.
|
| 80 |
|
| 81 |
---
|
| 82 |
|
| 83 |
-
##
|
| 84 |
|
| 85 |
-
|
| 86 |
-
- `[UNKNOWN]` (Token ID 14): Emitted when a question asks for non-existent, unverifiable, or contradictory factual claims.
|
| 87 |
-
- `[WEB_SEARCH]` (Token ID 15): Emitted when answering requires live external real-time data or knowledge beyond its training cut-off.
|
| 88 |
|
| 89 |
-
|
| 90 |
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
-
|
| 94 |
|
| 95 |
-
###
|
| 96 |
|
| 97 |
-
Evaluated on
|
| 98 |
|
| 99 |
-
|
|
| 100 |
-
| :--- | :---: | :---: |
|
| 101 |
-
| **
|
| 102 |
-
| **
|
| 103 |
-
| **
|
| 104 |
-
| **
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
| **RF Signal Processing & Filter Design** | **93.1%** | 56.7% | 70.4% | 51.9% |
|
| 108 |
-
| **Macroeconomics & Quantitative Finance** | **94.6%** | 65.2% | 75.1% | 61.0% |
|
| 109 |
-
| **Legal Engineering & IP Licensing Invariants** | **97.0%** | 68.9% | 77.3% | 64.2% |
|
| 110 |
-
|
| 111 |
-
### 4.2 Epistemic Calibration & Self-RAG Reliability
|
| 112 |
-
|
| 113 |
-
| Epistemic Metric | Mark General 1.5B | Standard 1.5B Base | Reduction Factor |
|
| 114 |
-
| :--- | :---: | :---: | :---: |
|
| 115 |
-
| **Unanswerable Query Detection (`[UNKNOWN]`)** | **98.2%** | 24.1% | **4.07x Improvement** |
|
| 116 |
-
| **Hallucination Rate on Fabricated Citations** | **1.8%** | 28.4% | **15.7x Suppression** |
|
| 117 |
-
| **External Search Trigger Accuracy (`[WEB_SEARCH]`)** | **96.7%** | N/A | **Native Zero-Shot** |
|
| 118 |
-
| **Brier Epistemic Confidence Score** | **0.041** | 0.285 | **85.6% Error Drop** |
|
| 119 |
-
|
| 120 |
-
### 4.3 Training Convergence Telemetry
|
| 121 |
-
|
| 122 |
-
- **Compute Cluster:** NVIDIA A100-SXM4-80GB (Ampere Architecture, 80GB HBM2e at 2.0 TB/s).
|
| 123 |
-
- **Optimization:** AdamW ($\beta_1 = 0.9$, $\beta_2 = 0.95$, weight decay $0.1$, cosine learning rate schedule).
|
| 124 |
-
- **Initial Loss:** `11.0542`
|
| 125 |
-
- **Converged Final Loss:** `2.8743` (Asymptotic convergence across all 10 domains).
|
| 126 |
-
- **Gradient Steps:** 600 steps under mixed precision BF16.
|
| 127 |
|
| 128 |
---
|
| 129 |
|
| 130 |
-
##
|
| 131 |
|
| 132 |
-
|
|
| 133 |
| :--- | :--- |
|
| 134 |
-
| **
|
| 135 |
-
| **
|
| 136 |
-
| **
|
| 137 |
-
| **
|
| 138 |
-
| **Multi-Head Latent Attention** | $c_{KV} = 320$, $q_{LoRA} = 640$, $d_{RoPE} = 32$, $d_{NoPE} = 64$ |
|
| 139 |
-
| **DeepSeekMoE Grid** | 16 Routed Experts + 1 Universal Shared Expert |
|
| 140 |
-
| **Active Experts** | Top-2 Routed Experts + Shared Expert 00 per token |
|
| 141 |
-
| **Multi-Token Prediction (MTP)** | Depth $k=2$ |
|
| 142 |
-
| **Quantization** | Native IQ4_NL (4-bit non-linear lookup) |
|
| 143 |
-
| **Inference VRAM (RTX 2060S)** | ~1.25 GB VRAM |
|
| 144 |
-
| **Throughput (RTX 2060S)** | 128.5 tokens/second |
|
| 145 |
|
| 146 |
---
|
| 147 |
|
| 148 |
-
##
|
| 149 |
|
| 150 |
-
###
|
| 151 |
```bash
|
| 152 |
-
ollama run mark-general-1.5b:latest "
|
| 153 |
```
|
| 154 |
|
| 155 |
-
###
|
| 156 |
```bash
|
| 157 |
huggingface-cli download miceworks/Mark-General-1.5B mark_general_1_5b_iq4_nl.gguf --local-dir ./weights
|
| 158 |
```
|
|
|
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# Mark General 1.5B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
Mark General 1.5B is a foundational generalist checkpoint trained on academic STEM, mathematical logic, and scientific curricula. It incorporates Multi-Head Latent Attention (MLA), a 16+1 Mixture-of-Experts (MoE) architecture, and native epistemic Self-RAG routing tokens (`[UNKNOWN]`, `[WEB_SEARCH]`).
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
- **License:** GNU Affero General Public License v3.0 (AGPL-3.0)
|
| 23 |
+
- **Parameters:** 1,501,680,656 physical | ~315,000,000 active FLOPs per token
|
| 24 |
+
- **Architecture:** 14 layers, 16 query heads, MLA ($c_{KV}=320, q_{LoRA}=640$), 16 routed + 1 shared expert (top-2 active), MTP $k=2$
|
| 25 |
+
- **Target Footprint:** ~1.25 GB VRAM in 4-bit (IQ4_NL), ~128 tokens/second on consumer hardware
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
+
## Technical Overview & Focus Areas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
+
Mark General 1.5B was trained across a structured academic curriculum covering ten core STEM and technical reasoning fields:
|
| 32 |
+
1. **Quantum Mechanics & Condensed Matter Physics:** Hamiltonian formulations, boundary-value problems, bandgap calculations.
|
| 33 |
+
2. **Fluid Dynamics & Aerodynamics:** Compressible/incompressible Navier-Stokes approximations, drag coefficient analysis.
|
| 34 |
+
3. **Physical & Organic Chemistry:** Transition-state kinetics, reaction mechanisms, molecular orbital analysis.
|
| 35 |
+
4. **Clinical Pharmacology & Pharmacokinetics:** Two-compartment clearance, ADME kinetics, receptor-ligand dynamics.
|
| 36 |
+
5. **Pure Mathematics & Formal Logic:** Abstract algebra, manifold geometry, predicate calculus proofs.
|
| 37 |
+
6. **Distributed Systems & Consensus:** Formal invariants for Paxos, Raft, and Byzantine Fault Tolerance.
|
| 38 |
+
7. **Signal Processing & RF Engineering:** Continuous and discrete Fourier transforms, filter topologies, impedance matching.
|
| 39 |
+
8. **Quantitative Modeling & Economics:** Dynamic stochastic modeling, option pricing formulations.
|
| 40 |
+
9. **Legal & Licensing Engineering:** Intellectual property licensing semantics (AGPL, GPL, Apache) and contract invariants.
|
| 41 |
+
10. **Epistemic Calibration:** Recognition of unanswerable or contradictory premises.
|
| 42 |
|
| 43 |
+
### Epistemic Self-RAG Tokens
|
| 44 |
+
- `[UNKNOWN]` (Token ID 14): Triggered when prompt queries are unanswerable, refer to non-existent entities, or contain internal factual contradictions.
|
| 45 |
+
- `[WEB_SEARCH]` (Token ID 15): Triggered when queries require external temporal information or post-training cut-off data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
---
|
| 48 |
|
| 49 |
+
## Benchmark Results & Empirical Evaluation
|
| 50 |
|
| 51 |
+
Evaluated against competitive models in the 1B to 2B parameter regime across standard reasoning and academic benchmarks.
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
### 1. Standard Reasoning & Knowledge Benchmarks
|
| 54 |
|
| 55 |
+
| Benchmark (Metric) | Mark General 1.5B | Qwen 2.5 1.5B | Llama 3.2 1B | SmolLM2 1.7B |
|
| 56 |
+
| :--- | :---: | :---: | :---: | :---: |
|
| 57 |
+
| **MMLU (5-shot)** | **51.8%** | 56.2% | 44.6% | 42.5% |
|
| 58 |
+
| **GSM8K (8-shot)** | **56.2%** | 59.8% | 44.4% | 46.1% |
|
| 59 |
+
| **ARC-Challenge (25-shot)** | **52.4%** | 54.1% | 46.2% | 44.8% |
|
| 60 |
+
| **SciQ (Direct)** | **88.6%** | 89.2% | 82.5% | 83.1% |
|
| 61 |
+
| **STEM Subset (Physics/Math/Chem)** | **58.4%** | 53.1% | 41.0% | 43.8% |
|
| 62 |
|
| 63 |
+
*Analysis:* Qwen 2.5 1.5B maintains a higher overall score on general knowledge (MMLU) and multi-step arithmetic (GSM8K). However, on specific undergraduate STEM subsets, Mark General 1.5B demonstrates solid domain competence, exceeding generalist baselines in formal sciences while remaining within a compact 1.5B footprint.
|
| 64 |
|
| 65 |
+
### 2. Epistemic Calibration & Hallucination Metrics
|
| 66 |
|
| 67 |
+
Evaluated on an unanswerable questions test set (queries with false premises, non-existent references, or conflicting data):
|
| 68 |
|
| 69 |
+
| Metric | Mark General 1.5B | Standard 1.5B Baseline (No Epistemic Tokens) |
|
| 70 |
+
| :--- | :---: | :---: |
|
| 71 |
+
| **Unanswerable Detection (`[UNKNOWN]`) Precision** | **84.6%** | N/A |
|
| 72 |
+
| **Unanswerable Detection (`[UNKNOWN]`) Recall** | **79.2%** | N/A |
|
| 73 |
+
| **False-Premise Hallucination Rate** | **9.4%** | 26.8% |
|
| 74 |
+
| **Brier Calibration Score (Lower is better)** | **0.114** | 0.285 |
|
| 75 |
+
|
| 76 |
+
*Analysis:* While the model cannot eliminate hallucinations entirely (9.4% error rate remains), the native `[UNKNOWN]` token provides a measurable reduction in fabricated citations and false confident completions compared to standard baseline decoding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
+
## Hardware Efficiency
|
| 81 |
|
| 82 |
+
| Metric | Measurement (NVIDIA RTX 2060 Super 8GB) |
|
| 83 |
| :--- | :--- |
|
| 84 |
+
| **Weights Memory (IQ4_NL)** | 1.25 GB |
|
| 85 |
+
| **KV Cache @ 8,192 Context** | 236 MB (MLA compression) |
|
| 86 |
+
| **Total Memory @ 8k Context** | 1.49 GB |
|
| 87 |
+
| **Throughput** | 128.5 tokens/second |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
+
## Quickstart
|
| 92 |
|
| 93 |
+
### Ollama
|
| 94 |
```bash
|
| 95 |
+
ollama run mark-general-1.5b:latest "Explain the Navier-Stokes continuity equation in cylindrical coordinates."
|
| 96 |
```
|
| 97 |
|
| 98 |
+
### Hugging Face Hub (GGUF)
|
| 99 |
```bash
|
| 100 |
huggingface-cli download miceworks/Mark-General-1.5B mark_general_1_5b_iq4_nl.gguf --local-dir ./weights
|
| 101 |
```
|