fahr

01/22/2019 Data.

fahr is a proof-of-concept Python CLI for training machine learning models remotely. Basically fahr does all of the work of packaging your model training script, shipping it on the cloud (via AWS SageMaker or Kaggle Kernels), and reading back to local disk for you.

fahr grew out of my experience trying to use AWS SageMaker (prior to its late 2019 SageMaker Studio facelift) and finding it to be an incredibly frustrating developer experience. Curious if I could make something better, I built most of fahr over the course of three coffee-fueled days in January 2019.

You need two files, a requirements.txt files specifying code dependencies (conda.yml is also supported), and a .py file defining the model training code. You call fahr fit to launch the training job, then fahr fetch to get model outputs.

I later went on to work for spell.ml, an MLOps platform startup whose core offering provides a very similar product experience.

— Aleksey