Decision models · Moritz Laurer
ModernBERT Large Zero-shot v2.0
- Task
- Classifying and extracting
- Returns
- Probability or score
- Precision tier
- 70 / 100
- Size
- 400M
- Max input
- 8K tokens
- License
- apache-2.0
- Released
- 2024-12
What it decides
- Returns
- A probability for each label you pass.
- Checks
- Zero-shot classification of long texts (8K)
- Languages
- English
- Precision
- 70 / 100 · Slightly below the DeBERTa large version but faster, with an 8K window.
- Clarity
- Probability or score (15 of 15 clarity points)
- How it runs
- Classifier head · reads the input once and writes nothing, so it answers in milliseconds.
- License
- apache-2.0 (Open (Apache, MIT))
How to run it
Original weights · Hugging Face
Full-precision files from Moritz Laurer, for Transformers, Sentence Transformers, Text Embeddings Inference, Infinity or vLLM.
huggingface.co/MoritzLaurer/ModernBERT-large-zeroshot-v2.0 (opens in a new tab)
Apps that run ModernBERT Large Zero-shot v2.0
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or Mac in the Model Finder for an exact answer.
Mac (Apple silicon)
Windows PC, NVIDIA GPU
Windows PC, AMD Radeon
Linux, NVIDIA GPU
Linux server, 80 GB+ GPUs
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| Text Embeddings Inference | Server | Original weights | macOSWSLWindowsLinux |
|
|
| Infinity | Server | Original weights | macOSWSLWindowsLinux |
|
|
| Sentence Transformers | Library | Original weights | macOSWindowsLinux |
|
Memory and speed
Each precision on an NVIDIA GeForce RTX 4090, for one decision on a 256-token input. The best hardware table below covers other GPUs and Macs.
| Format | Memory needed | Time per decision | Decisions per second | Quality | Download |
|---|---|---|---|---|---|
Q8_0 | 0.9 GB | 5.9 ms | 170/s | 70Great quality (A) · 70 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 1.3 GB | 6.2 ms | 163/s | 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Best hardware for ModernBERT Large Zero-shot v2.0
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at F16.
| Quality | Hardware | Quant | Memory | Time per decision | Runs |
|---|---|---|---|---|---|
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
F16 | 1.5 GB / 24.0 GB | 5.7 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
F16 | 1.5 GB / 16.0 GB | 6.1 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | AMD Ryzen AI Max+ 395 (128 GB) |
F16 | 1.5 GB / 96.0 GB | 7.5 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M1 (16 GB) |
F16 | 1.5 GB / 10.7 GB | 83 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M1 Max (64 GB) |
F16 | 1.5 GB / 48.0 GB | 24 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M2 Ultra (192 GB) |
F16 | 1.5 GB / 144 GB | 12 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (256 GB) |
F16 | 1.5 GB / 192 GB | 11 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (512 GB) |
F16 | 1.5 GB / 384 GB | 11 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 (16 GB) |
F16 | 1.5 GB / 10.7 GB | 52 ms | Runs great |
| 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 (24 GB) |
F16 | 1.5 GB / 16.1 GB | 52 ms | Runs great |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.







