Skip to content
Discussion options

You must be logged in to vote

Hi @cjer, as you noted, freezing transformers is not supported yet - and unfortunately I can't give you any useful recommendations on how to effectively circumvent this particular issue at the moment.

Looking at what you actually want to achieve, there might be a workaround though. You mention that you have several NER models and finally merge their results. You are doing this because you want overlapping entities and the NER model doesn't allow for that, correct?

In that case you may want to consider switching to spancat (give this a read, if you haven't yet; docs). Spans can overlap there, so you could use a single model and thus avoid freezing the transfomer.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by svlandeg
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
Labels
feat / ner Feature: Named Entity Recognizer feat / training Feature: Training utils, Example, Corpus and converters feat / transformer Feature: Transformer
3 participants