No video

Designing a neural network | Text Classification Tutorial Pt. 2 (Coding TensorFlow)

  Рет қаралды 52,672

TensorFlow

TensorFlow

5 жыл бұрын

In Part 2, we continue our tutorial on Text Classification, which assigns categories to text documents. In the last episode, we pre-processed the data so it would be ready to train a neural network. But, how do we design the neural network so it can learn from the data we prepared? Find out in this episode of Coding TensorFlow with @lmoroney. Stay tuned for our next video, which will feature how to do regression in TensorFlow.
Text classification with movie reviews → bit.ly/2CNVMbi
Subscribe to TensorFlow → bit.ly/TensorFlow1
Watch more Coding TensorFlow, including Part 1 → bit.ly/2zoZfvt

Пікірлер: 25
@DavidMartin-gr7ji
@DavidMartin-gr7ji 5 жыл бұрын
Laurence, these videos are great! Thank you for making them! Some feedback: the text titles of the videos aren't easy to read and that makes it difficult to know the order to watch related videos. Consider changing the sequence of the items in the title from: "Title, Subject, Part" to "Subject, Part, Title". For example, this video would be:" Text Classification, Pt.2 | Designing a neural network".
@gusthema
@gusthema 5 жыл бұрын
This was very good! The embedding example was great!
@laurencemoroney655
@laurencemoroney655 5 жыл бұрын
THanks! :)
@oumski7529
@oumski7529 Жыл бұрын
تحياتي الخالصة من الجزائر thank you very mutch
@TheDavidlloydjones
@TheDavidlloydjones 5 жыл бұрын
Thanks for giving Part 1 a title beginning with P and Part 2 a title beginning with D. This means they will alphabetise themselves in a list about as far apart as possible, and maximise the amount of searching the human has to do "manually," by eye-ball. Thank goodness the machines are coming!
@laurencemoroney655
@laurencemoroney655 5 жыл бұрын
Heheh. Nice point. I should make playlists with them ordered to make it easier to figure out which comes after which. I'll speak with the social folks. :)
@darrengovoni6184
@darrengovoni6184 5 жыл бұрын
Had a question about this code. In cell 22 you separate out a subset of the original training data and call this validation set. And you fit only this data. Yet in cell 23 you evaluate the test_data which is already returned separately. So why the need for this extra validation set? If you train on the entire train_data and validate on the test_data, are not the two datasets already distinct?
@PeterMancini
@PeterMancini 5 жыл бұрын
Why 16 dimensions? Why not 3 or 160?
@segev1824
@segev1824 4 жыл бұрын
Hi! Have you found out that answer to this? I'd greatly appreciate any insight into this!
@pandarzzz
@pandarzzz 5 жыл бұрын
Thank you for sharing this informative video! 😺🖐
@laurencemoroney655
@laurencemoroney655 5 жыл бұрын
My pleasure! :)
@iwantandjaya3028
@iwantandjaya3028 4 жыл бұрын
Hi, I have a question, Is lemmatization and stemming applied to the dataset? If not, is there built-in tf/keras feature that can pre-process the data? Thanks.
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video and series
@laurencemoroney655
@laurencemoroney655 5 жыл бұрын
Thanks, Abishek! :)
@jdbrrocks
@jdbrrocks 4 жыл бұрын
How can we use model.predict() in this case??
@mohansaisingamsetti7456
@mohansaisingamsetti7456 5 жыл бұрын
Nice
@intelligenttrends8935
@intelligenttrends8935 5 жыл бұрын
AWESOME
@laurencemoroney655
@laurencemoroney655 5 жыл бұрын
Thanks!
@rosaria3932
@rosaria3932 3 жыл бұрын
Thank you so much for the video! The link to the workbook is not working, could you please upload it again?
@randomaccessvemuri5788
@randomaccessvemuri5788 3 жыл бұрын
www.tensorflow.org/tutorials/keras/text_classification
@ProfessorElectronic
@ProfessorElectronic 5 жыл бұрын
Hi, how do I export the trained model from Codelab to my computer?
@suraj-ram7488
@suraj-ram7488 5 жыл бұрын
I am not fully sure, but you can use the saveModel feature of TF to create files that contain your trained model. You can then download these files and run them on your computer. BTW this same youtube channel has more information regarding this feature.
@EvenYan-home
@EvenYan-home 5 жыл бұрын
oh, no. The 14th video can't be show, could yo tell me why?
@farhadshadmand5785
@farhadshadmand5785 5 жыл бұрын
I tried to do that this programming with my data from tweets, but I get error below, Someone can help me?? nvalidArgumentError: indices[0,39] = -1 is not in [0, 2000) [[Node: embedding_23/embedding_lookup = ResourceGather[Tindices=DT_INT32, _class=["loc:@training_12/Adam/gradients/embedding_23/embedding_lookup_grad/Reshape"], dtype=DT_FLOAT, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](embedding_23/embeddings, embedding_23/Cast)]]
@jojivarghese2105
@jojivarghese2105 2 жыл бұрын
Pokémon
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 42 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Neural Networks Explained from Scratch using Python
17:38
Bot Academy
Рет қаралды 336 М.
8. Text Classification Using Convolutional Neural Networks
16:28
Weights & Biases
Рет қаралды 87 М.
Saving and Loading Models (Coding TensorFlow)
6:53
TensorFlow
Рет қаралды 170 М.
Simple Deep Neural Networks for Text Classification
14:47
Machine Learning TV
Рет қаралды 116 М.
Build a Deep CNN Image Classifier with ANY Images
1:25:05
Nicholas Renotte
Рет қаралды 588 М.
TensorFlow Tutorial 11 - Text Classification - NLP Tutorial
23:17
Patrick Loeber
Рет қаралды 35 М.
Tensorflow Tutorial for Python in 10 Minutes
11:33
Nicholas Renotte
Рет қаралды 425 М.