Track and Collaborate on AI Experiments with MLtraq

elehcimd

Michele Dallachiesa

Posted on March 5, 2024

Track and Collaborate on AI Experiments with MLtraq

MLtraq is an open-source Python library for AI developers to design, execute and share experiments. Track anything, stream, reproduce, collaborate, and resume the computation state anywhere.

Example: Parallel execution of runs

MLtraq lets you analyze the result of thousands of AI experiments modeled as state monads after executing them in parallel in just a few lines of code:

from random import uniform

from mltraq import Run, create_experiment


def step(run: Run):
    run.fields.v = uniform(0, 1)


create_experiment(). \
  add_runs(i=range(1000)). \
  execute(step). \
  runs.df().v.mean()
Enter fullscreen mode Exit fullscreen mode

Follow me and the #mltraq hashtag for more.

💖 💪 🙅 🚩
elehcimd
Michele Dallachiesa

Posted on March 5, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related