Cerebras/modelzoo-staging
forked from Cerebras/modelzoo
Captured source
source ↗Cerebras/modelzoo-staging
Language: Python
License: Apache-2.0
Stars: 0
Forks: 0
Open issues: 0
Created: 2023-03-28T13:02:42Z
Pushed: 2026-03-10T15:16:43Z
Default branch: main
Fork: yes
Parent repository: Cerebras/modelzoo
Archived: no
README:
Cerebras Model Zoo
Introduction
This repository contains examples of common deep learning models that can be trained on Cerebras hardware. These models demonstrate the best practices for coding a model targeted at the Cerebras hardware so that you can take full advantage of this new powerful compute engine.
In order to get started with running your models on a Cerebras system, please refer to the Developer Documentation along with this readme.
NOTE: If you are interested in trying out Cerebras Model Zoo on Cerebras Hardware (CS-2 Systems), we offer the following options:
- Academics - Please fill out our Partner Hardware Access Request form here and we will contact you about gaining access to a system from one of our partners.
- Commercial - Please fill out our Get Demo form [here]( https://www.cerebras.net/get-demo/) so that our team can provide you with a demo and discuss access to our system.
- For all others - Please contact us at developer@cerebras.net.
For a list of all supported models, please check [models in this repository](#models-in-this-repository).
Installation
To install the Cerebras Model Zoo on the CSX system, please follow the instructions in [PYTHON-SETUP.md](./PYTHON-SETUP.md).
Supported frameworks
We support the models developed in PyTorch.
Basic workflow
When you are targeting the Cerebras Wafer-Scale Cluster for your neural network jobs, please follow the quick start guide from the developer docs to compile, validate and train the models in this Model Zoo for the framework of your choice.
For advanced use cases and porting your existing code please refer to the developer docs.
Models in this repository
| Model | Code pointer | |:-------|:-----------------------:| | BERT | [Code](./modelzoo/transformers/pytorch/bert/) | | BERT (fine-tuning) Classifier | [Code](./modelzoo/transformers/pytorch/bert/fine_tuning/classifier/) | | BERT (fine-tuning) Named Entity Recognition | [Code](./modelzoo/transformers/pytorch/bert/fine_tuning/token_classifier/) | | BERT (fine-tuning) Summarization | [Code](./modelzoo/transformers/pytorch/bert/fine_tuning/extractive_summarization/) | | BERT (fine-tuning) Question Answering | [Code](./modelzoo/transformers/pytorch/bert/fine_tuning/qa/) | | BLOOM | [Code](./modelzoo/transformers/pytorch/bloom/) | | BTLM | [Code](./modelzoo/transformers/pytorch/btlm/) | | GPT-2 | [Code](./modelzoo/transformers/pytorch/gpt2/) | | GPT-3 | [Code](./modelzoo/transformers/pytorch/gpt3/) | | GPT-J | [Code](./modelzoo/transformers/pytorch/gptj/) | | GPT-NeoX | [Code](./modelzoo/transformers/pytorch/gptj/) | | GPT-J (fine-tuning) Summarization |[Code](./modelzoo/transformers/pytorch/gptj/fine_tuning/continuous_pretraining/) | | RoBERTa | [Code](./modelzoo/transformers/pytorch/bert/) | | T5 | [Code](./modelzoo/transformers/pytorch/t5/) | | Transformer | [Code](./modelzoo/transformers/pytorch/transformer/) | | MNIST (fully connected) | [Code](./modelzoo/fc_mnist/pytorch/) | | UNet | [Code](./modelzoo/vision/pytorch/unet/) |
License
[Apache License 2.0](./LICENSE)