From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject:

GRIN-MoE

Date: 2026-11-15Commit: 9322db3Signed: 2DC28CC7B26A283B ✓

Text generation model with 41.9B parameters. Safetensors weights, 83.8 GB in all. Published by microsoft under MIT.

41.9B params83.8GBGRIN-MoEsafetensorspermissive
FactsParams41.9BSize83.8 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get microsoft/GRIN-MoE
# manifest sha256 e6470159517b… · 83.8 GB · 34 files
$ fw verify ./GRIN-MoE microsoft/GRIN-MoE
From sourceHosted (signed)microsoft/GRIN-MoELast check: 2026-11-15 03:49 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
83.8 GB
Weights
83.7 GB (safetensors)
Parameters
41.9B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
34, each with a sha256
Publisher
microsoft
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:49 UTCpassed

Model card

From the publisher at commit 9322db3. Shown as plain text with links; images open at the publisher.

&#128513; MoE#

GRIN: GRadient-INformed MoE#

Hugging Face&nbsp | &nbsp Tech Report&nbsp | &nbsp License&nbsp | &nbsp Github &nbsp | &nbsp Get Started&nbsp

  • With only 6.6B activate parameters, GRIN MoE achieves exceptionally good performance across a diverse set of tasks, particularly in coding and mathematics tasks.
  • GRIN uses SparseMixer-v2 to estimate the gradient related to expert routing, while the conventional MoE training treats expert gating as a proxy for the gradient estimation.
  • GRIN scales MoE training with neither expert parallelism nor token dropping, while the conventional MoE training employs expert parallelism and deploys token dropping.

Intended Uses#

Primary Use Cases#

The model is intended for commercial and research use in multiple languages. The model provides uses for general purpose AI systems and applications which require:

  1. Memory/compute constrained environments
  2. Latency bound scenarios
  3. Strong reasoning (especially code, math and logic)

Our model is designed to accelerate research on language and multimodal models, for use as a building block for generative AI powered features.

Use Case Considerations#

Our models are not specifically designed or evaluated for all downstream purposes. Developers should consider common limitations of language models as they select use cases, and evaluate and mitigate for accuracy, safety, and fariness before using within a specific downstream use case, particularly for high risk scenarios. Developers should be aware of and adhere to applicable laws or regulations (including privacy, trade compliance laws, etc.) that are relevant to their use case.

Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.

Usage#

Command-line Demo#

The simpliest way to inference with GRIN-MoE is to run the demo as below, which would setup environment, download model weight, and run inference for a math question.

# This script is available at `https://github.com/microsoft/GRIN-MoE/blob/main/demo/demo.sh` and requires docker to run.
curl https://raw.githubusercontent.com/microsoft/GRIN-MoE/main/demo/demo.sh | bash -s 
Interactive Demo#

Run the following command to play with the model with more questions and customized inputs, which would launch a jupyter notebook at localhost:8887.

# This script requires docker to run.
docker run --gpus all -p 8887:8887 --rm nvcr.io/nvidia/pytorch:24.08-py3 /bin/bash -c 'git clone https://github.com/microsoft/GRIN-MoE.git && jupyter notebook --port 8887 --notebook-dir GRIN-MoE/demo'

Benchmarks#

To understand the capabilities, we compare GRIN MoE with a set of models over a variety of benchmarks using our internal benchmark platform. At the high-level overview of the model quality on representative benchmarks:

Note a different version of mid-training and post-training, emphasizing long context and multilingual ability, has been conducted and has been released at https://huggingface.co/microsoft/Phi-3.5-MoE-instruct.

