alt.freeweights.text / Dayhoff-170m-GR
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject:

Dayhoff-170m-GR

Date: 2026-11-15Commit: 3d056c6Signed: 2DC28CC7B26A283B ✓

Text generation model with 170M parameters. Safetensors weights, 681 MB in all. Published by microsoft under MIT.

170M params681MBDayhoff-170m-GRsafetensorspermissive
FactsParams170MSize681 MBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get microsoft/Dayhoff-170m-GR
# manifest sha256 6258887181ff… · 681 MB · 11 files
$ fw verify ./Dayhoff-170m-GR microsoft/Dayhoff-170m-GR
From sourceHosted (signed)microsoft/Dayhoff-170m-GRLast check: 2026-11-15 03:51 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
681 MB
Weights
681 MB (safetensors)
Parameters
170M
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
11, 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:51 UTCpassed

Model card

From the publisher at commit 3d056c6. Shown as plain text with links; images open at the publisher.

Model Card for Dayhoff#

Dayhoff is an Atlas of both protein sequence data and generative language models — a centralized resource that brings together 3.34 billion protein sequences across 1.7 billion clusters of metagenomic and natural protein sequences (GigaRef), 46 million structure-derived synthetic sequences (BackboneRef), and 16 million multiple sequence alignments (OpenProteinSet). These models can natively predict zero-shot mutation effects on fitness, scaffold structural motifs by conditioning on evolutionary or structural context, and perform guided generation of novel proteins within specified families. Learning from metagenomic and structure-based synthetic data from the Dayhoff Atlas increased the cellular expression rates of generated proteins, highlighting the real-world value of expanding the scale, diversity, and novelty of protein sequence data.

The Dayhoff architecture is a hybrid of state-space Mamba layers and Transformer self-attention, interleaved with Mixture-of-Experts modules to maximize capacity while preserving efficiency. It natively handles long contexts, allowing both single sequences and unrolled MSAs to be modeled. Trained with an autoregressive objective in both N→C and C→N directions, Dayhoff supports order-agnostic infilling and scales to billions of parameters.

Model Details#

Model Description#
  • Developed by: Kevin K. Yang, Sarah Alamdari, Alex J. Lee, Kaeli Kaymak-Loveless, Samir Char, Garyk Brixi, Carles Domingo-Enrich, Chentong Wang, Suyue Lyu, Nicolo Fusi, Neil Tenenholtz, Ava P. Amini
  • Model type: Hybrid state-space-model transformer architecture with mixture-of-experts
  • License: MIT
Model Sources#

Uses#

Downstream Use#

Dayhoff is intended for broad research use on protein language modeling. The model has been used and assessed on the following capabilities:

  1. Unconditional design of protein sequences
  2. Zero-shot mutation effect prediction on ProteinGym
  3. Designing scaffolds for structural motifs in sequence space on RFDiffusion and MotifBench
  4. Homolog conditioning with Dayhoff-3b-GR-HM and Dayhoff-3b-GR-HM-c

Bias, Risks, and Limitations#

This model should not be used to generate anything that is not a protein sequence or a set of homologuous protein sequences. It is not meant for natural language or other biological sequences, such as DNA sequences. Not all sequences are guaranteed to be realistic. It remains difficult to generate high-quality sequences with no sequence homology to any natural sequence.

How to Get Started with the Model#

The simplest way to use these models and datasets is via the HuggingFace interface. You will need PyTorch, mamba=ssm, causal-conv1d, and flash-attn.

Requirements:

  • PyTorch: 2.7.1
  • CUDA 12.8 and above

We recommend using uv and creating a clean environment.

uv venv dayhoff 
source dayhoff/bin/activate

In that new environment, install PyTorch 2.7.1.

uv pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128

Now, we need to install mamba-ssm, flash-attn, causal-conv1d, and their prerequisites.

uv pip install wheel packaging
uv pip install --no-build-isolation flash-attn causal-conv1d mamba-ssm

To import from HuggingFace, you will need to install these versions:

uv pip install datasets==3.2.0 #for HF datasets
uv pip install transformers==4.51.3
uv pip install huggingface_hub~=0.34.4

Sample protein generation code:


import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, set_seed

set_seed(0)
torch.set_default_device("cuda")

model = AutoModelForCausalLM.from_pretrained("microsoft/Dayhoff-170m-GR").to("cuda")
tokenizer = AutoTokenizer.from_pretrained("microsoft/Dayhoff-170m-GR", trust_remote_code=True)


inputs = tokenizer(tokenizer.bos_token, return_tensors="pt", return_token_type_ids=False)

