Skip to content

Token healing? #752

Closed Answered by yonitjio
yonitjio asked this question in Q&A
Apr 11, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi, sorry for the very late reply.

I experienced this when I was experimenting with guidance library to create a chat bot.
I can't give you a full repro case because it's random occurrences.

And since it's a minor issue with my experiment, I just stripped it out and never look at it again.

sql = re.sub(r'(<s>|</s>)', '', sql).strip()

If you want to take a look at my source it's here

But I doubt you want to install the entire software to test it, so I'm gonna close this for now.

Thanks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yonitjio
Comment options

Answer selected by yonitjio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants