Coursera

Build, Train, and Deploy ML Pipelines using BERT

课程简介

课程名称:使用BERT构建、训练和部署机器学习管道

课程概述:在实用数据科学专业化的第二门课程中,您将学习如何通过构建一个端到端的机器学习管道,自动化自然语言处理任务。本课程使用Hugging Face高度优化的BERT算法实现,并结合亚马逊SageMaker管道。您的管道将首先将数据集转换为BERT可读的特征,并将这些特征存储在亚马逊SageMaker特征存储中。接着,将利用Hugging Face预训练模型对数据集进行文本分类模型的微调,该模型基于数百万个维基百科文档学习了人类语言。最后,您的管道将评估模型的准确性,并仅在准确性超过设定阈值时部署模型。

实用数据科学旨在处理不适合本地硬件的大规模数据集,这些数据集可能来自多个来源。开发和运行云端数据科学项目的最大好处之一是云提供的灵活性和可扩展性,能够以最低的成本进行扩展。

实用数据科学专业化帮助您培养有效部署数据科学项目的实用技能,并在每个机器学习工作流步骤中克服挑战,通过亚马逊SageMaker完成。这一专业化课程适合熟悉Python和SQL编程语言的数据开发人员、科学家和分析师,旨在教授如何在AWS云中构建、训练和部署可扩展的端到端机器学习管道,包括自动化和人工参与的方式。

课程大纲:
第一部分:
标题:第1周:特征工程和特征存储
描述:将原始文本数据集转化为机器学习特征,并将特征存储在特征存储中。

第二部分:
标题:第2周:训练、调试和分析机器学习模型
描述:微调、调试和分析预训练的BERT模型。

第三部分:
标题:第3周:部署端到端机器学习管道
描述:协调机器学习工作流,并在端到端机器学习管道中跟踪模型的血统和工件。

课程大纲

Part: 1

Title:Week 1: Feature Engineering and Feature Store

Description:Transform a raw text dataset into machine learning features and store features in a feature store.

Part: 2

Title:Week 2: Train, Debug, and Profile a Machine Learning Model

Description:Fine-tune, debug, and profile a pre-trained BERT model.

Part: 3

Title:Week 3: Deploy End-To-End Machine Learning pipelines

Description: Orchestrate ML workflows and track model lineage and artifacts in an end-to-end machine learning pipeline.

课程详情

In the second course of the Practical Data Science Specialization, you will learn to automate a natural language processing task by building an end-to-end machine learning pipeline using Hugging Face’s highly-optimized implementation of the state-of-the-art BERT algorithm with Amazon SageMaker Pipelines. Your pipeline will first transform the dataset into BERT-readable features and store the features in the Amazon SageMaker Feature Store. It will then fine-tune a text classification model to the dataset using a Hugging Face pre-trained model, which has learned to understand the human language from millions of Wikipedia documents. Finally, your pipeline will evaluate the model’s accuracy and only deploy the model if the accuracy exceeds a given threshold.
Practical data science is geared towards handling massive datasets that do not fit in your local hardware and could originate from multiple sources. One of the biggest benefits of developing and running data science projects in the cloud is the agility and elasticity that the cloud offers to scale up and out at a minimum cost.

The Practical Data Science Specialization helps you develop the practical skills to effectively deploy your data science projects and overcome challenges at each step of the ML workflow using Amazon SageMaker. This Specialization is designed for data-focused developers, scientists, and analysts familiar with the Python and SQL programming languages and want to learn how to build, train, and deploy scalable, end-to-end ML pipelines - both automated and human-in-the-loop - in the AWS cloud.