Now it is time to crack on with our first case study 🙌.
Assume we have some data in textual format that we want to use as input to some ML model. To make it even more fun, instead of working with standard textual data, let's imagine we have some source code listings we want to process.
Our examplar data will be two functions, written in our most favourite programming language$^5$: init_random_weights_tensor
, and init_random_weights_array
:
[5]: Examples adapted from Learning PyTorch with Examples tutorial.