benchang1110
commited on
Commit
•
d85f539
1
Parent(s):
2ccd128
Upload config
Browse files
configuration_taivisionlm.py
CHANGED
@@ -102,9 +102,4 @@ class TaiVisionLMConfig(PretrainedConfig):
|
|
102 |
output = super().to_dict()
|
103 |
output.pop("_vocab_size", None)
|
104 |
return output
|
105 |
-
|
106 |
-
if __name__ == "__main__":
|
107 |
-
config = TaiVisionLMConfig()
|
108 |
-
TaiVisionLMConfig.register_for_auto_class()
|
109 |
-
config.push_to_hub("benchang1110/TaiVision-base")
|
110 |
-
config.save_pretrained("./")
|
|
|
102 |
output = super().to_dict()
|
103 |
output.pop("_vocab_size", None)
|
104 |
return output
|
105 |
+
|
|
|
|
|
|
|
|
|
|