File size: 453 Bytes
57bdca5
 
 
 
 
 
1
2
3
4
5
6
As we will see in the next section, the model can only
take a config to be initialized, so we really need that object to be as complete as possible.

Models in the transformers library itself generally follow the convention that they accept a config object
in their __init__ method, and then pass the whole config to sub-layers in the model, rather than breaking the 
config object into multiple arguments that are all passed individually to sub-layers.