#92 · Primary category: Foundation Models
torchscale
Foundation Architecture for (M)LLMs
Project last updated:04/11/24
GitHub Stars
3.1K
Forks
225
Contributors
16
License
MIT
Why we included this project
TorchScale is a PyTorch library from Microsoft where several well-known model architecture innovations live as working code, including RetNet, LongNet, BitNet, and X-MoE. Instead of reimplementing attention or normalization yourself, you can switch these designs in through config flags, which makes it a practical starting point for reproducing papers or comparing alternative LLM backbones before committing to one. The code is reasonably concise and installs with a single pip command. It is primarily a collection of architecture primitives and research code rather than a turnkey pretrained model you can deploy directly, so plan to build on it rather than use it out of the box.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities