Published Dec 10, 2019

Serverless NLP Model Training

Explore the transition from academia to data science with Alex Reeves, as he delves into the cutting-edge use of Bert for NLP, and the benefits of serverless computing with AWS Batch and TerraForm for scalable machine learning solutions.
Episode Highlights
Data Skeptic logo

Popular Clips

Episode Highlights

  • AWS Batch

    AWS Batch offers a robust solution for serverless computing, particularly in machine learning tasks that require significant computational resources. explains that AWS Batch manages requests by assembling necessary compute resources, allowing users to run docker containers with machine learning pipelines efficiently 1. This approach contrasts with AWS Lambda, which has limitations in memory and execution time, making it less suitable for large-scale model building 2.

    AWS Batch is basically a service for spinning up EC Two instances, running a docker container inside them and spinning them back down.

    ---

    The serverless nature of AWS Batch means users don't need to manage servers directly, providing scalability and cost-efficiency by scaling resources up or down based on demand 2.

       

    Infrastructure

    Infrastructure as Code (IaC) plays a crucial role in managing serverless machine learning pipelines, with TerraForm being a key tool in this process. highlights TerraForm's ability to automate cloud infrastructure setup through configuration scripts, ensuring reproducibility and efficiency 3. This capability allows for seamless transitions from development to production environments, significantly reducing deployment time.

    I saw the power of having it all written out in code at that moment, and it was pretty cool.

    ---

    Additionally, tools like Docker and Jupyter complement this setup by facilitating reproducibility and initial data exploration, respectively, while AWS services like S3 and DynamoDB handle storage and metadata management 4.

Related Episodes