GRIN MoE (16x3.8B)Phi-3.5-MoE (16x3.8B)Mixtral (8x7B)Mixtral (8x22B)Llama3 (8B)Llama3 (70B)GPT3.5GPT4o
MMLU79.478.970.576.266.580.271.486.9
HellaSwag83.783.870.479.071.182.678.891.7
ANLI60.659.855.265.257.368.358.175.7
GSM-8K90.488.764.783.877.493.578.193.8
MedQA70.470.562.267.960.578.563.488.9
AGIEval48.250.345.254.042.056.948.437.6
TriviaQA73.971.678.582.267.784.585.866.0
Arc-C92.091.087.391.382.893.087.497.0
Arc-E98.097.195.696.993.498.296.399.0
PIQA89.088.686.085.075.785.386.692.9
SociQA79.578.075.978.273.981.168.381.4
BigBench-Hard81.479.169.781.851.580.268.381.2
WinoGrande81.481.362.075.365.083.368.889.3
OpenBookQA89.889.685.888.682.691.886.095.2
BoolQ83.484.677.682.780.989.179.190.6
CommonSenseQA81.883.578.182.079.084.479.688.5
TruthfulQA74.577.560.167.463.281.985.885.6
HumanEval74.470.737.839.660.478.762.292.1
MBPP80.380.860.270.767.781.377.890.4
Average79.679.269.676.269.482.875.285.7
Livebench#

Performance on LiveBench-2024-07-25. Models are ranked by their average score (AVG). *Baseline results are referenced from the official benchmark.

ReasoningCodingMathematicsData AnalysisLanguageIFAVG
Claude-3-haiku*29.324.525.741.530.164.035.9
Mixtral-8x22B-instruct-v0.1*29.332.028.331.726.563.135.2
GPT-3.5-turbo-0125*26.727.726.941.224.260.534.5
GRIN MoE35.323.729.832.016.957.632.5
Mistral-small-2402*26.021.228.231.922.163.932.2
Command-r-plus*28.719.524.924.623.971.532.2
Gemma-2-9B-it*17.322.524.035.127.661.631.3

Training#

Model#
DeveloperMicrosoft
ArchitectureGRIN MoE has 16x3.8B parameters with 6.6B active parameters when using 2 experts. The model is a mixture-of-expert decoder-only Transformer model using the tokenizer with vocabulary size of 32,064.
InputsText. It is best suited for prompts using chat format.
Context length4K tokens
GPUs512 H100-80G
Training time18 days
Training data4.0T tokens
OutputsGenerated text in response to the input
DatesTrained between April and June 2024
StatusThis is a static model trained on an offline dataset with cutoff date October 2023 for publicly available data. Future versions of the tuned models may be released as we improve models.
Supported languagesEnglish
Release dateSep 2024
LicenseMIT
Training Datasets#

Our training data includes a wide variety of sources, totaling 4 trillion tokens, and is a combination of 1) publicly available documents filtered rigorously for quality, selected high-quality educational data, and code; 2) newly created synthetic, “textbook-like” data for the purpose of teaching math, coding, common sense reasoning, general knowledge of the world (science, daily activities, theory of mind, etc.); 3) high quality chat format supervised data covering various topics to reflect human preferences on different aspects such as instruct-following, truthfulness, honesty and helpfulness. More details about data can be found in the Phi-3 Technical Report.

Responsible AI Considerations#

Like other language models, Gradient Informed (GRIN) MoE model can potentially behave in ways that are unfair, unreliable, or offensive. Some of the limiting behaviors to be aware of include:

  • Quality of Service: GRIN MoE is trained primarily on English text. Languages other than English will experience worse performance. English language varieties with less representation in the training data might experience worse performance than standard American English.
  • Representation of Harms & Perpetuation of Stereotypes: This model can over- or under-represent groups of people, erase representation of some groups, or reinforce demeaning or negative stereotypes. Despite safety post-training, these limitations may still be present due to differing levels of representation of different groups or prevalence of examples of negative stereotypes in training data that reflect real-world patterns and societal biases.
  • Inappropriate or Offensive Content: This model may produce other types of inappropriate or offensive content, which may make it inappropriate to deploy for sensitive contexts without additional mitigations that are specific to the use case.
  • Information Reliability: Language models can generate nonsensical content or fabricate content that might sound reasonable but is inaccurate or outdated.
  • Limited Scope for Code: Majority of the training data is based in Python and use common packages such as "typing, math, random, collections, datetime, itertools". If the model generates Python scripts that utilize other packages or scripts in other languages, we strongly recommend users manually verify all API uses.

