Keeping up with data science’s intense pace of innovation is difficult for all of us. This problem is only compounded with the loss of a job, which comes with the loss of business problems to apply data science and machine learning to, the enterprise development tools utilized in order to do so, and the teammates to build solutions with. Job site Indeed has reported that data scientists have been the most negatively impacted positions within tech due to the coronavirus. However, the field continues to progress. Regardless of your current professional situation, there’s no such thing as staying still. If you are a machine learning developer or data scientist in the unfortunate position to have lost your job during the pandemic but are not working to improve your skills in these areas, you are absolutely getting passed by. I’ve spent the past 3 years helping data scientists and developers navigate the vast ecosystem of cloud and open source machine learning development tools, and wanted to recommend a workflow that enables end-to-end machine learning with a couple of services, all of which are free, to help keep skills sharp. Check out the ultimate free machine learning development stack here!
[Free Download: The ODSC Introduction to Machine Learning]
Object storage is critical to machine learning development, and provides a place to store training, test, and validation data sets as well as pretrained and fine-tuned models. It’s also a huge revenue generator for cloud companies, as AWS’ S3 is reported as its most popular service, so finding free and unlimited cloud object storage is quite difficult, but not impossible.
Algorithmia is a serverless machine learning deployment platform (more on deploying models below). There are a number of utilities that Algorithmia provides in order to facilitate the deployment of models, including free object storage. According to their documentation, “Algorithmia’s Data Sources make it easy to host your data files on the Algorithmia platform for free, while our Data API makes it a cinch to work with your hosted data.” Their Data API is available in Python and has a getFile()/putFile() structure that makes it easy to download and upload data sets, models, and other utilities that may facilitate machine learning. Data collections can be made public, shared between teams, or private, and is free to store and access.
Model Development and Training
There are a number of free, hosted Jupyter environments that can help in developing machine learning models. My favorite is Google Colab. Colab only requires a Google account to use and provides free access to GPUs, even including NVIDIA V100’s if you are lucky. It has very tight and very easy to use integrations with both GitHub and Weights and Biases (more on Weights and Biases later). I have prepared a notebook hosted on Colab as an introduction to the service and others mentioned in this article.
Hyperparameter Optimization and Monitoring
Hyperparameter optimization allows developers to vary aspects of a model in order to tune its training performance. Weights and Biases’ Sweeps automates HPO to explore a space of possible models. Sweeps provides a number of great features in addition to being a free service, including easy integration, early termination of poorly performing training sessions, and a variety of search strategies. Sweeps also decouples optimization from model training via their central sweep server, so multiple workers can iterate through a search space asynchronously and in parallel. Weights and Biases automatically logs model metrics as well, which can be used with or without hyperparameter optimization to monitor and visualize model training processes. Their monitoring allows easy tracking of machine learning projects in or to share or reproduce models and identify performant experiments. The monitoring is great in Jupyter enviroments, providing benefits such as automatic authentication in Colab and saving code sequentially based on when a cell was run, not where it appears in a notebook.
Weights and Biases is a free tool that can manage hyperparameter optimizations and track model training metrics
Model Libraries and Deployment
Model registries, repositories, and libraries help fast track end-to-end machine learning development by providing pretrained models and other utilities that can be fine-tuned towards a specific task. Hugging Face’s Transformers library provides a great set of models and preprocessing tokenizers for use in natural language processing. State-of-the-art performance can be achieved in a number of NLP tasks with Transformers in as few as two lines of code, or completely customizable into larger machine learning pipelines with TFTrainer and PyTorch Lightening support.
Another great resource for using pretrained models is coming from the group already mentioned as a provider of free Object Storage, Algorithmia. They provide the functionality to use deployed machine learning models, upload your own for inference, or to pipeline together in a fully managed, serverless environment that can be used across programming languages. Using deployed models on Algorithmia is not technically free, it costs 1 cent per 100 seconds of compute time, but accounts are given 5,000 free seconds of compute time a month, which I’ve found to be more than enough for personal use.
Get Started with Your Free Machine Learning Development Stack
Algorithmia, Google Colab, Hugging Face’s Transformers, and Weights and Biases can form a powerful combination in practicing end-to-end machine learning. A demonstration of all these tools working in concert can be found above in the model training and development section above as well as right here. If you have lost your job recently getting you skills out of data science obsolescence is just one component of a job search, and there are a number of resources that can provide assistance, including Open Data Science’s very own AI+, which provides career services and job placement to Data Scientists and Engineers.
Editor’s note: Interested in learning more about novel machine learning? Check out Kirk Borne’s upcoming AI+ live training session this Thursday, October 8th, and learn everything you need to know about what’s new in ML.
This two-part workshop on modeling and machine learning in data science follows two main threads: foundational concepts and practical examples. These two threads will sometimes mix and intertwine, which will help to reinforce the importance of both aspects of modeling. As someone once said, “In theory, theory and practice are the same. In practice, they are not.” We will prove that! Numerous examples of machine learning modeling (and other types of modeling), both common and novel, will be presented. The ultimate goals of the workshop are to help develop modeling intuition, data and analytic literacy, scientific reasoning, data-driven curiosity, critical thinking, and an experimental mindset that will contribute to establishing a strong foundation for a career in data science.