Skip to content

Commit a0ef1c8

Browse files
committed
Final commit
1 parent a26c72d commit a0ef1c8

File tree

4 files changed

+314
-293
lines changed

4 files changed

+314
-293
lines changed

content/learning-paths/embedded-and-microcontrollers/training-inference-pytorch/_index.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Deploy a Tiny Sentiment Classifier on Arm - Training and Inference with PyTorch and ExecuTorch
2+
title: Edge AI with PyTorch & ExecuTorch - Tiny Sentiment Analysis on Arm
33

4-
minutes_to_complete: 120
4+
minutes_to_complete: 90
55

66
who_is_this_for: This topic is for machine learning engineers, embedded AI developers, and researchers interested in deploying TinyML models for NLP on Arm-based edge devices using PyTorch and ExecuTorch.
77

88
learning_objectives:
9-
- Train a custom CNN-based sentiment classifier for TinyML.
9+
- Train a custom CNN-based sentiment classification model implemented in PyTorch.
1010
- Optimize and convert the model using ExecuTorch for Arm-based edge devices.
11-
- Deploy and run inference on the Corstone-320 FVP and Raspberry Pi 5.
11+
- Deploy and run inference on the Corstone-320 FVP.
1212

1313
prerequisites:
1414
- Basic knowledge of machine learning concepts.
15-
- It is advised to complete The Learning Path [Introduction to TinyML on Arm using PyTorch and ExecuTorch](/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm) before starting this learning path.
15+
- It is advised to complete The Learning Path, [Introduction to TinyML on Arm using PyTorch and ExecuTorch](/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm) before starting this learning path.
1616
- Familiarity with Python and PyTorch.
1717
- A Linux host machine or VM running Ubuntu 22.04 or higher.
18-
- (Optional) Raspberry Pi 5 or an Arm license to run the Corstone-320 Fixed Virtual Platform (FVP), for hands-on deployment.
18+
- An Arm license to run the examples on the Corstone-320 Fixed Virtual Platform (FVP), for hands-on deployment.
1919

2020

2121
author: Dominica Abena O. Amanfo
@@ -30,11 +30,9 @@ tools_software_languages:
3030
- CNN
3131
- PyTorch
3232
- ExecuTorch
33-
- Raspberry Pi
3433

3534
operatingsystems:
3635
- Linux
37-
- Raspberry Pi OS
3836

3937

4038
further_reading:

content/learning-paths/embedded-and-microcontrollers/training-inference-pytorch/env-setup-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: learningpathall
77
---
88

99
## Overview
10-
In this course, you will learn how to train and run inference using a Tiny Sentiment Classifier. You'll deploy the model on the Arm Corstone-320 FVP and optionally on a Raspberry Pi 5 for sentiment analysis. You'll gain hands-on experience with PyTorch, ExecuTorch, and Edge Impulse to bring AI-powered sentiment analysis to embedded systems.
10+
In this course, you will learn how to train and run inference using a Tiny Sentiment Classifier. You'll deploy the model on the Arm Corstone-320 FVP for sentiment analysis.
1111

1212
We will train a lightweight convolutional neural network (CNN)-based sentiment classifier using synthetic text data. This model is optimized for small devices, using embedding layers and 1D convolutions for efficient text classification.
1313

@@ -21,7 +21,7 @@ If you just followed the LP above, you should already have your virtual environm
2121
```console
2222
source $HOME/executorch-venv/bin/activate
2323
```
24-
The prompt of your terminal now has `(executorch)` as a prefix to indicate the virtual environment is active.
24+
The prompt of your terminal now has `(executorch-venv)` as a prefix to indicate the virtual environment is active.
2525

2626
Run the commands below to install the dependencies.
2727

0 commit comments

Comments
 (0)