Skip to content

When HuggaFace transformers model file has tokenizer_config.json and tokenizer.json,how config the config.cfg file? #8907

Discussion options

You must be logged in to vote

When you load a Transformer/HuggingFace model with spaCy, it uses the HuggingFace code, so even if the config file doesn't mention it the model can do other stuff, which might include loading json config files.

I'm a little unclear about what you're trying to do. Are you trying to customize the json config files, or does loading that model not work, or...? If you have tried something and it didn't work it'd be helpful to have any error messages you've gotten.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@baiziyuandyufei
Comment options

@polm
Comment options

Answer selected by baiziyuandyufei
Comment options

You must be logged in to vote
2 replies
@polm
Comment options

@polm
Comment options

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
Converted from issue

This discussion was converted from issue #8906 on August 09, 2021 05:56.