Build an AI Reader - Machine Learning for Hackers #7

  Рет қаралды 48,885

Siraj Raval

Siraj Raval

Күн бұрын

Пікірлер: 103
@nickriker8196
@nickriker8196 8 жыл бұрын
Hands down best machine learning channel on KZbin.
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks so much, i'm flattered!
@SlumdogWunderKid
@SlumdogWunderKid 8 жыл бұрын
Came here from Facebook. Keep making these videos! I haven't had time to go over Google's new NLP tool. and I am willing to bet all this AI open-sourcing is only going to increase in frequency.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks PJ, you make a good point.
@abdousayed3485
@abdousayed3485 7 жыл бұрын
Thank Siraj. I am a mechanical engineer who left his field to AI. I am learning a lot from you THUMBS UP
@TamilLatest
@TamilLatest 8 жыл бұрын
Great video! Had to put it at half speed around 3:10 so I could understand what was going on. You sound like a laid back surfer at half speed lol Tensorflow FTW!
@SirajRaval
@SirajRaval 8 жыл бұрын
interesting, thanks for letting me know i will slow down future videos a bit
@chemdah
@chemdah 7 жыл бұрын
Really impressed with your knowledge of NLP. How do you learn all this stuff so quickly? You must be a genius!
@FG-Supercharged
@FG-Supercharged 6 жыл бұрын
FYI... The Github repository location for Parsey has changed to: github.com/tensorflow/models/tree/master/research/syntaxnet
@arunk123456789
@arunk123456789 8 жыл бұрын
Awesome Video! Helps a lot! I am working on a sentiment analysis project. Make more of these!
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks so much! will do
@simonstrandgaard5503
@simonstrandgaard5503 8 жыл бұрын
Awesome. Easy to understand. Perfect pacing.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks so much :)
@niko2756
@niko2756 8 жыл бұрын
Is anyone else having trouble getting this code to work properly?
@JaredScheib
@JaredScheib 8 жыл бұрын
Awesome! Thanks for this - been wanting an intro to PMcP. But what the new facial hair as determined by an AI!?! ;)
@SirajRaval
@SirajRaval 8 жыл бұрын
Ha!! Thanks, the next one 'AI Barber'
@JaredScheib
@JaredScheib 8 жыл бұрын
:)
@badashphilosophy9533
@badashphilosophy9533 Жыл бұрын
Who knew there was so much that goes into understanding words. Dependancies, something i hadnt considered. I had this cool idea for optimizing language, it just takes applying the one we have to a heirarchical taxonomy of which already has a cipher or a syntax designated to each node. Y u ask? Because if our language was plotted to the tree based on meaning then all words in all languages with the same meaning no matter how theyre spelled, how thry sound or the grammar of the language all go in the same place on the tree, so if i know that 2a7b is 'encode', a german guy who knows that codar is 2a7b then we both know what we mean when we say 2a7b without learning eachothers lanfuage. It essentiallu becomes a universal language translator. But its also an intuitive tree heirarchy ordered by troponyms for verbs and hypernyms of nouns so its way more than that, instead of creating complex maps and metadata for each words to explain relationships we simply have clusters in clusters in clusters that all nestle by meaning, semantics and common use ie a more generalised form of dependancies where verbs for example are commonly used alongside certain kinds of nouns helping classify them, i mean u wouldnt decode a horse, u decode information, u interpret information to, hence decode and interpret go under communication but decodes broader so interpretation is a lower teir, u can navigate from the grandfather node to through the tree intuitively by opening the broader terms that house the mores specific terms. In other words the relational information is built into the map itself, the words and the cipher are all the same thing and thus the information about the relationships is self evident. The potential implications for computational efficiency for both brains and computers is theoretically insane in my non expert opinion, it also potentially bridges the gap between humans and machine, coz technically u could also call it a language even though its really a framework for language. Anyway i have 0 technical skill and it would take me years to get this off the ground due to my low knowledge and lack of resources i dont have a pc or anything but if it interests u and u can see how it might revolutionise humanity, ai and basically all our systems then u can use it, u seem liek a clever dude maybe it wouldnt be so hard for u to do and maybe u could find some beneficial uses for it.
@DanielDugovic
@DanielDugovic 8 жыл бұрын
Thanks for doing these videos and for publishing the code. I think you overstated your claims: how using these tools would you extract intent (or perform sentiment analysis)? Parsey constructs a sentence diagram with POS tagging, but the rest is nontrivial!
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks Daniel! we can extract sentiment trivially using a human labeled sentiment lexicon see Textblob python module or harder but funner way (deep learning)
@DiogenesActual
@DiogenesActual 7 жыл бұрын
How do you know the API functions wihtin Syntaxnet? Anyone have documentation on the API? I've got it up and running but I'm trying to write my own pythons scripts that can use the parser.
@rohitsaxena22
@rohitsaxena22 8 жыл бұрын
Nice Vlog! Try to increase the length of the video and provide some prerequistes. For sentiment anlaysis, u recommend using the POS tags generated by SyntaxNet with SentiWordNet or using the intent output?
@SirajRaval
@SirajRaval 8 жыл бұрын
SyntaxNet with SentiWordNet. Thanks!
@piyushsinha1362
@piyushsinha1362 8 жыл бұрын
Nice one..I like the idea of building a political debate fact checker.I 'll definitely work on it. Thanks.. Keep posting more videos.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks so much! Glad you liked the idea, that'd be so incredible send me a link if you get around to building it :)
@konkoism
@konkoism 8 жыл бұрын
Hey Siraj, I'm trying to understand this in the context of the previous episode, building a chatbot. There you mentioned that one could teach a program to respond to a human within a closed domain via a generative model. But you didn't parse the incoming text like you did here, did you? So where did the machine learn to understand the user's intent in order to - for example - return the correct IT support answer? Oh and thank you for the great video content :-)
@SirajRaval
@SirajRaval 8 жыл бұрын
you're right it didn't. see this explanation explosion.ai/blog/syntaxnet-in-context
@cult-ur-fit
@cult-ur-fit 8 жыл бұрын
Hey there I checked out the repo and I had a quick question: What is the tensorflow transformer library doing for us?
@SirajRaval
@SirajRaval 8 жыл бұрын
its transforming our inputs into a format that is more suitable for training in our neural network. we can tune those transformation parameters if we wanted to as well
@GeorgeArellano
@GeorgeArellano 8 жыл бұрын
Good Shit Siraj. I guess I have to check out Parsey now.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks Jorge!
@anhvth7342
@anhvth7342 8 жыл бұрын
amazing, how long have you been with deep learning ?
@SirajRaval
@SirajRaval 8 жыл бұрын
since the robotics lab as an undergrad so about 4 years now on and off.
@qwerty12341244
@qwerty12341244 8 жыл бұрын
great video! do you know of a way to "play" with Parsey without knowing much programming?
@Unitazy
@Unitazy 8 жыл бұрын
it's a library for Tensor Flow so you need to have some basic Python skills. Worth learning tho!
@SirajRaval
@SirajRaval 8 жыл бұрын
what Vlad said!
@ぶらえんぴん
@ぶらえんぴん 7 жыл бұрын
It is almost perfect if you can adjust your video onscreen examples "I book a ticket to google" to match the example you were talking about: "the man feed her cat food"
@VictorGallagherCarvings
@VictorGallagherCarvings 8 жыл бұрын
Even more interesting would be not only a fact checker but a logic checker.
@SirajRaval
@SirajRaval 8 жыл бұрын
word
@CasteloOfficial
@CasteloOfficial 2 жыл бұрын
It's what I have searching for! Amazing! 😍❤️👍
@reijin90
@reijin90 8 жыл бұрын
Well done; the demo output couldve been clearer (readability and time on screen).
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks! Great feedback, i'll slow it down next time
@stupify6751
@stupify6751 7 жыл бұрын
Sir , how can I build my own api.ai using Syntaxnet? where should I start?I am getting POS tagging but what next?
@SirajRaval
@SirajRaval 7 жыл бұрын
wrap syntaxnet in a django app. build API calls for functionality that you define. upload it to heroku.
@stupify6751
@stupify6751 7 жыл бұрын
Sir, thank you very much for your response . if u have seen the video of api.ai demo, there they have shown a hotel booking scenario, the system is able to understand what the user is asking with very little training. The syntaxnet is providing the pos tagging,how do I get to know the meaning of the sentence?is it just simple comparison. sorry if this sounds dumb, I am a noobie to machine learning.
@knighthawk095
@knighthawk095 7 жыл бұрын
Can we use Parsey McParseface in Android ? If yes then how ? And did you solve your buffer overflow problem?
@srikanta80
@srikanta80 8 жыл бұрын
this is awesome bro.... thanks for providing us with an insightful video.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks for watching!
@MegaSexygayguy
@MegaSexygayguy 8 жыл бұрын
I would subscribe twice if I could. Great stuff man
@SirajRaval
@SirajRaval 8 жыл бұрын
woot! thx
@niko2756
@niko2756 8 жыл бұрын
will i be able to get this to run in python 3? Regardless I really like this video I'm going to start working on this right now.
@SirajRaval
@SirajRaval 8 жыл бұрын
Yup!
@Throwingness
@Throwingness 8 жыл бұрын
When I type... >>> import demo_lib into terminal, I get... Traceback (most recent call last): File "", line 1, in ImportError: No module named 'demo_lib' Tensorflow is installed and tested
@Throwingness
@Throwingness 8 жыл бұрын
I'm learning now. 'Demo_lib' is a module? Where can I download this module to put into the Python folder, (I know where the python folder in my machines is). I don't see this module anywhere in the Tensorflow Github page.
@SirajRaval
@SirajRaval 8 жыл бұрын
it's a file included in the repository in the description
@sourabreddy2k15
@sourabreddy2k15 8 жыл бұрын
you are really killing it bro :) , keep up the awesome work. Still can't understand why you left twilio for this thing , now that's some true passion . But now as you have left the job do some justice , bombard ML learners like me with awesome supply of tutorials . Also you could start a kickstarter for this dude , really good .
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks a lot, yeah i'm figuring out a business model. It'll happen. Kickstarter is a good potential idea, I'm sure something will come up. I'll keep pushing content for you :)
@hexkcd7163
@hexkcd7163 8 жыл бұрын
Hey, how about Patreon?
@SirajRaval
@SirajRaval 8 жыл бұрын
Hex i think that's what i'm going to do. i'm working on one right now, will have a link to it in my next video :)
@8Trails50
@8Trails50 8 жыл бұрын
tbh, i only watch cause of the memes
@SirajRaval
@SirajRaval 8 жыл бұрын
Haha! Thanks for the honesty
@mandeepvratesh4702
@mandeepvratesh4702 8 жыл бұрын
yeah... :p
@moshfiq
@moshfiq 7 жыл бұрын
That is one important reason for me too. Lets eat grandpa. Lets eat, grandpa. :D :D
@hiteshvaidya3331
@hiteshvaidya3331 8 жыл бұрын
I want to build a algorithm to code convertor with this. How can I do it?
@SirajRaval
@SirajRaval 8 жыл бұрын
wow, that is quite an ambitious idea i like it. it sounds similar to language translation. here's what i would do for a prototype; Apply OCR via OpenCV to an image of the algorithm. That way you get a math equation from it. It would be extracted with computer vision on the image. This problem has been solved. Then its a bit easier; converting a string equation to code. I think sympy will help you do that nbviewer.jupyter.org/github/jrjohansson/scientific-python-lectures/blob/master/Lecture-5-Sympy.ipynb
@maniacalcactus4705
@maniacalcactus4705 8 жыл бұрын
Dat deep learning meme though
@SirajRaval
@SirajRaval 8 жыл бұрын
ONE MORE TIME :)
@vijaykoravi7583
@vijaykoravi7583 7 жыл бұрын
hey siraj can you tell us about replika.
@luisrevilla9173
@luisrevilla9173 8 жыл бұрын
Amazing videos. Please keep going.
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks Luis! Will do
@RaisesCom2
@RaisesCom2 8 жыл бұрын
Best channel for ML. Get a better mic tho
@SirajRaval
@SirajRaval 8 жыл бұрын
Thanks!! Good call.
@SunilLangtad
@SunilLangtad 7 жыл бұрын
where is that demo_lib package?
@machapuis
@machapuis 8 жыл бұрын
your code works :) thank you!
@SirajRaval
@SirajRaval 8 жыл бұрын
anytime!
@tomyoung1394
@tomyoung1394 8 жыл бұрын
This is very helpful, thank you
@SirajRaval
@SirajRaval 8 жыл бұрын
thanks for watching!
@hussain5755
@hussain5755 7 жыл бұрын
you are the best siraj
@woodstoney
@woodstoney 8 жыл бұрын
You're not cracked after all...you're just...um...hyper...no...Enthused!! That's it! Cool videos you make...Keep going! ;)
@SirajRaval
@SirajRaval 8 жыл бұрын
Indeed, it is genuine enthusiasm. Thank you!
@dominiquerouillard316
@dominiquerouillard316 7 жыл бұрын
I changed the speed to 0.5. Solved the problem.
@SirajRaval
@SirajRaval 7 жыл бұрын
lol im getting slower now
@imaginist0806
@imaginist0806 7 жыл бұрын
Nice! you provide really interesting information about AI... Try talking a bit slower, so that your information is conveyed even better. good luck!!
@SirajRaval
@SirajRaval 7 жыл бұрын
will do thx
@griesrt
@griesrt 6 жыл бұрын
This was filmed at LinkedIn
@kinestheticlearning
@kinestheticlearning 8 жыл бұрын
When you say "from left to right" and wave your hands in that direction starting from 3:00 it would be really nice if you could first 'flip' the part of video depicting you *before* you apply chromakey (and add other elements in video). Because that way you would be seen waving hands in the left (or right) direction, as it is from viewer's perspective; I'm just saying it because I fall into a category of people (that includes 19.5% college professors and 26.2% college students, according to this faculty.washington.edu/chudler/java/hands1.html ) who have trouble telling right from left; and adding perspective problem, it makes it even worse ;-)
@SirajRaval
@SirajRaval 8 жыл бұрын
this is great feedback, thanks i will do this next time
@vivasjimmy
@vivasjimmy 8 жыл бұрын
nice thanks Sira
@SirajRaval
@SirajRaval 8 жыл бұрын
Anytime
@adriannajera8013
@adriannajera8013 7 жыл бұрын
could it be used for spanish language?
@SirajRaval
@SirajRaval 7 жыл бұрын
yes
@adamshamsudeen6808
@adamshamsudeen6808 8 жыл бұрын
Is there any python version of this code?
@SirajRaval
@SirajRaval 8 жыл бұрын
yes github.com/livingbio/syntaxnet_wrapper
@carbonchar
@carbonchar 7 жыл бұрын
Great Job (Y)
@SirajRaval
@SirajRaval 7 жыл бұрын
thanks
@lkd982
@lkd982 7 жыл бұрын
You are so damn smart, it ant natural. Are you just showing off? Btw, the production for these videos, including the memes and skits: did you do all of that, or do you get help? Again - it's not natural! Thanks for these, they are absolutely brilliant, it's a wonder you haven't been snaffled by the Illuminati! Q~~~~
@SirajRaval
@SirajRaval 7 жыл бұрын
thx its all me
@lkd982
@lkd982 7 жыл бұрын
Staggering indeed. But could you answer this? Why learn ML when Musk et al are warning about AI supremacy? And (as a less sinister prelude) even before that, won't there soon be ML models capable of doing their own domain specific ML? what is your understanding?
@akpronet
@akpronet 8 жыл бұрын
While i commend your efforts and I'm subbed. I can't help but seem to think you gloss over some important details. Parsey McParseface is for parts of speech understanding. That does not equate to identifying intent of a sentence, thats a much harder problem and while your demo shows a very simple example, real world scenarios will fail at recognizing the correct root word and in somecases there are multiple root words. I suppose anyone who has actually used pmcp would know this, but still its kinda misinforming people.
@SirajRaval
@SirajRaval 8 жыл бұрын
right, pcmp helps intent recognition tasks by providing POS tagging. perhaps i needed to make that clearer. thanks for the feedback and for subbing! getting better over time
@christianhuerta4103
@christianhuerta4103 5 жыл бұрын
How do you build a political fact checker?
@Earzone63
@Earzone63 7 жыл бұрын
Google search has just been updated to do political fact checking now
@gliasmarinho
@gliasmarinho 3 жыл бұрын
wtf is that
Build an AI Writer - Machine Learning for Hackers #8
5:25
Siraj Raval
Рет қаралды 64 М.
How I'd Learn AI in 2024 (if I could start over)
17:55
Dave Ebbelaar
Рет қаралды 1 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 28 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
What are AI Agents?
12:29
IBM Technology
Рет қаралды 570 М.
REINFORCE: Reinforcement Learning Most Fundamental Algorithm
13:42
Andriy Drozdyuk
Рет қаралды 10 М.
A.I. Tries 20 Jobs | WIRED
15:04
WIRED
Рет қаралды 765 М.
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Рет қаралды 1,7 МЛН
Geoffrey Hinton: Reasons why AI will kill us all
21:03
GAI Insights (archive)
Рет қаралды 191 М.
Keras Explained
9:20
Siraj Raval
Рет қаралды 246 М.
AI, Machine Learning, Deep Learning and Generative AI Explained
10:01
IBM Technology
Рет қаралды 432 М.
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 28 МЛН