HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jeeceebees

no profile record

コメント

jeeceebees
·2 年前·議論
You can just mask the output probabilities for each token based on which options are valid according to a grammar.

There are quite a few open source implementations of this e.g. https://github.com/outlines-dev/outlines