Closed shubhamugare closed 4 months ago
Exposing SyncodeLogitsProcessor through syncode. This allows users to use SynCode with any HuggingFace model simply by importing
SyncodeLogitsProcessor
syncode
from syncode import SyncodeLogitsProcessor
and then providing the SyncodeLogitsProcessor in the generate method in the HF transformer model.
generate
Check notebooks/example_logits_processor.ipynb for its use
notebooks/example_logits_processor.ipynb
Exposing
SyncodeLogitsProcessor
throughsyncode
. This allows users to use SynCode with any HuggingFace model simply by importingand then providing the
SyncodeLogitsProcessor
in thegenerate
method in the HF transformer model.Check
notebooks/example_logits_processor.ipynb
for its use