Update model.py
Browse files
model.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import PretrainedConfig, PreTrainedModel
|
|
| 4 |
|
| 5 |
# 1. Custom configuration class required by Hugging Face auto_map
|
| 6 |
class TransformConfig(PretrainedConfig):
|
| 7 |
-
|
| 8 |
def __init__(self, **kwargs):
|
| 9 |
super().__init__(**kwargs)
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
# 1. Custom configuration class required by Hugging Face auto_map
|
| 6 |
class TransformConfig(PretrainedConfig):
|
| 7 |
+
model_type = "brawnz_style_transfer"
|
| 8 |
def __init__(self, **kwargs):
|
| 9 |
super().__init__(**kwargs)
|
| 10 |
|