• bytesurfer3's avatar
    Update pipeline.py- issue #63 (#65) · 1af5d25e
    bytesurfer3 authored
    The modification replaces this method with a token-based approach using a tokenizer. This tokenizes the entire prompt, identifies the token corresponding to the trigger word, removes it, and then decodes the modified tokens back into text.
    1af5d25e
pipeline.py 22.7 KB