Developers should apply responsible AI best practices and are responsible for ensuring that a specific use-case complies with relevant laws and regulations (e.g. privacy, trade, etc.). Important areas for consideration include:

  • Allocation: The model may not be suitable for scenarios that could have consequential impact on legal status or the allocation of resources or life opportunities (ex: housing, employment, credit, etc.) without further assessments and additional debiasing techniques.
  • High-Risk Scenarios: Developers should assess suitability of using models in high-risk scenarios where unfair, unreliable or offensive outputs might be extremely costly or lead to harm. This includes providing advice in sensitive or expert domains where accuracy and reliability are critical (ex: legal or health advice). Additional safeguards should be implemented at the application level according to the deployment context.
  • Misinformation: Models may produce inaccurate information. Developers should follow transparency best practices and inform end-users they are interacting with an AI system. At the application level, developers can build feedback mechanisms and pipelines to ground responses in use-case specific, contextual information, a technique known as Retrieval Augmented Generation (RAG).
  • Generation of Harmful Content: Developers should assess outputs for their context and use available safety classifiers or custom solutions appropriate for their use case.
  • Misuse: Other forms of misuse such as fraud, spam, or malware production may be possible, and developers should ensure that their applications do not violate applicable laws and regulations.
  • Copyrighted content: The model might generate content that infringes on copyright protections. Developers should implement measures to detect and filter copyrighted material, and end-users should be informed about the potential for unintended copyright violations and the importance of verifying original sources to avoid legal complications.
  • Election Misinformation: Developers should ensure robust verification mechanisms are in place to detect and correct false information regarding elections and should inform users of the need for critical evaluation of AI-generated election-related content to mitigate the spread of misinformation.

License#

The model is licensed under the MIT license.

Trademarks#

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

Data Summary#

https://huggingface.co/microsoft/GRIN-MoE/blob/main/data_summary_card.md

Files

