Skip to content

Commit

Permalink
tweaks to mrna_foundation diffusion parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Zulkower committed Jan 10, 2025
1 parent 212b842 commit 81bc0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ginkgo_ai_client/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,13 +502,13 @@ def to_request_params(self) -> Dict:
"species": self.species,
"temperature": self.temperature,
"decoding_order_strategy": self.decoding_order_strategy,
"num_to_decode_per_step": self.unmaskings_per_step,
"unmaskings_per_step": self.unmaskings_per_step,
"num_samples": self.num_samples,
}
return {
"model": self.model,
"text": json.dumps(data),
"transforms": [{"type": "GENERATE"}],
"transforms": [{"type": "MRNA_DIFFUSION_GENERATE"}],
}

def parse_response(self, results: Dict) -> MultimodalDiffusionMaskedResponse:
Expand Down

0 comments on commit 81bc0ee

Please sign in to comment.