Skip to content

Does Candle have an implementation of the classification head for BERT or should I implement it myself? #425

Answered by Narsil
manifest asked this question in Q&A
Discussion options

You must be logged in to vote

You can definitely share the example, it'll help others for sure.

As for the inclusion within candle-transformers, I'm not sure we have taken a stance on implementing all the potential heads in transformers. So we might not merge it or not soon. Currently bert is mostly used (to the best of my knowledge) for RAG implementations, which is why it has the current form. Adding the classification in client code seems the most reasonable for me at the present.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by manifest
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants