21 Downloads Updated 3 days ago
Fine-tuned Qwen2.5-Coder-14B-Instruct model specialized for generating clean, executable Manim code for mathematical visualizations and educational animations. Trained on dalle2/3blue1brown-manim dataset with 2,407 high-quality examples.
ollama run Maternion/qwen2.5-coder-manim:Q4_K_M
or
ollama run Maternion/qwen2.5-coder-manim:Q6_K
Input: “Create a circle that transforms into a square”
Output:
from manim import *
class CircleToSquare(Scene):
def construct(self):
circle = Circle(radius=2, color=BLUE)
square = Square(side_length=4, color=RED)
self.play(Create(circle))
self.wait(1)
self.play(Transform(circle, square), run_time=2)
self.wait(2)
FROM ./qwen-manim-complete-2-f16.gguf
PARAMETER temperature 0.3
PARAMETER top_p 0.8
PARAMETER top_k 40
PARAMETER repeat_penalty 1.1
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
TEMPLATE """<|im_start|>system
You are an expert in Manim version 0.19.0. Generate clean, executable code for mathematical animations based on user requests.<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
Built for mathematical education and beautiful animation generation!