Skip to content

Commit

Permalink
Update README.md (#153)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Thomas <[email protected]>
  • Loading branch information
thomas-a-neil authored Dec 4, 2024
1 parent 30eb907 commit 5604523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ from esm.sdk.api import ESMProtein, LogitsConfig

# Apply for forge access and get an access token
forge_client = ESM3ForgeInferenceClient(model="esmc-6b-2024-12", url="https://forge.evolutionaryscale.ai", token="<your forge token>")
protein = ESMProtein(sequence="AAAAA")
protein_tensor = forge_client.encode(protein)
logits_output = forge_client.logits(
protein_tensor, LogitsConfig(sequence=True, return_embeddings=True)
Expand Down

0 comments on commit 5604523

Please sign in to comment.