Skip to content

Commit

Permalink
Add random use case to docstring of predict_dna_sequence.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibvafa committed Sep 20, 2024
1 parent 59e4c5c commit c655e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CodonTransformer/CodonPrediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def predict_dna_sequence(
... deterministic=True
... )
>>>
>>> # Predict DNA sequence with medium randomness
>>> # Predict DNA sequence with low randomness
>>> output_random = predict_dna_sequence(
... protein=protein,
... organism=organism,
Expand All @@ -132,7 +132,7 @@ def predict_dna_sequence(
... model=model,
... attention_type="original_full",
... deterministic=False,
... temperature=1.0
... temperature=0.2
... )
>>>
>>> print(format_model_output(output))
Expand Down

0 comments on commit c655e22

Please sign in to comment.