Skip to content

Commit

Permalink
example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Zulkower committed Nov 1, 2024
1 parent ed95861 commit 779ebfc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ Note that you can get esm predictions by using `esm_masked_inference_params` in
from ginkgo_ai_client import GinkgoAIClient, three_utr_mean_embedding_params

client = GinkgoAIClient()
prediction = client.query(three_utr_mean_embedding_params("MPKRRL"))
prediction = client.query(three_utr_mean_embedding_params("ATTGCG"))
# prediction["embedding"] == [1.05, -2.34, ...]

predictions = client.batch_query([
three_utr_mean_embedding_params("MPKRRL"),
three_utr_mean_embedding_params("MRL"),
three_utr_mean_embedding_params("MLLMR"),
three_utr_mean_embedding_params("ATTGCG"),
three_utr_mean_embedding_params("CAATGC"),
three_utr_mean_embedding_params("GCGCACATGT"),
])
# predictions[0]["result"]["embedding"] == [1.05, -2.34, ...]
```
Expand Down

0 comments on commit 779ebfc

Please sign in to comment.