Download configuration_storm_oracle.py from Wonder-Griffin/TorNet-Oracle: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/Wonder-Griffin/TorNet-Oracle/resolve/main/configuration_storm_oracle.py
- Command line
-
hf download hf://Wonder-Griffin/TorNet-Oracle/configuration_storm_oracle.py
-
curl -L -o configuration_storm_oracle.py https://huggingface.co/Wonder-Griffin/TorNet-Oracle/resolve/main/configuration_storm_oracle.py
360 Bytes
| from transformers import PretrainedConfig | |
| class StormOracleConfig(PretrainedConfig): | |
| model_type = "storm_oracle" | |
| def __init__(self, | |
| in_channels: int = 3, | |
| image_size: int = 256, | |
| **kwargs): | |
| super().__init__(**kwargs) | |
| self.in_channels = in_channels | |
| self.image_size = image_size | |