Skip to content

Commit

Permalink
Improve style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibvafa committed Sep 20, 2024
1 parent dfd11f6 commit e6c3ed5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CodonTransformer/CodonPrediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def predict_dna_sequence(
if deterministic:
predicted_indices = logits.argmax(dim=-1).squeeze().tolist()
else:
# Use the standalone non-deterministic sampling function
predicted_indices = sample_non_deterministic(
logits=logits, temperature=temperature, top_p=top_p
)
Expand Down

0 comments on commit e6c3ed5

Please sign in to comment.