ML Classification using GloVe Vectors & Keras ❌NLP Project in Python with GloVe, TensorFlow & Keras

  Рет қаралды 10,800

DecisionForest

DecisionForest

Күн бұрын

Пікірлер: 50
@lukasga3729
@lukasga3729 4 жыл бұрын
Thanks for the tutorial and that you show the code step-by-step with result, rather than just discussing the code
@DecisionForest
@DecisionForest 4 жыл бұрын
Thank you, I believe this is the best way to explain concepts, seeing the intermediary results
@ijeffking
@ijeffking 3 жыл бұрын
Excellent tutorial with a good approach to teaching what each block of code does. Thank you so much. One of your best tutorials so far...
@DecisionForest
@DecisionForest 3 жыл бұрын
Thank you, I'm thinking to switch the teaching method a bit to make it more dynamic. Once I create new tutorials would really appreciate your input on those, see how they compare.
@ijeffking
@ijeffking 3 жыл бұрын
@@DecisionForest Sure. Waiting for the new ones...
@anonymousa7581
@anonymousa7581 3 жыл бұрын
Your video is gold ❤
@DecisionForest
@DecisionForest 3 жыл бұрын
Thank you!
@dans722
@dans722 2 жыл бұрын
nice vid , why was 50 chosen as the max length and does it have an effect on the model? thanks
@ihiy9908
@ihiy9908 3 жыл бұрын
Im sorry im quiet confused if what i want is the word vector model that made by glove from my own corpus, how can i get that? So i can used the word vector leter to classifying another data
@bobbygia1198
@bobbygia1198 3 жыл бұрын
Is the num_words used correctly? You are just using the size of the training set. Shouldn't the num_words be the number of tokens that appear in the training set?
@priyadarshiroy2455
@priyadarshiroy2455 3 жыл бұрын
I am getting similar results for a nlp project I am working on but the difference in accuracy between the training and validation data is similar to yours. There is about a 10% difference between them.....and like yours the validation loss does not decrease. Does this mean the model is overfitting? I am very confused. Can someone please help me....
@precious_orim
@precious_orim 2 жыл бұрын
Hello pls were u able to figure this out ?
@randb9378
@randb9378 3 жыл бұрын
How do you suggest dealing with a word that is not in our vocabulary?
@dc_8616
@dc_8616 3 жыл бұрын
Great tutorial.
@DecisionForest
@DecisionForest 3 жыл бұрын
Cheers Darren!
@randb9378
@randb9378 3 жыл бұрын
you are great at explaining! thanks
@DecisionForest
@DecisionForest 3 жыл бұрын
Thank you!
@sadikaljarif9635
@sadikaljarif9635 2 жыл бұрын
is it possible to make lstm model with glove for fake news detection???
@precious_orim
@precious_orim 2 жыл бұрын
Thank you sir. Pls u didn't put the link to the other video
@zimin7255
@zimin7255 4 жыл бұрын
thanks for the great content, subscribed!
@DecisionForest
@DecisionForest 4 жыл бұрын
Thanks Zimin! Glad to have your support!
@ajitkumar2670
@ajitkumar2670 4 жыл бұрын
any idea how to determine max_len because i am having text of size more than 1000 words
@DecisionForest
@DecisionForest 4 жыл бұрын
hope I understand correctly but you can easily get the max value between the lengths of each record in the series.
@ajitkumar2670
@ajitkumar2670 4 жыл бұрын
@@DecisionForest Yes, I can get that. But I am confused that in various videos suppose if the max length of the sentence is 300 but people are using 50 as maxlen for padding.
@ajitkumar2670
@ajitkumar2670 4 жыл бұрын
@@DecisionForest and I have confusion regarding vocab_size also which the number of unique tokens in the corpus. Is it always necessary to take that number of tokens or we can take less? Is there is any thumb rule for deciding the number of tokens that can be used for creating the matrix?
@DecisionForest
@DecisionForest 4 жыл бұрын
You should set the max length to the actual max length not less. To the question regarding the vocabulary size when you create the corpus it will contain all the words in the document. You need to use the whole corpus.
@ajitkumar2670
@ajitkumar2670 4 жыл бұрын
@@DecisionForest There are some words whose frequency is only 1 based on the tokens generated by the tokenizer so is it good to drop those words or we can keep that.
@sallahamine9467
@sallahamine9467 Жыл бұрын
Thanks for the tutorial -> model.fit(train_padded,train_labels, validation_data=(test_padded, test_labels), epochs=20, verbose=1) Error:- UnimplementedError: Graph execution error: How to fix this error? 😥
@humairaafia5658
@humairaafia5658 4 жыл бұрын
Thank u soo much ,dear. Please, make a tutorial on "Character Embedding" for text classification , if possible.
@DecisionForest
@DecisionForest 4 жыл бұрын
Glad it was useful. Very good suggestion, do you have a use case where Character embeddings would be more suitable than word embeddings? As there is less semantic information available there even if they work well out of sample.
@humairaafia5658
@humairaafia5658 4 жыл бұрын
@@DecisionForest There is less work done using character embedding in my language(non-english). So i want to apply it and see the impact. And it would be very kind if u make a tutorial on it and help me understanding this topic. Thank you.
@LRth3KING
@LRth3KING 4 жыл бұрын
Hi nice tutorial, can the Glove Vectors support portuguese words? Thanks you you helped me a lot
@DecisionForest
@DecisionForest 4 жыл бұрын
Glad you found it helpful! From my knowledge it only supports English but there are other options for pre-trained word vectors in other languages for sure.
@LRth3KING
@LRth3KING 4 жыл бұрын
@@DecisionForest Can you help me with something else? I wanted to use the Glove model to use for input in a Logistic Regression model. But I don't know what variable should I use from here
@DecisionForest
@DecisionForest 4 жыл бұрын
@@LRth3KING Don't understand what you mean by which variable to use but does this help? kzbin.info/www/bejne/opqylounps2grcU
@LRth3KING
@LRth3KING 4 жыл бұрын
@@DecisionForest by variable I mean the X_train and X_test values for the Log. Regression model. I already use the Tf-if Transformer and countvectorizer. I want to test various inputs and see who performs best
@DecisionForest
@DecisionForest 4 жыл бұрын
Oh yes, you want to add more features to the train and test sets. Well you can add any new features that you create, such as word length and others alongside the word embeddings and then train the model.
@jkally123
@jkally123 4 жыл бұрын
would be much nicer and more helpful if you mentioned where to take the data
@DecisionForest
@DecisionForest 4 жыл бұрын
Hi Yossi, at the beginning on the video at 00:37 you have the link to the dataset in the notebook.
@aanchalmahajan3821
@aanchalmahajan3821 Жыл бұрын
Please share the file.
@adrienloridan
@adrienloridan 2 жыл бұрын
Too many ads
@subashchandrapakhrin3537
@subashchandrapakhrin3537 3 жыл бұрын
Your Validation loss is increasing. Good Video Though, I loved it.
@DecisionForest
@DecisionForest 3 жыл бұрын
Cheers mate
@sarabassir3032
@sarabassir3032 3 жыл бұрын
hello bro can you send me your email thank you in advance
@aayamoza8495
@aayamoza8495 2 жыл бұрын
Awesome tutorial.
244 - What are embedding layers in keras?
18:24
DigitalSreeni
Рет қаралды 22 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Word2Vec, GloVe, FastText- EXPLAINED!
13:20
CodeEmporium
Рет қаралды 27 М.
Where Are Laid Off Tech Employees Going? | The Rise of Tech Layoffs
8:50
Introduction to NLP | GloVe & Word2Vec Transfer Learning
21:12
Normalized Nerd
Рет қаралды 11 М.
Implementing Word Embedding Using Keras- NLP | Deep Learning
18:05
I hate being a software engineer. I'm done.
12:43
DecisionForest
Рет қаралды 1,4 М.