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 ⭐
• Train a Neural Network...
********************************************************************************
LEARN ABOUT BASIC AI CONCEPTS - FOR MACHINE LEARNING BEGINNERS:
********************************************************************************
⭐My Perceptron Tutorial - a single node in a Neural Network ⭐
• Perceptron Algorithm w...
⭐My Error Function Tutorial - Binary Cross-Entropy Loss ⭐
• Cross Entropy Loss Err...
Starter Notebook and Files:
drive.google.com/drive/folder...
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:
/ mariyasha888
Follow me on Facebook:
/ mariyasha888
Follow me on Instagram:
/ mariyasha888
Check out my Github:
github.com/MariyaSha
30 июн 2024