Text Generation AI - Next Word Prediction in Python

  Рет қаралды 46,608

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 44
@swapbriarASMR
@swapbriarASMR 2 ай бұрын
26:08 Best part. Thanks for the video, very informative!
@ruthvikas
@ruthvikas Жыл бұрын
Chat gpt has some competition here 😂
@artistpw
@artistpw 7 ай бұрын
This seems very helpful for what I'm going to try to write. Thanks!
@alessandroswissborg2536
@alessandroswissborg2536 Жыл бұрын
I haven't understood a jack, but I stuck till the end of the video. I guess it's a good start! 😅😂
@Ayush_.
@Ayush_. Жыл бұрын
please provide source code and dataset.
@yashgajjar4838
@yashgajjar4838 6 ай бұрын
Thank you! It was a nice explanation.
@girishkrishnan8228
@girishkrishnan8228 10 ай бұрын
Hi, by any chance do you know how to measure the accuracy of prediction (of future words) by your model. If so, how accurate are the autocomplete predictions?
@m.s.mohamedwaseem1935
@m.s.mohamedwaseem1935 5 ай бұрын
it was a really nice video i really liked it. but not very understandable but i got the grasp of what i have to do to make a text generation AI. thanks
@ElCalvoYT
@ElCalvoYT Жыл бұрын
Which tensorflow version are you using?? Because the RMSprop is not working
@doggolegend
@doggolegend 7 ай бұрын
for me, i used "pip install keras" then i imported them like this: from keras._tf_keras.keras.models import Sequential, load_model from keras._tf_keras.keras.layers import LSTM, Dense, Activation from keras._tf_keras.keras.optimizers import RMSprop
@gangs0846
@gangs0846 Жыл бұрын
Great Video and explanation! Did you demonstrate how to create a model by yourself same as you used here?
@shinrafahell
@shinrafahell Жыл бұрын
Thanks Rob. I love pandas!
@Pythonist_01
@Pythonist_01 10 ай бұрын
Hello so please maybe we want to make this work in real time with an app or a Website how would we do that Please can you do a video for that 🙏🥺
@opheliaschwuchow6977
@opheliaschwuchow6977 5 ай бұрын
Hi! Thanks for the video, how would you do batch learning if your data was too large to fit into memory?
@batnoy779
@batnoy779 2 ай бұрын
I am using google colab, they provide 12GB of RAM. with big dataset it could take a lot of time but still work
@kareemmamdouh6402
@kareemmamdouh6402 Жыл бұрын
the link of the dataset please
@chiranjeevinaidu3660
@chiranjeevinaidu3660 5 ай бұрын
Quick question can I train this to run a cli application just based on keywords and appropriate commands and arguments for that keyword, this can make automation a breeze
@batnoy779
@batnoy779 2 ай бұрын
I trained my LSTM model on a dataset with about 2000 articles, and the model's accuracy was 30%. Can it get higher accuracy with larger dataset like mine? Thank you for your video, it's so helpful
@spxix2961
@spxix2961 26 күн бұрын
hie bro can u tell me did u perform embedding of all the words in that article or u just did tokenization and trained the model on it dividing it into training and testing data ??
@batnoy779
@batnoy779 22 күн бұрын
@@spxix2961 I used some pre-trained tokenizer (the language is Vietnamese) like phoBERT,... Then I split the dataset into train and test sets.
@ASOSIYXABAR
@ASOSIYXABAR 16 күн бұрын
how can i see your "pre_tarained....." ai model
@guilhermefigueiredo-234
@guilhermefigueiredo-234 Жыл бұрын
Does any one know a larger dataset?
@GeraldBosley-cf8ng
@GeraldBosley-cf8ng 11 ай бұрын
You can create your own database of non fiction books, articles on political websites, Reddit posts, and ebooks and convert to a csv form using python. Machine Learning is more than writing the algorithm, that's the easiest part of Machine Learning lol.
@BrunoJPP78
@BrunoJPP78 Жыл бұрын
Amazing!
@Saidov2024
@Saidov2024 Жыл бұрын
Good job
@mk007__
@mk007__ Жыл бұрын
i cant import RMSprop but i can import rmsprop_v2 but it is not callable, whats the solution?
@SudhanvaMS64
@SudhanvaMS64 7 ай бұрын
It sounds like you're encountering an issue with importing the RMSprop optimizer in TensorFlow. The rmsprop_v2 module might be available but not callable directly. One potential solution is to import the RMSprop optimizer from tensorflow.keras.optimizers module. Here's how you can do it: from tensorflow.keras.optimizers import RMSprop Then, you can use RMSprop as your optimizer in your code. For example: optimizer = RMSprop(learning_rate=0.001) This should resolve the issue
@srinivasasatyavathi6056
@srinivasasatyavathi6056 9 ай бұрын
how pre_tained_models folder came
@peaceful3767
@peaceful3767 4 ай бұрын
Code?
@sridhardornadula3913
@sridhardornadula3913 Жыл бұрын
Hello...bro... please make a python code on giving input text and search in the given data and excute perticular text output
@sridhardornadula3913
@sridhardornadula3913 Жыл бұрын
*perticular text as output
@emreay9577
@emreay9577 Жыл бұрын
I wrote the same message of yours to chatgpt, here is the result: # Define the data and associated code to execute data = { "hello": "print('Hello, world!')", "goodbye": "print('Goodbye, cruel world!')" } # Prompt the user to enter a search term search_term = input("Enter a search term: ") # Search for the term in the data if search_term in data: # If a match is found, execute the corresponding code exec(data[search_term]) else: # If no match is found, print an error message print("No match found for", search_term) I don't really understand what you need but I hope chatgpt does. :)
@Alexander-ms2ct
@Alexander-ms2ct Жыл бұрын
It’s called Natural Language Processing, also the Transformer Architecture. There are books you can read.
@rictrix1503
@rictrix1503 Ай бұрын
11:55
@philtoa334
@philtoa334 Жыл бұрын
Thanks_Nice.
@Mr.Aswin_Das
@Mr.Aswin_Das Жыл бұрын
you sounds like Chris Pratt😁😁
@RedCloudServices
@RedCloudServices Жыл бұрын
Would this be easier with Langchain?
@jamesknight0001
@jamesknight0001 Жыл бұрын
?
@nauvalzulfikar4884
@nauvalzulfikar4884 9 ай бұрын
hehe... n_words.. hehe.. this is the only time it's acceptable to say n_words.. hehe..
@codewithtaus
@codewithtaus Жыл бұрын
♥️♥️♥️♥️♥️
@mugudev
@mugudev Жыл бұрын
1st View
@thechoosen4240
@thechoosen4240 Жыл бұрын
Good job bro, JESUS IS COMING BACK VERY SOON;WATCH AND PREPARE
@simssim262
@simssim262 Жыл бұрын
In the era of Transformers this guy is using LSTMs 😂
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 42 М.
167 - Text prediction using LSTM (English text)
29:09
DigitalSreeni
Рет қаралды 19 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 42 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 39 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 138 МЛН
15 POWERFUL Python Libraries You Should Be Using
22:31
ArjanCodes
Рет қаралды 60 М.
Fake News Detection in Python
13:54
NeuralNine
Рет қаралды 29 М.
I Built a Neural Network from Scratch
9:15
Green Code
Рет қаралды 436 М.
How do LLMs work? Next Word Prediction with the Transformer Architecture Explained
6:44
What's AI by Louis-François Bouchard
Рет қаралды 17 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 3,9 МЛН
PyPy: The Faster Brother of CPython
10:26
NeuralNine
Рет қаралды 764
Church's Lambda Calculus
57:56
Calvin Deutschbein
Рет қаралды 100
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 42 МЛН