Run this model with HF Jobs
Run Synthyra/ESMplusplus_small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Synthyra/ESMplusplus_small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Synthyra/ESMplusplus_small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Synthyra/ESMplusplus_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESMplusplus_small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Synthyra/ESMplusplus_small", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Synthyra/ESMplusplus_small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Improve generated model cards
Browse filesAdd-only FastPLMs files-only publication. Checkpoint weights and complete-artifact attestations are unchanged.
7 unmodified lines8910111213141516171819202122232425262728293031323334357 unmodified lines43444546474849505111 unmodified lines6364656667686970717273747576777879228 unmodified lines3083093103113123133143153163173183193203213223233243253263273283293303313 unmodified lines3353363373383393403413423433443453463473487 unmodified lines<!-- Generated from src/fastplms/models.toml. Do not edit. --># Synthyra/ESMplusplus_smallThis checkpoint contains the FastPLMs `ESMC` implementation.Accepted inputs are amino-acid sequences tokenized to residue IDs.Supported Transformers entry points are `AutoConfig`, `AutoModel`,`AutoModelForMaskedLM`, `AutoModelForSequenceClassification`,`AutoModelForTokenClassification`.## Capabilities| Feature | Status || --- | --- || Sequence classification | Supported: base weights with an untrained task head || Token classification | Supported: base weights with an untrained task head || PEFT fine-tuning | Supported pattern: preserve the separately trained `classifier` || Embeddings | Supported: shared ordered embedding API || Test-time training | Supported: low-rank masked-residue adaptation || Attention variants | Special: SDPA fidelity path; alternate backends have explicit bands || Compliance | Declared: exact release evidence is required |A supported interface is not a pretrained downstream predictor. Classification heads start untrained. Compliance metadata does not show that a local build passed its release gate.## Install and platform requirements7 unmodified linesThe FastPLMs implementation itself is embedded in the model repository.Transformers loads it through `trust_remote_code=True`.This model requires Python 3.11-3.14, PyTorch 2.13, and Transformers 5.13. The artifact requirements include the FlashAttention loader dependency. FlashAttention also requires compatible CUDA hardware and BF16 execution. The Hub quick start needs network access forthe first download. For an air-gapped run, build the manifest-pinned localartifact first and use the offline example.## Quick start11 unmodified linesFor offline validation, replace `model_id` with the manifest-built`dist/hub/ESMplusplus_small` path. Pass `local_files_only=True`.## Attention and complianceThe quick start selects `sdpa` explicitly. Declared variants are `eager`, `sdpa`, `flex_attention`, `flash_attention_2`,`flash_attention_3`. An unavailable requested backend raises. It does notsilently change implementation.`output_attentions=True` can use the documented one-call eager fallback tomaterialize attention tensors. The configured backend does not change.This family declares the `compliance` tier. Release evidence identifies thecheckpoint, backend, dtype, hardware, inputs, and reference revision.## Tokenization and forward inferenceLoad the tokenizer from the same artifact as the model. The attention mask228 unmodified lines[release evidence manifest](https://github.com/Synthyra/FastPLMs/blob/main/docs/generated/capability_evidence.md).## Runtime contract- Public input: Amino-acid sequences tokenized to residue IDs- Advertised AutoClasses: `AutoConfig`, `AutoModel`, `AutoModelForMaskedLM`, `AutoModelForSequenceClassification`, `AutoModelForTokenClassification`- AutoClass weight status: `AutoConfig` = `FastPLMs extension`, `AutoModel` = `pretrained`, `AutoModelForMaskedLM` = `pretrained`, `AutoModelForSequenceClassification` = `base weights + untrained task head`, `AutoModelForTokenClassification` = `base weights + untrained task head`- Attention implementations: `eager`, `sdpa`, `flex_attention`, `flash_attention_2`, `flash_attention_3`- Precision policies: `default`, `fp8` (experimental)- BF16 execution: `static_parameters`- Generation contract: `not_applicable`- Artifact dependency set: `core`- Weight publication allowed: `true`- Weight license status: `resolved`- Redistributable: `true`- Complete weight publication required: `false`## Release record- FastPLMs weights: `Synthyra/ESMplusplus_small`- Runtime revision: recorded separately in the built artifact and published commit- Runtime source identities: recorded in `source-record.json`- Official checkpoint: `biohub/ESMC-300M`3 unmodified lines- Release tiers: `check`, `compliance`, `feature`, `artifact`, `benchmark`- Unresolved required file identities: `0`The source record records exact file identities, conversion, source revisions,legal texts, schema, and attestations. A nonzero unresolved count blocks a release.## Validation boundaryDeclared tiers compare configuration, tokenizer behavior, state, andrepresentative inference with the pinned reference. Metadata does not show thata build passed, that a backend is faster, or that an output is biologically valid.## License7 unmodified lines89101112131415161718192021222324252627287 unmodified lines363738394041424344454647484911 unmodified lines6162636465666768697071727374757677228 unmodified lines3063073083093103113123133143153163173183193203213223233243253263273283293303313323333 unmodified lines3373383393403413423433443453463473483497 unmodified lines<!-- Generated from src/fastplms/models.toml. Do not edit. --># ESM++ Small## Model overview`Synthyra/ESMplusplus_small` packages the `biohub/ESMC-300M` checkpoint withthe FastPLMs runtime for Hugging Face Transformers. It accepts amino-acidsequences tokenized to residue IDs.The repository uses the standard Transformers loading interface with`trust_remote_code=True`. See Technical details for each registered class andwhether its weights come from the checkpoint.The sequence- and token-classification classes reuse the pretrained backbone,but their task heads are newly initialized. Fine-tune those heads beforeinterpreting their logits as predictions.## Install and platform requirements7 unmodified linesThe FastPLMs implementation itself is embedded in the model repository.Transformers loads it through `trust_remote_code=True`.This model requires Python 3.11-3.14, PyTorch 2.13, and Transformers 5.13.The artifact requirements include the FlashAttention loader dependency.FlashAttention also requires compatible CUDA hardware and BF16 execution.The Hub quick start needs network access for the first download. For anair-gapped run, build the manifest-pinned local artifact first and use theoffline example.## Quick start11 unmodified linesFor offline validation, replace `model_id` with the manifest-built`dist/hub/ESMplusplus_small` path. Pass `local_files_only=True`.## Attention backendsThe quick start uses `sdpa`.Available backends are `eager`, `sdpa`, `flex_attention`, `flash_attention_2`,`flash_attention_3`. Requesting an unavailable backend raises instead ofsilently changing implementation.`output_attentions=True` can use the documented one-call eager fallback tomaterialize attention tensors. The configured backend does not change.## Tokenization and forward inferenceLoad the tokenizer from the same artifact as the model. The attention mask228 unmodified lines[release evidence manifest](https://github.com/Synthyra/FastPLMs/blob/main/docs/generated/capability_evidence.md).## Technical details- Inputs: Amino-acid sequences tokenized to residue IDs- Transformers classes: `AutoConfig`, `AutoModel`, `AutoModelForMaskedLM`, `AutoModelForSequenceClassification`, `AutoModelForTokenClassification`- Checkpoint weights: `AutoConfig` = `FastPLMs extension`, `AutoModel` = `pretrained`, `AutoModelForMaskedLM` = `pretrained`, `AutoModelForSequenceClassification` = `base weights + untrained task head`, `AutoModelForTokenClassification` = `base weights + untrained task head`- Attention backends: `eager`, `sdpa`, `flex_attention`, `flash_attention_2`, `flash_attention_3`- Precision: `default`, `fp8` (experimental)- BF16 execution: `static_parameters`- Generation contract: `not_applicable`- Dependencies: `core`- Weight publication allowed: `true`- Weight license status: `resolved`- Redistributable: `true`- Complete weight publication required: `false`## Validation and provenanceFastPLMs pins the checkpoint, upstream source revisions, state transformation,and required files in `models.toml`. Built artifacts record exact sourceidentities and conversion details in `source-record.json`.- FastPLMs checkpoint: `Synthyra/ESMplusplus_small`- Runtime revision: recorded separately in the built artifact and published commit- Runtime source identities: recorded in `source-record.json`- Official checkpoint: `biohub/ESMC-300M`3 unmodified lines- Release tiers: `check`, `compliance`, `feature`, `artifact`, `benchmark`- Unresolved required file identities: `0`Release validation includes the `compliance` tier. Its evidence identifies thecheckpoint, backend, dtype, hardware, inputs, and reference revision.Declared tiers compare configuration, tokenizer behavior, state, andrepresentative inference with the pinned reference. A nonzero unresolved countblocks release. Metadata alone does not show that a build passed, that a backendis faster, or that an output is biologically valid.## License
README.md+44-43