Instructions to use replicate/megablocks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/megablocks with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/megablocks", version=1) - Notebooks
- Google Colab
- Kaggle
Download .gitignore from replicate/megablocks: direct link, hf CLI and curl.
- Browser
- Download file 56 Bytes
-
https://huggingface.co/replicate/megablocks/resolve/main/.gitignore
- Command line
-
hf download hf://replicate/megablocks/.gitignore
-
curl -L -o .gitignore https://huggingface.co/replicate/megablocks/resolve/main/.gitignore
56 Bytes
| .venv | |
| __pycache__ | |
| .bak | |
| megablocks-moe/.bak | |
| .pytest_cache |