filmov
tv
Build a Neural Network with Pytorch - PART 1
Показать описание
In this lesson, I will demonstrate how to build your own neural network with Pytorch and word embedding!
This network is designed to create a story based-off several books that I've trained it on, and therefore I named it StoryTeller.
In this video, you will learn how to manually batch data, create a neural network class, and define the structure of your model.
I'll explain my trail of thought and the considerations when building such a model, and I'll also introduce you to Pytorch, which is a very powerful tool for Machine Learning and AI.
This is just an introduction, as I didn't include validation or pre-processing of our dataset, which are also very important steps that I've skipped to save some time (YES, it takes more than 35 minutes to build a proper model!)
I highly recommend downloading/copying the starter notebook from my Google Drive, and proceeding to Part 2 of this lesson once you're done structuring your model.
#pytorch #python #neuralnetwork #ai
⭐Train a Neural Network - StoryTeller PART 2 ⭐
********************************************************************************
LEARN ABOUT BASIC AI CONCEPTS - FOR MACHINE LEARNING BEGINNERS:
********************************************************************************
⭐My Perceptron Tutorial - a single node in a Neural Network ⭐
⭐My Error Function Tutorial - Binary Cross-Entropy Loss ⭐
Starter Notebook and Files:
Timestamps:
0:00 - Introduction
1:41 - Convert dataset from strings to integers
3:00 - Word to Index
4:58 - Batch Data / Train Data Structure
7:47 - Neural Network Structure
8:44 - __init__ Function
11:32 - Forward Function
14:52 - Print Model Structure
15:47 - See you in part 2!
Connect on LinkedIn:
Follow me on Facebook:
Follow me on Instagram:
Check out my Github:
This network is designed to create a story based-off several books that I've trained it on, and therefore I named it StoryTeller.
In this video, you will learn how to manually batch data, create a neural network class, and define the structure of your model.
I'll explain my trail of thought and the considerations when building such a model, and I'll also introduce you to Pytorch, which is a very powerful tool for Machine Learning and AI.
This is just an introduction, as I didn't include validation or pre-processing of our dataset, which are also very important steps that I've skipped to save some time (YES, it takes more than 35 minutes to build a proper model!)
I highly recommend downloading/copying the starter notebook from my Google Drive, and proceeding to Part 2 of this lesson once you're done structuring your model.
#pytorch #python #neuralnetwork #ai
⭐Train a Neural Network - StoryTeller PART 2 ⭐
********************************************************************************
LEARN ABOUT BASIC AI CONCEPTS - FOR MACHINE LEARNING BEGINNERS:
********************************************************************************
⭐My Perceptron Tutorial - a single node in a Neural Network ⭐
⭐My Error Function Tutorial - Binary Cross-Entropy Loss ⭐
Starter Notebook and Files:
Timestamps:
0:00 - Introduction
1:41 - Convert dataset from strings to integers
3:00 - Word to Index
4:58 - Batch Data / Train Data Structure
7:47 - Neural Network Structure
8:44 - __init__ Function
11:32 - Forward Function
14:52 - Print Model Structure
15:47 - See you in part 2!
Connect on LinkedIn:
Follow me on Facebook:
Follow me on Instagram:
Check out my Github:
Комментарии