outputs = model.generate(inputs['input_ids'],max_length=50,do_sample=True)
sequence = tokenizer.batch_decode(outputs,skip_special_tokens=True)
print(sequence)

For detailed instructions on package usage, please refer to the README in model repo.

Evaluation#

Results#

See the preprint for the latest benchmark results and evaluations.

Model perplexity on held-out test sequences for Dayhoff models.

ModelUniRef50GigaRefAligned homologsUnaligned homologs
170m-UR5011.6211.88
170m-UR9011.5211.85
170m-GR13.679.36
170m-UR50-BRn11.7812.03
170m-UR50-BRq11.6711.91
170m-UR50-BRu11.6611.87
3b-UR908.959.64
3b-GR-HM11.956.684.344.60
3b-GR-HM-c10.119.213.573.56

Quality of generated sequences as measured by ESMFold pLDDT and scPerplexity. Dataset statistics are for 1024 randomly-sampled sequences. Model statistics are for 1024 generations at T=1 in the N-to-C direction.

Model or datasetpLDDT (mean ± s.d.)scPerplexity (mean ± s.d.)
Natural sequences
UniRef500.653 ± 0.1969.45 ± 2.89
GigaRef-clusters0.619 ± 0.1999.69 ± 2.83
GigaRef-singletons0.561 ± 0.20110.07 ± 2.88
Generated sequences
170m-UR500.421 ± 0.13211.97 ± 2.14
170m-UR900.407 ± 0.12512.12 ± 2.14
170m-GR0.422 ± 0.12911.83 ± 2.12
170m-UR50-BRu0.441 ± 0.15711.71 ± 2.18
170m-UR50-BRq0.434 ± 0.15211.72 ± 2.24
170m-UR50-BRn0.432 ± 0.13111.77 ± 2.24
3b-UR900.454 ± 0.15011.79 ± 2.38
3b-GR-HM0.406 ± 0.12611.50 ± 2.16
3b-GR-HM-c0.423 ± 0.13211.91 ± 2.18

ProteinGym zero-shot performance Spearman’s correlation coefficient on ProteinGym substitutions and indels.

InputModelParametersSubstitutionsIndels
Single sequence170m-UR50170M0.3530.479
170m-UR90170M0.3540.483
170m-GR170M0.1990.292
170m-UR50-BRu170M0.3410.476
170m-UR50-BRq170M0.3560.477
170m-UR50-BRn170M0.3410.478
3b-UR903B0.3940.497
3b-GR-HM3B0.3280.423
3b-GR-HM-c3B0.4170.466
Aligned homologs3b-GR-HM-c3B0.368NA
Unaligned homologs3b-GR-HM-c3B0.3720.401

RFDiffusion Benchmark Performance Motif scaffolding performance, problems solved, successes out of 100, and MotifBench score.

Problem170m-UR50170m-UR90170m-GR170m-UR50-BRn170m-UR50-BRq170m-UR50-BRu3b-UR903b-GR-HM3b-GR-HM-cEvoDiff-Seq
1PRW62728195919094817982
1BCF00500010807
5TPN0000000000
5IUS0000000000
3IXT12171214181218111420
5YUI0000000000
1QJG0000000000
1YCR2506762342
2KL80101011111
7MRX_6010000242090
7MRX_8500000019110
7MRX_1280000000000
4JHW0000000000
4ZYP0000010000
5WN90000000000
6VW11110010000
5TRV_short0000000000
5TRV_med0000000000
5TRV_long0000000000
6E6R_short22133214786
6E6R_med0120024020
6E6R_long0100013010
6EXZ_short0000000000
6EXZ_med0000000000
6EXZ_long0000000000
Problems solved686541010796
Successes80100102119119118207112119118
Score9.6512.256.107.2610.6214.3616.3211.9014.147.67

MotifBench Benchmark Performance Motif scaffolding performance, problems solved, successes out of 100, and MotifBench score.

Problem170m-UR50170m-UR90170m-GR170m-UR50-BRn170m-UR50-BRq170m-UR50-BRu3b-UR903b-GR-HM3b-GR-HM-cEvoDiff-Seq
01_1LDB113001202120
02_1ITU43341143757480
03_2CGA0000000000
04_5WN90000000000
05_5ZE90121000164090
06_6E6R1111216312
07_6E6R0002002000
08_7AD50000000000
09_7CG50000000000
10_7WRK0000000000
11_3TQB4113437408260
12_4JHW0000000000
13_4JHW0000000000
14_5IUS0000000000
15_7A8S0000000000
16_7BNY0000000000
17_7DGW0000000000
18_7MQQ0000000000
19_7MQQ0000000000
20_7UWL0000000000
21_1B730000000000
22_1BCF003000209019
23_1MPY0000000000
24_1QY30000000000
35_2RKX0000000000
36_3B5V0000000000
37_4XOJ0000000000
28_5YUI0000000000
29_6CPA0000000000
30_7UWL0000000000
Problems4564347652
Successes10473586131411199621
Score2.332.924.332.752.172.758.364.964.481.58

