Humble Bundle · Verified 14 mins ago $18 $173 more Humble Bundle's Holiday Encore 2026 bundle packs 17 Wheel of Time ebooks, covering every volume of Robert Jordan's series plus connected titles, for $18. The bundle is pay-what-you-want with a minimum purchase of $18, and you pick how the money splits between the publisher and the ACLU. Files come in ePub format for use on computers, e-readers, tablets, and phones.
Articles by Caleb Kaiser
Humble Bundle The Wheel of Time eBook Bundle
Humble Bundle · Verified 1 hr ago $18 $173 free shipping more Humble Bundle's Holiday Encore 2026 bundle packs 17 Wheel of Time ebooks, covering every volume of Robert Jordan's series plus connected titles, for $18. The bundle is pay-what-you-want with a minimum purchase of $18, and you pick how the money splits between the publisher and the ACLU. Files come in ePub format for use on computers, e-readers, tablets, and phones.
The LEGO Ideas Book New Edition Hardcover Book
Amazon · Verified 14 mins ago $11 $25 free shipping w/ Prime more At Amazon, The LEGO Ideas Book New Edition is 56% off. The 200-page DK Children title is aimed at readers ages 6 to 9. Shipping is free for Prime members. Buy Now at Amazon 200-page book from DK Children Publication date of September 27, 2022 Recommended for ages 6 to 9, grades 2 to 6 Measures 9.3" x 11.1" and weighs 1.25 lb.
Machine Learning Upgrade: A Data Scientist's Guide to MLOps, LLMs, & ML Infrastructure eBook
more This Wiley eBook is free, down from a $40 regular price. The book is aimed at data scientists coming from a traditional business-intelligence or research background, and it walks through one language-model project from start to finish. Co-author Kristen Kehrer was named a LinkedIn Top Voice in Data Science & Analytics in 2018, and Caleb Kaiser works as a full stack engineer at Comet. Wiley sells the same eBook for $24 on its own site, so the free download covers the full cost.
Amazon Kindle+ Black Friday Deal
Amazon · Verified 5 hrs ago 3 months for 99 cents free shipping more As part of Amazon's Black Friday Sale, you can get a 3-month subscription to Kindle+ for 99 cents. It usually costs $11.99 per month. This deal ends December 1.
How to Use Structured Generation for LLM-as-a-Judge Evaluations
Structured generation is fundamental to building complex, multi-step reasoning agents in LLM evaluations — especially for open source models Disclosure: I am a maintainer of Opik, one of the open source projects used later in this article. For the past few months, I’ve been working on LLM-based evaluations (“LLM-as-a-Judge” metrics) for language models.
How to Use Structured Generation for LLM-as-a-Judge Evaluations
Structured generation is fundamental to building complex, multi-step reasoning agents in LLM evaluations — especially for open source models Disclosure: I am a maintainer of Opik, one of the open source projects used later in this article. For the past few months, I’ve been working on LLM-based evaluations (“LLM-as-a-Judge” metrics) for language models.
How To Switch Engineering Jobs-And Actually Like Your New Role
Engineers know that less than 1% of U.S.-based engineers are unemployed and that if they aren't satisfied with their current company, finding a new one won't be difficult. The numbers reflect this: Engineers stay in roles, according to AngelList data, for an average of 18 months, which is significantly less than the 4.2-year nationwide, median tenure of salary workers in 2018.
Why Your Job Offer Was Rescinded-And How To Handle It
The awkwardness of phone screens and “grit” interviews gives way to the relief and joy of a job offer—and in an instant, that offer is taken away, replacing your sense of victory with nausea. In an ideal world, the only loss you'd face is the time you spent interviewing. In reality, candidates stand to lose much more. If you've already left your old job, turned down other offers, or, in the worse possible scenario, moved to a new city, a rescinded offer has actual financial consequences.
The Truth About Finding Your First Engineering Job
Even for senior engineers, job searches can be confusing, frustrating affairs. When you're a junior engineer looking for your first job, it can feel like you're flying blind. You may be armed with general notions about the engineering job market. Engineers are in demand, salaries are relatively high, unemployment is low, and more. What you might not have is context on what finding your first job will actually look like. How many companies should you be applying to?
30 Questions to Ask Before Joining a Startup
You're trying to evaluate the company while still impressing your interviewers, and that balance can be tricky. At the same time, candidates have a tendency to make this process harder than it needs to be by being uncertain of what they actually want out of a company. Understanding what you want out of a new job is a prerequisite to joining the right startup. Before you apply for any new jobs, you need to figure out what your top priority in a new role is.
Kangas: Visualize Multimedia Data at Scale
An open source library for exploratory data analysis In machine learning, we accept glue code as a necessary, but largely benign evil. Even the most beginner-friendly computer vision tutorial will include some awkward, customly defined renderImage() method that you will need to simply display an image. Every data science team I’ve worked with has had a collection of these “bespoke” utility scripts, particularly around more ad hoc processes like exploratory data analysis.
Deep learning isn’t hard anymore
In the not-so-distant past, a data science team would need a few things to effectively use deep learning: A novel model architecture, likely designed in-house Access to a large, and likely proprietary, data set The hardware or funds for large-scale model training This had the effect of bottlenecking deep learning, limiting it to the few projects that met those conditions. Over the last couple years, however, things have changed.
Netflix's Metaflow: Reproducible machine learning pipelines
From training to deployment with Metaflow and Cortex If we were to design an optimal machine learning pipeline, it would be: Scalable. As workloads increased, it would scale up without issue. Reproducible. We would be able to draw a line from any model to its data. Configurable. It wouldn’t lock us into particular frameworks or tools. Typically, pipelines will tradeoff in at least one of these areas. A pipeline might be scalable, but will rely on a platform that puts limits on data scientists.
How to build a pipeline to retrain and deploy models
Building machine learning pipelines with Cortex and Metaflow Source: Author The pipeline is the spine of a machine learning org. It is how an organization goes from “collection of one-off data science projects” to a production machine learning system. Knowing how to build pipelines is, therefore, pretty important. In this guide, we’re going to introduce two tools for building a machine learning pipeline that can (re)train and deploy models.
How to build a pipeline to retrain and deploy models
Source: Author The pipeline is the spine of a machine learning org. It is how an organization goes from “collection of one-off data science projects” to a production machine learning system. Knowing how to build pipelines is, therefore, pretty important. In this guide, we’re going to introduce two tools for building a machine learning pipeline that can (re)train and deploy models. We’re also going to take a slightly different approach to discussing pipeline building than you commonly see in guides.
From Physics to Finance: My First Year in Industry!
Photo by Christian Chen on Unsplash This is a revised edition of the article I published almost 4 years ago. I have been lucky to experience an exciting journey so the answer to a question many of you may have is No! I never regretted my decision of leaving academia. Many graduate and postdocs pursue non-research careers in Industry. This is the story of one of them.
Bringing Your ML Models to Life With Flask
A practical introduction to machine learning model deployment in Python Congratulations, you’ve trained a machine learning model! You’ve worked hard for the past few months exploring the data, completing analysis, creating training features, and finally training models. You used cross validation and optimized hyperparameters, and when you show your boss and other stakeholders from the business, they agree with the your choice of performance metric.
5 Lessons Learned Building an Open Source MLOps Platform
What we’ve learned after 2 years of MLOps Source: Pexels For the last two years, we’ve been working on Cortex, our open source machine learning deployment platform. Over that time, we’ve been really fortunate to see it grow into what it is today, used in production by teams around the world, and supported by a fantastic community of contributors. We’ve also had to change our thinking several times along the way.
Moving from Data Science to Machine Learning Engineering
By Caleb Kaiser, Cortex Labs For the last 20 years, machine learning has been about one question: Can we train a model to do something? Something, of course, can be any task. Predict the next word in a sentence, recognize faces in a photo, generate a certain sound. The goal was to see if machine learning worked, if we could make accurate predictions.
A/B testing machine learning models in production
How to A/B test deployed models with Cortex Source: Pexels There is (rightfully) quite a bit of emphasis on testing and optimizing models pre-deployment in the machine learning ecosystem, with meta machine learning platforms like Comet becoming a standard part of the data science stack. There has been less of an emphasis, however, on testing and optimizing models post-deployment, at least as far as tooling is concerned.
How to deploy PyTorch Lightning models to production
By Caleb Kaiser, Cortex Labs Looking at the machine learning landscape, one of the major trends is the proliferation of projects focused on applying software engineering principles to machine learning. Cortex, for example, recreates the experience of deploying serverless functions, but with inference pipelines. DVC, similarly, implements modern version control and CI/CD pipelines, but for ML. PyTorch Lightning has a similar philosophy, only applied to training.
November Edition: The Power of Deep Learning
Monthly Edition Building biologically inspired algorithms Photo by Ryoji Iwata on Unsplash When I was just getting started in data science, I never thought I would need to tackle deep learning. Deep learning isn’t a concept for newbies! I naively thought that I could avoid it. Suddenly, just months into my journey, I was trying to optimize a task by building a recommendation system and needed to understand which NLP model would fit my problem and why. It was time to face the music.
PyCaret 2.2 is here - What’s new?
PyCaret 2.2 is now available for download using pip. https://www.pycaret.org We are excited to announce PyCaret 2.2 — update for the month of Oct 2020. PyCaret is an open-source, low-code machine learning library in Python that automates machine learning workflows. It is an end-to-end machine learning and model management tool that speeds up the machine learning experiment cycle and makes you more productive.
September Edition: Deploying Machine Learning Models
MONTHLY EDITION Getting the most from your investment Photo by Pixabay from Pexels Often, the last step of a Data Science task is deployment. Let’s say you’re working at a big corporation. You’re building a project for a customer of the corporation and you’ve created a model that performs well. Unfortunately, the model you’ve created will only be able to be used by the customer if the customer has the code you’ve written, the environment you’ve created, and the machines you’ve been working on.
Why everyone uses transfer learning
And why we find transfer learning’s popularity so exciting Source: Pexels Over the last year of building Cortex, we’ve gotten to work with many machine learning teams of varying sizes and from different industries. Getting to peek behind the curtain of so many teams has been eye-opening. For one, there is a consistent gap between the public perception of the state of the field and how teams are actually approaching machine learning. A major example of this is the prevalence of transfer learning.
A list of things you can build with language models - not just GPT-3
Natural language processing is more approachable than ever Natural language processing (NLP) is everywhere lately, with OpenAI’s GPT-3 generating as much hype as we’ve ever seen from a single model. As I’ve written about before, the flood of projects being built on GPT-3 is not down to just its computational power, but its accessibility. The fact that it was released as a simple API has made it so that anyone who can query an endpoint can use state of the art machine learning.
Why are you seeing GPT-3 everywhere?
It’s about usability—not just accuracy Disclaimer: My opinions are informed by my experience maintaining Cortex, an open source platform for machine learning engineering. If you frequent any part of the tech internet, you’ve come across GPT-3, OpenAI’s new state of the art language model. While hype cycles forming around new technology isn’t new—GPT-3’s predecessor, GPT-2, generated quite a few headlines as well—GPT-3 is in a league of its own.
Designing a Python interface for machine learning engineering
Machine learning engineering needs dedicated tooling In order to do machine learning engineering, a model must first be deployed, in most cases as a prediction API. In order to make this API work in production, model serving infrastructure must first be built. This includes load balancing, scaling, monitoring, updating, and much more. At first glance, all of this work seems familiar. Web developers and DevOps engineers have been automating microservice infrastructure for years now.
PostEra is using machine learning to make a COVID-19 drug-this year
Applying Google Translate-inspired machine learning to chemistry Disclaimer: I am a maintainer of Cortex, an open source machine learning engineering platform used in some of the projects mentioned below. Recently, a startup called PostEra announced their intention to develop a COVID-19 treatment “within the year” as part of an open source moonshot. Naturally, the announcement generated some excitement.
Machine learning is under hyped
Machine learning engineering is here, and it’s only accelerating Disclaimer: I am a maintainer of Cortex, an open source platform for machine learning engineering used in some of the projects mentioned below. If you spend enough time in engineering circles, you’ll inevitably hear that machine learning is in a “hype bubble,” that machine learning is an interesting field of research, but is still far from any practical benefits.
Moving from data science to machine learning engineering
The world of machine learning — and software — is changing For the last 20 years, machine learning has been about one question: Can we train a model to do something? Something, of course, can be any task. Predict the next word in a sentence, recognize faces in a photo, generate a certain sound. The goal was to see if machine learning worked, if we could make accurate predictions.
Why every company will have machine learning engineers soon
Machine learning engineering will be commonplace in the immediate future When we think of companies who use machine learning in production, we think of Google, Facebook, Uber—large, technical companies with mature data science teams and heaps of user data. Maintaining Cortex, an open source API platform for machine learning, I’ve noticed something new: Small startups and solo engineers are building ML applications. Companies we don’t think of as “technical” are doing the same.
What software engineers can bring to machine learning
Many production machine learning challenges are paralleled in software engineering There are many open questions in machine learning that are only going to be solved through breakthroughs in research. Those problems are down to data scientists and researchers. At the same time, there are many challenges within production machine learning that closely parallel challenges in software engineering — problems we’ve spent decades solving.
Why we built a platform for machine learning engineering - not data science
Understanding machine learning engineering as a discipline About a year ago, a few of us began working on an open source machine learning platform, Cortex. Our motivation was simple: Building an application out of a model was a terrible experience full of glue code and boilerplate, and we wanted a tool that abstracted it all away.
How we’re applying CI/CD principles to machine learning
A DevOps approach to production machine learning Anyone who has transitioned from software engineering to machine learning engineering will attest, one of the first things you’re struck by is how familiar the problems are. A big challenge in MLE, for example, is being able to recreate the exact circumstances in which a model was trained—the data, the code, the training time, etc.
Everyone can use deep learning now
How transfer learning changed applied machine learning A year ago, a few of us started working on Cortex, an open source platform for building machine learning APIs. At the outset, we assumed all of our users—and all of the companies actually applying ML in production, for that matter—would be large companies with mature data science teams. We were wrong. Over the last year, we’ve seen students, solo engineers, and small teams ship models to production.
Catching poachers with machine learning
Building an ML system to detect poachers in nature preserves Full disclosure: I am a maintainer of an open source ML platform, Cortex, designed to build projects like the ones discussed below. On any given day, it is estimated that nearly 100 African elephants are killed by poachers. In total, 1,000s of animals are poached everyday worldwide. A large amount of this poaching occurs within nature preserves, the last (theoretically) safe place for many endangered species.
Why we switched from Flask to FastAPI for production machine learning
The most popular tool isn’t always the best To productionize a machine learning model, the standard approach is to wrap it in a REST API and deploy it as a microservice. Flask is currently the de facto choice for writing these APIs for a couple of reasons: Flask is minimal. Because inference APIs have historically tended to be simple predict() methods, the complexities introduced by more opinionated frameworks (like Django) have been seen as unnecessary.
Serving GPT-2 at scale
Lessons learned scaling large deep models in production Source: Pixabay Over the last few years, the size of deep learning models has increased at an exponential pace (famously among language models): Source: Microsoft And in fact, this chart is out of date. As of this month, OpenAI has announced GPT-3, which is a 175 billion parameter model—or roughly ten times the height of this chart. As models grow larger, they introduce new infrastructure challenges.
How internal politics interfere with data science
How companies can help data scientists do their job Source: Pexels Machine learning in production is a fairly new phenomenon, and as such, the playbook for managing data science teams that build production ML pipelines is still being written. As a result, well-intentioned companies often get things wrong, and accidentally institute policies that, while designed to improve things, actually hamper their data scientists.
We’re trying to spend less on machine learning inference. It’s not easy.
Some notes from our never-ending fight with inference costs Source: Pexels Running inference, even at small scale, is expensive. Justifying this cost sucks, particularly when people are being able to serve 10,000 users a day on a typical CRUD app using just AWS’s free tier. The problem is that inference just is a computationally expensive process, and there’s not a lot anyone can do to change that.
Why are data scientists doing DevOps?
Data scientists are doing two different jobs If you were going to diagram a production machine learning pipeline, the beginning — designing and training models, etc. — would obviously belong to the data science function. At some point, typically when it’s time to take models to production, a normal pipeline will transition from data science to infrastructure tasks. Intuitively, this is where the data science team hands things over to someone else, like DevOps. But, this is not always the case.
The MACstack: A reliable architecture for production machine learning
An introduction to how production ML teams build software Production machine learning is everywhere. Just looking at your smartphone, nearly every popular app uses ML—recommendation engines, ETA prediction, text generation, image recognition, speech-to-text, etc. While advances in machine learning research rightfully get a lot of credit for this growth, advances in infrastructure engineering have been just as crucial. For early adopters, there was no playbook for production ML infrastructure.
GitHub stars are overvalued
There’s more to an open source project than its star count Intuitively, we all know that GitHub stars are not make-or-break for an open source project. Clicking the “Star” button simply says, “I find this interesting.” Not a bad signal to collect, but not the last word on whether or not a project is successful. Despite this, stars are enticing. They’re simple, countable, and signal positive feedback. As a user, a high star count gives you a reason to check out one project over another.
Lessons learned scaling an open source machine learning platform
Takeaways from a year of open source development In 2019, we open-sourced Cortex, our model serving platform. In the intervening months, Cortex has received thousands of GitHub stars and has been put into production by students, startups, and large corporations around the world. While open source has been fundamental to Cortex’s growth, building an open source tool has also been its own learning curve. These are just a few things we’ve learned along the way.
Why we chose AWS over GCP for machine learning
And why we might’ve gotten it wrong Source: Pexels About 10 months ago, a few of us began working on our model serving infrastructure. We wanted to build a tool that would take a trained model and turn it into a production web service, without us having to write glue code or wrangle AWS/Kubernetes for each deployment. For our use cases and the test cases we ran it through, the tool worked great. When we open sourced it, however, we got an unexpected bit of feedback.
Production machine learning isn’t hard anymore
Deploying machine learning microservices has gotten easier Source: Pexels Within many software engineering disciplines, production use cases are fairly standardized. Take web development, for example. To implement authentication in a web app, you wouldn’t invent a database, write your own hashing function, or design a new auth strategy. You’d use one of a few well-defined approaches, and leverage standard tooling. Within machine learning, however, this standardization hasn’t existed.
Why we do machine learning engineering with YAML, not notebooks
Notebooks are great for designing models, not deploying them. Source: Pexels Most data scientists spend the majority of their working hours in a notebook. As a result, most production machine learning platforms prioritize notebook support. If you try out a new production ML platform, chances are its onboarding tutorial will begin with a .ipynb file.
You don’t need “Big Data” to apply deep learning
You don’t always have to train new models from scratch Source: Pexels Disclaimer: The following is based on my observations of machine learning teams — not an academic survey of the industry. For context, I’m a contributor to Cortex, an open source platform for deploying models in production. For years, the biggest bottleneck to production deep learning was simple: we needed models that worked.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Caleb
Contact Caleb, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack