This repository aims to explain and animate complex Machine Learning research papers using Manim Community Edition. The goal is to make advanced ML concepts more accessible and understandable through high-quality visual explanations.
Each animation is typically contained within its own directory (e.g., BERT/).
-
Clone the Repository:
git clone https://github.com/your-username/ML-Manim_Animations.git cd ML-Manim_Animations -
Install ManimCE: If you haven't already, install Manim Community Edition. It's highly recommended to use a virtual environment.
pip install manim
For more detailed installation instructions, refer to the ManimCE Documentation.
-
Run an Animation: Navigate to the directory of the animation you want to render and run the
main.pyscript. For example, to render the BERT animation:cd BERT manim -pql main.py BERTBreakthroughOr to render the GPT animation:
cd GPT manim -pql main.py GPTPaperAnimation-p: Plays the animation after rendering.-q l: Renders in low quality (for quick previews). Use-q hfor high quality (1080p) or-q kfor 4K.-l: Leaves the progress bars (if configured inmain.py).
The rendered video will be saved in
BERT/media/videos/1080p60/(or similar, depending on quality settings).
Contributions are welcome! If you'd like to contribute an animation for a research paper:
- Fork the repository.
- Create a new directory for your paper (e.g.,
YourPaperName/). - Add your Manim Python script (
main.py) and any necessary media files. - Update the
README.mdwith an entry for your new paper and animation. - Submit a Pull Request.
Please ensure your animations are clear, accurate, and well-commented.
This project is open-sourced under the MIT license. See the LICENSE file for details.