Technical Specifications#

Compute Infrastructure#
  • 170M-parameter models: trained on 8 NVIDIA A100 or 8 NVIDIA H100 GPUs using Distributed Data Parallel.
  • 3B-parameter models: trained on 176 NVIDIA H100 GPUs using Fully Sharded Data Parallel in hybrid-shard mode.

Responsible AI Considerations#

The intended use of this model is to generate high-quality, realistic, protein sequences or sets of homologous protein sequences. Generations can be designed from scratch or conditioned on partial sequences in both N→C and C→N directions.

The code and datasets released in this repository are provided for research and development use only. They are not intended for use in clinical decision-making or for any other clinical use, and the performance of these models for clinical use has not been established. You bear sole responsibility for any use of these models, data and software, including incorporation into any product intended for clinical use.

Citation#

If you use the code, data, models, or results. please cite our preprint.

Data Summary#

https://huggingface.co/microsoft/Dayhoff-170m-GR/blob/main/data_summary_card.md

Files

11 files · 681 MBWeights 681 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE1.07 KB18d3bb3458bb9dabcdf5e74dacf256a339b8a6486338ab09a97ba865d3214928
README.md19.2 KBaae0dbfb0e4966385b1bf162aaa69c0fc6d9d9b0cff5d99edfbf4ff6d0968075
__init__.py0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
config.json1.01 KB70c053b00881f95059ddc76f5d1e31ae7583b32f469d1d85a4e8b8a807be1cac
data_summary_card.md4.30 KB448e4bdae137e2de7bde8206a797cba3756ea4d9fd631c66094c30ebaca80328
generation_config.json157 B3df96bf553410c421fddbc855f9a8683a6ecd9ea2ed774bad5c4820dc0940ca1
model.safetensors681 MB261ac486345a4fe2103b92653195200b78333a7d4f791a92b1c7754a8f4bb5c5
special_tokens_map.json669 B15e65631cde31d924956236b1e6646fbfd9b2288a55aa4c36ce9d76252d532c5
tokenizer_config.json1.16 KBa6ae320b46c0d8679162a40776c41ae3b88cf58fcfe6c658ac597487b42fafb2
tokenizers.py4.25 KB5b0506f920fca619cbdc9c6ec9ace7f15e891d60c4706cd21a3bd3601dd29191
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3d056c67da pinned now2026-11-15 03:51 UTC11 files · 681 MB

Use it

$ fw get microsoft/Dayhoff-170m-GR
# manifest sha256 6258887181ff… · 681 MB · 11 files
$ fw verify ./Dayhoff-170m-GR microsoft/Dayhoff-170m-GR
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/Dayhoff-170m-GR.json --dir ./Dayhoff-170m-GR $ python3 fw.py verify ./Dayhoff-170m-GR ./microsoft__Dayhoff-170m-GR.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/Dayhoff-170m-GR --revision 3d056c67da1a97a2f2590711803c4acd546633d4 --local-dir ./Dayhoff-170m-GR
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/Dayhoff-170m-GR", revision="3d056c67da1a97a2f2590711803c4acd546633d4") model = AutoModelForCausalLM.from_pretrained("microsoft/Dayhoff-170m-GR", revision="3d056c67da1a97a2f2590711803c4acd546633d4", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve microsoft/Dayhoff-170m-GR --revision 3d056c67da1a97a2f2590711803c4acd546633d4

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
18d3bb3458bb9dabcdf5e74dacf256a339b8a6486338ab09a97ba865d3214928
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: Dayhoff-170m-GRDate: 2026-11-15Commit: 3d056c6Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/Dayhoff-170m-GR
Pinned commit
3d056c67da1a97a2f2590711803c4acd546633d4
Manifest
Dayhoff-170m-GR.json · .minisig
Manifest sha256
6258887181ff71d483a99ac96538f0a496d0900639f6f9e166d60a7ec849a076
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:51 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/Dayhoff-170m-GR.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/Dayhoff-170m-GR.json.minisig $ minisign -Vm Dayhoff-170m-GR.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/Dayhoff-170m-GR
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Dayhoff-170m-GR.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