Download configuration_sovythos.py from sovythos/Sovythos-66M-Base: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/sovythos/Sovythos-66M-Base/resolve/main/configuration_sovythos.py
- Command line
-
hf download hf://sovythos/Sovythos-66M-Base/configuration_sovythos.py
-
curl -L -o configuration_sovythos.py https://huggingface.co/sovythos/Sovythos-66M-Base/resolve/main/configuration_sovythos.py
459 Bytes
| from transformers import PretrainedConfig | |
| class SovythosConfig(PretrainedConfig): | |
| model_type = "sovythos" | |
| def __init__( | |
| self, | |
| vocab_size=32000, | |
| dim=512, | |
| heads=16, | |
| layers=12, | |
| block_size=512, | |
| **kwargs | |
| ): | |
| super().__init__(**kwargs) | |
| self.vocab_size = vocab_size | |
| self.dim = dim | |
| self.heads = heads | |
| self.layers = layers | |
| self.block_size = block_size |