Grok AI source code and weights
AI summary of the linked articleThis repository provides JAX example code for loading and running Grok-1, an open-weights model, with its weights available via torrent or the HuggingFace Hub. The model has 314B parameters and uses a Mixture of 8 Experts architecture with 2 experts used per token, 64 layers, and a maximum context of 8,192 tokens. The text notes that the MoE implementation is not efficient and was chosen to avoid custom kernels when validating model correctness, and that testing requires a machine with substantial GPU memory. The code and weights are licensed under Apache 2.0. |
Recommended by 4 curators |
2 comments timSubmitter I know other people have said this too, but it is true: that model's source code is remarkably lean considering the complexity the tool can handle. This is really cool! I like that there's pressure to be any degree more transparent. Grok is a sparse model, only 8-bit precision weights, but even this is more information than what GPT-4 has presented. I'd love to see the performance after tacking on the Hermes function-calling ( https://github.com/NousResearch/Hermes-Function-Calling ). gotta stock up on popcorn, though, because who knows what releases in the coming weeks. |
