Is there a way to correctly load a pre-trained transformers model without the configuration file?

The “files” are probably the ones that they used for training. So you get the paths to the files, but you probably do not have access to that. But that should not matter as you won’t need that data anymore.

Yes, that is correct. This information should also be in the config file under a key “vocab_size”. But it might be that they gave you the wrong config, as you state in your first post. Best to ask them for the correct one so that you are sure that the other parameters are correct as well.

1 Like