Skip to content

Commit 410844b

Browse files
Editorial
1 parent f582576 commit 410844b

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

content/learning-paths/servers-and-cloud-computing/gh-runners/background.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,25 @@ GitHub Actions runs workflow files to automate processes. Workflows run when spe
2828

2929
[YAML](https://yaml.org/) defines a workflow.
3030

31-
Workflows specify how a job is triggered, the running environment, and the commands to run.
31+
Workflows specify:
3232

33-
The machine running workflows is called a _runner_.
33+
* How a job is triggered.
34+
* The running environment.
35+
* The commands to run.
36+
37+
The machine running the workflows is called a _runner_.
3438

3539
## Arm-hosted GitHub runners
3640

3741
Hosted GitHub runners are provided by GitHub, so you do not need to set up and manage cloud infrastructure. Arm-hosted GitHub runners use the Arm architecture so you can build and test software without the necessity for cross-compiling or instruction emulation.
3842

39-
Arm-hosted GitHub runners enable you to optimize your workflows, reduce cost, and improve energy consumption.
43+
Arm-hosted GitHub runners enable you to:
44+
45+
* Optimize your workflows.
46+
* Reduce cost.
47+
* Improve energy consumption.
4048

41-
Additionally, the Arm-hosted runners are preloaded with essential tools, making it easier for to develop and test your applications.
49+
Additionally, the Arm-hosted runners are preloaded with essential tools, which makes it easier for to develop and test your applications.
4250

4351
Arm-hosted runners are available for Linux and Windows. This Learning Path uses Linux.
4452

content/learning-paths/servers-and-cloud-computing/gh-runners/train-test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The transformations used when loading data are part of the preprocessing step, w
4949

5050
In accordance with common machine learning practices, data is separated into training and testing data to avoid overfitting the neural network.
5151

52-
Use this code to load the dataset:
52+
Here is the code to load the dataset:
5353

5454
```python
5555
transform = transforms.Compose([
@@ -68,7 +68,7 @@ The next step is to define a class for the model, listing the layers used.
6868

6969
The model defines the forward pass function used at training time to update the weights. Additionally, the loss function and optimizer for the model are defined.
7070

71-
Use this code that defines the model:
71+
Here is the code that defines the model:
7272

7373
```python
7474
class TrafficSignNet(nn.Module):
@@ -100,7 +100,7 @@ A training loop performs the actual training.
100100

101101
The number of epochs is arbitrarily set to 10 for this example. When the training is finished, the model weights are saved to a `.pth` file.
102102

103-
Use this code for the training loop:
103+
Here is the code for the training loop:
104104

105105
```python
106106
num_epochs = 10
@@ -143,7 +143,7 @@ Testing is done by loading the model that was saved after training and preparing
143143

144144
As in training, transformations are used to load the test data from the GTSRB dataset.
145145

146-
Use this code to load the model and the test data:
146+
Here is the code to load the model and the test data:
147147

148148
```python
149149
model_path = args.model if args.model else './models/traffic_sign_net.pth'

0 commit comments

Comments
 (0)