Load Custom Local Transform Model in config.cfg #9767
-
Hi people! I'm trying to fine-tune with a portuguese BERT trained in legal documents, but this BERT isn't in huggingface hub. At my config.cfg in portuguese setting generated in spaCy web, I got:
This bert-base-portuguese-cased is the default portuguese model on spaCy setting, instead of this I want to load other portuguese custom BERT from local path, and this model isn't in huggingface, but in local with structure:
How could I load this model from local path in config settings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, the |
Beta Was this translation helpful? Give feedback.
Hi, the
name
can be anything that can be loaded byAutoModel.from_pretrained
, including a path to a local directory rather than a model from the huggingface hub.