lhallee commited on
Commit
fef6b8f
·
verified ·
1 Parent(s): 40626be

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  library_name: transformers
3
  tags:
4
- - biology
5
- - protein-structure
6
- - esmfold2
7
- - multimodal-protein-model
8
  ---
9
 
10
  # FastPLMs ESMFold2
@@ -20,12 +20,12 @@ from transformers import AutoModel
20
  model = AutoModel.from_pretrained(
21
  "Synthyra/ESMFold2-Fast",
22
  trust_remote_code=True,
23
- dtype=torch.bfloat16,
24
- device_map="cuda",
25
- ).eval()
26
  ```
27
 
28
  Use `Synthyra/ESMFold2` for the full model and `Synthyra/ESMFold2-Fast` for the faster release variant.
 
29
 
30
  ## Fold One Protein
31
 
 
1
  ---
2
  library_name: transformers
3
  tags:
4
+ - biology
5
+ - protein-structure
6
+ - esmfold2
7
+ - multimodal-protein-model
8
  ---
9
 
10
  # FastPLMs ESMFold2
 
20
  model = AutoModel.from_pretrained(
21
  "Synthyra/ESMFold2-Fast",
22
  trust_remote_code=True,
23
+ dtype=torch.float32,
24
+ ).eval().cuda()
 
25
  ```
26
 
27
  Use `Synthyra/ESMFold2` for the full model and `Synthyra/ESMFold2-Fast` for the faster release variant.
28
+ The folding trunk runs in fp32; the 6B ESMC backbone is loaded in bf16 by default via `esmc_precision="bf16"`.
29
 
30
  ## Fold One Protein
31