esm
यह क्या करती है
यह टूल ESM नाम के toolkit का इस्तेमाल करके प्रोटीन के आकार बनाने, समझने और उनका अनुमान लगाने का काम करता है। यह नए protein sequences बना सकता है, मौजूदा sequences के लिए numerical representations (embeddings) बना सकता है, और प्रोटीन की 3D संरचना (folding) का अनुमान लगा सकता है।
कब इस्तेमाल करें
- ✓किसी पैटर्न के आधार पर नए protein sequences बनाने के लिए।
- ✓आगे के analysis के लिए protein sequence का numerical representation पाने के लिए।
- ✓किसी sequence से प्रोटीन की 3D संरचना का अनुमान लगाने के लिए।
Skill का लिंक
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/esm/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“पैटर्न 'MPRT___KEND' के आधार पर एक नया protein sequence बनाओ और फिर उसकी 3D संरचना का अनुमान लगाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप टूल को एक protein sequence या पैटर्न देते हैं। यह pre-trained models का इस्तेमाल करके नए sequences बनाता है, embeddings की गणना करता है, या 3D संरचना का अनुमान लगाता है। नतीजों को वापस देने से पहले गलतियों के लिए जाँचा जाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
ESM: protein generation, embeddings, and folding
When to use
Use for Biohub's esm SDK: ESM3 masked multimodal generation, ESMC sequence
representations, and ESMFold2 all-atom prediction. The former Forge platform
migrated to https://biohub.ai, including ESM3; SDK class names still contain
Forge. This skill targets the released esm 3.4.1.post1, verified against
its wheel and current official documentation.
fair-esm is Meta's separate, older ESM2/ESMFold/ESM-IF distribution. Both
packages import as esm; install them in separate environments. The legacy
esm.pretrained.esm2_* interface is not the Biohub ESMC interface. Hugging Face
Transformers' native ESMC implementation is another API: do not interchange its
version requirements or output types with this SDK.
Setup and model choice
uv venv --python 3.12 .venv-esm
uv pip install --python .venv-esm/bin/python "esm==3.4.1.post1"
The release declares Python >=3.12, Torch >=2.11,<2.12 and Transformers
=4.57.6,<5. Python 3.12, Torch 2.11.0 and Transformers 4.57.6 were tested on CPU. Linux x86_64 installs include GPU-specific dependencies; use a supported inference machine and budget disk space. Flash Attention is optional; it is unnecessary for the tiny CPU tests. Do not install this stack into a shared environment containing incompatible Transformers or Torch pins.
| Task | Local model/API | Hosted client/model |
|---|---|---|
| ESM3 sequence/structure/function generation | ESM3.from_pretrained("esm3-sm-open-v1") |
client("esm3-medium-2024-08"); small/large IDs in the ESM3 reference |
| ESMC embeddings | EsmcForMaskedLM and EsmcTokenizer; biohub/ESMC-300M, biohub/ESMC-600M, biohub/ESMC-6B |
esmc_client("esmc-600m-2024-12"); 300M/6B also documented |
| ESMFold2 all-atom structures | EsmFold2Model, ESMFold2InputBuilder; biohub/ESMFold2 |
esmfold2_client("esmfold2-fast-2026-05") |
ESMC 6B weights are now available locally. Current Biohub model cards identify
MIT licensing, with ESMC cards also linking third-party notices; review the
exact selected artifact's card and access requirements.
The older ESMC class remains as a deprecated compatibility wrapper. Local
model sizes, hosted availability and account quotas are different constraints;
a larger model does not guarantee better performance on a particular assay.
Workflow
- Specify the sequence/chain/residue mapping and whether the objective is
generation, representation extraction or folding. Preserve input IDs and
source provenance. Reject accidental
..., spaces, FASTA headers or gaps in plain single-chain sequences rather than silently deleting them. - Choose a local checkpoint or explicit hosted model ID. Record SDK, checkpoint revision, model settings, mask locations and random seed where supported.
- Check every SDK result for
ESMProteinError. Hosted failures may be returned as values. Use finite request timeouts, context managers and bounded concurrency. See hosted contracts. - Validate the output contract: sequence length and fixed residues, residue-only embedding axes, or chain/atom mapping and confidence. Keep model predictions separate from experimental validation.
- Save sequences/structures with settings and identifiers. Avoid caches keyed only by sequence when model, structure, function or generation settings differ.
ESM3 completion and fresh structure prediction
Illustrative pretrained inference; no weights or hosted jobs were run in this refresh. This toy sequence demonstrates API mechanics, not a functional design.
import torch
from esm.models.esm3 import ESM3
from esm.sdk.api import ESMProtein, ESMProteinError, GenerationConfig
model = ESM3.from_pretrained("esm3-sm-open-v1", device=torch.device("cpu"))
prompt = "MPRT___KEND"
completed = model.generate(
ESMProtein(sequence=prompt),
GenerationConfig(track="sequence", num_steps=3, temperature=0.7),
)
if isinstance(completed, ESMProteinError):
raise completed
assert completed.sequence is not None and len(completed.sequence) == len(prompt)
assert "_" not in completed.sequence
assert all(a == "_" or a == b for a, b in zip(prompt, completed.sequence))
# A fresh sequence-only prompt prevents old coordinates conditioning the check.
folded = model.generate(
ESMProtein(sequence=completed.sequence),
GenerationConfig(track="structure", num_steps=8),
)
if isinstance(folded, ESMProteinError):
…
अक्सर पूछे जाने वाले सवाल
ESM3, ESMC और ESMFold2 में क्या अंतर है?
ESM3 sequence और structure बनाने के लिए है। ESMC sequences के numerical representations (embeddings) बनाता है। ESMFold2 प्रोटीन की 3D संरचना (folding) का अनुमान लगाता है।
क्या मैं यह टूल अपने कंप्यूटर पर चला सकता हूँ?
हाँ, आप models को अपने कंप्यूटर पर install करके चला सकते हैं, लेकिन बड़े models के लिए आपको एक शक्तिशाली कंप्यूटर की ज़रूरत पड़ सकती है।
'embedding' क्या है?
यह किसी protein sequence को संख्याओं के एक समूह के रूप में दिखाने का तरीका है। इससे कंप्यूटर अलग-अलग sequences को समझ और तुलना कर पाते हैं।
जानकारी
लेखक का मूल विवरण
Uses the Biohub esm Python SDK for ESM3 protein generation, ESMC embeddings, and ESMFold2 all-atom folding. Applies to local model inference and Biohub hosted clients, including former Forge workflows; distinguishes the separate legacy fair-esm distribution.
लोकप्रियता
- GitHub स्टार
- 51k
- रैंकिंग में स्थान
- #3455
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
13c-metabolic-flux
51kकार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।
adaptyv
51kAdaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।
aeon
51kटाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।
alphagenome
51kजेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।