Skip to content

custom NER using transformer with spacy #12379

Discussion options

You must be logged in to vote

Hey, thanks for your question!
You can change to any HuggingFace Transformer model in the training config, given that it exists, like this:

[components.transformer.model]
@architectures = "spacy-transformers.TransformerModel.v3"
name = "roberta-base" <---- You can change the name here to any other HF🤗 model
tokenizer_config = {"use_fast": true}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Project-NSE
Comment options

Answer selected by thomashacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config feat / transformer Feature: Transformer
3 participants