Add reference to config class
Browse files- model_flowformer.py +2 -0
model_flowformer.py
CHANGED
|
@@ -71,6 +71,8 @@ class Flowformer(PreTrainedModel):
|
|
| 71 |
Initializing with a config file does not load the weights associated with the model, only the
|
| 72 |
configuration. Check out the [`~PreTrainedModel.from_pretrained`] method to load the model weights.
|
| 73 |
"""
|
|
|
|
|
|
|
| 74 |
def __init__(self, config: FlowformerConfig):
|
| 75 |
super().__init__(config)
|
| 76 |
|
|
|
|
| 71 |
Initializing with a config file does not load the weights associated with the model, only the
|
| 72 |
configuration. Check out the [`~PreTrainedModel.from_pretrained`] method to load the model weights.
|
| 73 |
"""
|
| 74 |
+
config_class = FlowformerConfig
|
| 75 |
+
|
| 76 |
def __init__(self, config: FlowformerConfig):
|
| 77 |
super().__init__(config)
|
| 78 |
|