-
Dear community, let's say I add new tokens into the model vocabulary. E.g. class Response(BaseModel):
answer: constr(pattern='^\[OUTLINES!\](code_\d+){4}$') Does the constraint take care about the existance of the additional tokens or does it constrain on the original model's vocabulary? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
denadai2
Jan 2, 2025
Replies: 1 comment 1 reply
-
It outputs the special token correctly! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
denadai2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It outputs the special token correctly!