kelu01 commited on
Commit
f923d07
·
verified ·
1 Parent(s): df5993e

Update pipe.py

Browse files
Files changed (1) hide show
  1. pipe.py +1 -1
pipe.py CHANGED
@@ -79,7 +79,7 @@ class SmilesDiffusionPipe(Pipeline):
79
  return torch.multinomial(probs, 1)
80
 
81
 
82
- def unmask_smiles_argmax(self, input_ids, model, voc):
83
  """
84
  Unmasks all [MASK] tokens in a single forward pass using argmax decoding.
85
  """
 
79
  return torch.multinomial(probs, 1)
80
 
81
 
82
+ def unmask_partial_smiles(self, input_ids, model, voc):
83
  """
84
  Unmasks all [MASK] tokens in a single forward pass using argmax decoding.
85
  """