34 files · 83.8 GBWeights 83.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 34 files with their sha256
FileSizesha256
.gitattributes1.56 KBdedd6037856b4ff1238d1ffb8997d2b5a740615ee59de0dbab2ea78d71346aec
CODE_OF_CONDUCT.md444 B9daeae709a0bd71bcfd1c96dc5822ecec5210327eff929da64b0ae7f8faf1444
GRIN_MoE.pdf1.97 MB39e878f28a2bdd362f0bbe0bc0fa2ef9b827551d74e9a617a18e2b3923abb322
LICENSE1.08 KBfa8235e5b48faca34e3ca98cf4f694ef08bd216d28b58071a1f85b1d50cb814d
NOTICE.md52 Bddba83d6812795c2305c7b29eac32c2374e1be924efa4fcddefc5a5d287a5639
README.md13.8 KBaa6bcdc5edb7c66efaef04b57dcfbdebfc3e24b534e1358da42d1fc6304ebef9
SECURITY.md2.66 KB7b6976eec43edfa68b79a459dd089c56b7a395916dbf1a01bd11e6d86e12128f
added_tokens.json315 B84addd9b7448d7b7f5320d3ed40274ba90c58340ffe183a5d13ce5293cbd1f82
config.json1.02 KB6e5e174897723c6c95b43ceb854751a6d83e34fd707f6cb39f4a0adf7adefcbf
configuration_grinmoe.py8.56 KB2590427323c5c0a6ddfb36549ff472c166c9056844797c2de692fffce70db989
data_summary_card.md4.30 KB3a583c66cea99b682433e23ab815fcd7368b0fc6e5ad0fe3fc65ccd730d5ff60
generation_config.json192 Babf8e1b5f5c88106cc995b6ef68392488ff34e26a9dfcce175ee2466251e9aca
model-00001-of-00017.safetensors4.99 GBbfae60bacab5226fcfa437a7105359b61f602820bdb302986106065e19066da5
model-00002-of-00017.safetensors4.99 GBfd343bf6d9e5a3363a23f878fb244c7653f855ae8cc02680c797314ef8ea60ca
model-00003-of-00017.safetensors4.99 GB5829c532b698d42a298648bb4f9c9285f59751915f4c22dcac19723888c0395f
model-00004-of-00017.safetensors4.99 GB6c6a8c02b7aeade710689234e062a2971f3ebbf471fbfc16338cd4e469e25bae
model-00005-of-00017.safetensors4.99 GB7fb7769b8e802b11aac4cfc80db8ac6f8b16b57317de156f0727405ed189ae1e
model-00006-of-00017.safetensors4.99 GBd546af749fd73b516dbb392a82be0c143c632d45bb5bc5c89870f93708ec2908
model-00007-of-00017.safetensors4.99 GB23280638638fd63494845afc3d8d2ffc8c7b0a2adcb4f4663d31eb8dbe075e16
model-00008-of-00017.safetensors4.99 GB0e956930902155b68659b4d704e8bd42d76f1fc2409a8c72d79e661be4ff71c8
model-00009-of-00017.safetensors4.99 GB802266e25572d7adeb7dbe71d6d7a44ecc0ec6c928d98a41c624d8638f511506
model-00010-of-00017.safetensors4.99 GB86e6d54d42980de66f7d8c5cc09892836e8c116adc70858c95dd280c279584d8
model-00011-of-00017.safetensors4.99 GBbf76f6fafa486fa8334e235508a9435493624d09bf8be22003489a3b1743bdf2
model-00012-of-00017.safetensors4.96 GB4e1f8481f808d703076e5279d837496434ea67da900849d5e6e79b6b4e4d4ac4
model-00013-of-00017.safetensors4.99 GB99e4fc8a07c2a00b0056483bb4ec27c48a4ce6b663851ab9e1667eeab8d250de
model-00014-of-00017.safetensors4.99 GBf6cb890c5984b94ba8e683a65a5ef482a2f6c8e50e9161d46c708b2968545a88
model-00015-of-00017.safetensors4.99 GB9f972476b3635f899e593e949b8566af3187c7d84ba855d991f5f0871058c37e
model-00016-of-00017.safetensors4.99 GB70ae58f517f9d1f750d33c46fa37fc1c2d2025c4dba2d229602a7bc387ea1f5f
model-00017-of-00017.safetensors3.91 GBd56845fc7afcf1b98676f57123aed6bd701040ca85d23114243aeadcfd6b4691
model.safetensors.index.json183 KBfee8fc7ca164fbf1c4b82e307f6c06280f1d0d2ce4ce6d023544d454d59bf5fa
modeling_grinmoe.py75.7 KB0c172b8beb229459269295aad5291ccb499dd8119319be75bec48dcc79f6a05f
special_tokens_map.json569 B474d699677e264edd3851559548cbbb61801ad8da6b249c81455007602313c34
tokenizer.json1.84 MB9e2ae3d66819f163cdcfedba5078f3a3af8118c2712491ed60912f77886bda6f
tokenizer_config.json3.56 KBfdd6113c0b7f262ee9528a496cef77f38a7958afab22fadfd95c73892ac078db
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9322db36d6 pinned now2026-11-15 03:49 UTC34 files · 83.8 GB

Use it

$ fw get microsoft/GRIN-MoE
# manifest sha256 e6470159517b… · 83.8 GB · 34 files
$ fw verify ./GRIN-MoE microsoft/GRIN-MoE
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/GRIN-MoE.json --dir ./GRIN-MoE $ python3 fw.py verify ./GRIN-MoE ./microsoft__GRIN-MoE.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/GRIN-MoE --revision 9322db36d650fe705bd0af245e1f3d9c52bd07d0 --local-dir ./GRIN-MoE
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("microsoft/GRIN-MoE", revision="9322db36d650fe705bd0af245e1f3d9c52bd07d0") model = AutoModelForCausalLM.from_pretrained("microsoft/GRIN-MoE", revision="9322db36d650fe705bd0af245e1f3d9c52bd07d0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve microsoft/GRIN-MoE --revision 9322db36d650fe705bd0af245e1f3d9c52bd07d0

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
fa8235e5b48faca34e3ca98cf4f694ef08bd216d28b58071a1f85b1d50cb814d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject: GRIN-MoEDate: 2026-11-15Commit: 9322db3Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/GRIN-MoE
Pinned commit
9322db36d650fe705bd0af245e1f3d9c52bd07d0
Manifest
GRIN-MoE.json · .minisig
Manifest sha256
e6470159517b67c7ba3b20e375f15853d1f099ffb32abec471b2c062e0dcde89
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:49 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/GRIN-MoE.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/GRIN-MoE.json.minisig $ minisign -Vm GRIN-MoE.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/GRIN-MoE
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. GRIN-MoE.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B