CoolFace
Modelpublic

KnutJaegersberg/marin-32b-base-fp16

sourceHugging Faceapache-2.0updated 11mo agoView on Hugging Face
1likes95downloads
Model Card

<img alt="Marin Logo" src="https://huggingface.co/datasets/marin-community/blog-images/resolve/main/marin-boat.jpg" width="96" style="margin-left:'auto' margin-right:'auto' display:'block'">

Model Card for Marin 32B

This is the model card for the Marin 32B base model. The Marin Project is a collaborative effort to develop open-source foundation models.

Datasets

Datasets used in Marin 32B Base

Marin 32B Base was trained in multiple phases that reused our 8B recipe and introduced new high-quality cooldown data:

The Markdownified datasets are licensed under the original licenses of the individual documents. Please refer to StackExchange, Wikipedia, and arXiv for more information.

The Datashop Science QA dataset is licensed under CC-BY-SA 4.0.

Checkpoints

Base Model Checkpoints

Main Page: marin-community/marin-32b-base

main currently refers to the mantis revision.

Installation

Marin 32B follows a Llama-style transformer architecture with QK-Norm attention (matching the Qwen3 32B backbone) and works out-of-the-box with the Hugging Face Transformers library and other libraries that support Llama/Qwen-style causal language models.

We use the stanford-crfm/marin-tokenizer tokenizer.

Inference

You can use Marin 32B with the standard Hugging Face Transformers library:

python
from transformers import AutoModelForCausalLM, AutoTokenizer
marin = AutoModelForCausalLM.from_pretrained("marin-community/marin-32b-base", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("marin-community/marin-32b-base")
message = ["The Marin wind is"]
inputs = tokenizer(message, return_tensors="pt", return_token_type_ids=False)
response = marin.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])

Model Description

  • —Developed by: The Marin community team.
  • —Model type: Transformer-style autoregressive language model.
  • —Knowledge Cutoff: To the best of our knowledge, the base model has no data from later than July 2024.
  • —Language(s) (NLP): English
  • —License: The code and model are released under Apache 2.0.
  • —Contact: dlwh at stanford.edu

Model Sources

  • —Project Page: https://marin.community
  • —Repositories:
  • —Core repo (data and experiment management): https://github.com/marin-community/marin
  • —Training code: https://github.com/stanford-crfm/levanter
  • —Retrospective: https://marin.readthedocs.io/en/latest/reports/marin-32b-retro/
  • —W&B Logs: Marin 32B

Evaluation

We evaluate with EleutherAI's LM Eval Harness defaults across a standard suite. Numbers may differ from model cards or other evaluation harnesses due to prompt/format differences. “Average” is a simple mean over the shown tasks.

ModelAverageAGI Eval LSAT-ARARC EasyARC ChallengeBoolQCommonSense QACOPAHellaSwaglambada_openaiOpenBookQAPIQAWinoGrandeWSCMMLUGPQABBHMMLU ProHumanEvalGSM8KMATH
Marin 32B (Mantis)65.224.888.065.789.482.893.086.977.246.485.979.379.574.734.059.645.142.769.115.3
Marin 32B (Bison)63.023.487.865.888.982.394.086.677.446.686.178.682.472.932.155.241.929.354.710.4
OLMo 2 32B Base63.222.685.961.983.078.693.085.978.347.283.178.986.871.932.256.142.023.876.412.7
Qwen 2.5 32B Base68.130.480.855.987.788.587.084.177.644.482.475.781.080.839.067.457.948.889.336.3
Gemma 3 27B PT65.122.288.265.487.173.493.083.078.145.084.179.091.975.335.761.449.417.682.025.8
NVIDIA Nemotron Nano 12B v2 Base68.628.783.660.684.876.185.081.472.945.882.874.485.477.936.662.053.159.284.168.3

The Mantis cooldown improves coding (HumanEval) and math (GSM8K, MATH) performance dramatically compared with the earlier Bison cooldown while maintaining competitive accuracy across general-language benchmarks.

Model Details

Please see our technical retrospective for more details on the pretraining process.

Architecture Details

  • —Architecture: Qwen3-style 32B with QK-Norm attention
  • —Hidden size: 5120
  • —Feedforward size: 27648
  • —Number of layers: 64
  • —Number of attention heads: 40
  • —Number of KV heads: 8
  • —Sequence length: 4096

Tokenizer Details

Marin 32B uses the stanford-crfm/marin-tokenizer. It has the same vocabulary as Llama 3 but bundles a chat template into the base tokenizer for convenience.

Training Phases

  • —Total tokens trained in final artifact: ≈6.437T
  • —Phase 1: 2.679T
  • —Phase 3/QK‑Norm: 2.684T
  • —Phase 4b/Mantis cooldown: 1.074T; excludes diagnostic restarts and the abandoned Bison cooldown attempt.

Bias, Risks, and Limitations

Like any base language model or fine-tuned model without safety filtering, these models can be prompted to generate harmful or sensitive content. Such content may also be produced unintentionally, especially in cases involving bias, so users should consider the risks when applying this technology. Additionally, many statements from Marin or any LLM can be inaccurate, so responses should be verified.

Marin 32B has not undergone safety tuning or evaluation. We strongly recommend using this model with caution and considering the risks when applying this technology. In particular, this model is not intended for fully autonomous use.

Model Card Contact

For errors in this model card, please open an issue in this repository. For technical inquiries, please contact dlwh at stanford.edu.

Acknowledgements

The compute for this model was generously provided by Google's TPU Research Cloud.