Machine Learning Hugging Face Candle lib for Rust
Key Takeaways
Introduction to the Candle library for Rust by Hugging Face, covering machine learning concepts and implementation in Rust
Full Transcript
Hey everyone. Oh, welcome on in. How's it going? Good to see you. Happy Monday. We're going to get started today with the Rust Candle Library, which I don't have anything up on my screen yet. I need to Let's see. We need to We need to get going on this. So, let's see. Rust candle library. This is the hugging paste library. Hey, thank you for the party poppers. All right. Good to have you here. All right. This is a minimalist ML framework for Rust. Yo, Bonzupi, finally been awake. All right, been sleeping. That's the way to go. Sleeping is amazing. I love it. Yo, Hayden Hill, good to see you. Welcome on in. Happy Monday, you guys. Good to have you here. Let's see if we can get the rust candle library set up for us. Yeah. Yo, Ryan Color Robux, good to see you. Oh, Ryan, cool. Ryan Cool Robux there. Almost had it right. Hey, hello, Hayden Hill. Remember me? I sure do. Hey, Xander Edits, welcome on in. Good to see you. Happy Monday you guys. Good to have you here. Candle Library minimalist machine learning framework for Rust with focus on performance including GPU support. Hey, there we go. Hi. What's up, Stephen? Good to see you, Jake. You're finishing up a video game you wrote in 2019. Yo, you wrote [music] you wrote Oh, I want to see it. I want to see I want to see it when you get a chance. When you get a chance. Uh, are you still doing the dinosaur game? Uh, we do have the dinosaur game. It is still there technically. However, someone wrote some not nice things on it and so we had to turn it off. If you want, I can turn it back on, but if someone starts writing bad things, we can't have it on the stream. Do you want me to bring it back? Yo, how's it going there, Vitb? Hey, Vitb. Good to see you. Hey, radio. Hey, welcome on in radio. Hello. What are we doing? We're doing the rust candle library today. We're doing the rust candle library. It's called uh Allen Raid. Oh, and Bonzupi. Okay. Alien raid. Alien raid. All right. I want to see this very quick. Hayden. Hey. Yeah. All right. So, you want me to bring it back? All right. So, I could do that. But before I do that, github.com, you know, let's just let's just Google search for this, right? Yo, Bonzupi didn't show up. GitHub. Bonsupi alien raid. >> Rogike RPG. What? That's one of my favorite genres with the GitHub. Yeah. All right. You're You are W. Ring, an alien from planet Zoltron who has crash landed on Earth with Australia outback. The wildlife is trying to kill you. [laughter] You wrote in Python with a lib cod tod, but you migrated to Pi game last night. Oh, nice. The game object is to dive as deep as possible. Good luck. >> Any any screenshots? >> Oh, cool. >> Oh, that's very neat. I'm going to say something in Japanese. All right, fourth. or four. Sounds good. Four from >> Hey, a bridge tool pubnub. What's up? Good to see you. A bridge tool. Welcome on in. Happy Monday. Installed the library on GitHub. Uh oh, nice. Excellent. Excellent. Good to hear. Good to hear. Uh let's see here you guys. Where are we going? We got a bunch of keystrokes here. Bonupi. All Python. It's all Python. Let's take a look. There's a launcher. Is there a read me? How do you play? What's the start? Oh, do/auncher or Python 3 launcher. Got it. You love the stream. Hey. Hey. All right. That's in Japanese. You say you love the stream. Good to hear it. Got any tips for editing? Uh, Bitb, what do you mean by editing? Can you describe some details on editing? What specifically are you describing? Cuz I can give you anything that I know. Although there's things that I don't know, and I'll tell you if I don't know. I'll tell you. Make sure you have pip Python installed. PIP install C uh TOD. What is TCOD? What is that? What is that? I don't know what that is. Uh, library software for building rogike games. What? [laughter] Wait, there's a dedicated library for this? Are you serious? TCOD is a software library used to build rogike games serving as its active Python port for uh provides core tools like field of view algorithms, pathfinding, and color console. Wow, I had no idea that this is such a thing. You have to walk the dog. All right, sounds good. Hayden. Hayden, good to see you for a bit. Editing skills for making videos. Oh, well, uh, use a simple editor. Most of it is do jump cuts only. Only do jump cuts. Don't do fading or anything fancy or special effects. Just do jump cuts. That's my best advice to you. Jump cut means that you go from one scene to the other and there's no fading or transitions or or fun animations. Hello. What's the program for today? Oh, Bimpa. Hey, Bimpa. Good to see you. Today we're going to be doing Rust candle library. We're going to get this set up. The candle library for Rust and we're going to start looking at it. We're going to learn out about it. We're going to figure it out. We're going to see what's going on in the candle library. Why is it so special? Got to go. All right. Sounds good. Bit, thank you for saying hi. Yo, uh Proy. Yo, Proy. Hey, Prophy. Thank you for saying hi as well as a pro proy. Brahim PC. Did I say your name right? Did I spell it right? Probably quite tricky to run it since its dependencies are ancient. Okay, Bonupi sounds good. All right, so we're doing the Rust candle library today, you guy. Okay, candle library minimal framework for Rust and focus on performance. Let's see if we can get something set up here on our desktop. I didn't get anything ready, so let me just get things set up here. All right. All right. Desktop MK directory. We're going to say rust candle lib tutorial cd rust candle. All right, there we go. Whoa. Rust candle delivery. There we go. All right. And then get init. Spell it correctly. Init. There we go. And then t-mucks. All right. There we go. JavaScript was created just in 10 days in May 1995 by American programmer Brenda Ike. Hey, fourth from four from four from Yes, I remember that. I remember that. I was I was there. I was there. Not really. [laughter] I wasn't really there. I was alive. I know what happened. Yo, Shupe Pam, good to see you. Oh, welcome on in. Happy Monday. Hey, Ruchi. Good to see you. Welcome on in. You are here. Yes, you are. Yes, you are. All right. So, Rust candle library. We've got a device and a tensor. So, let's see if we can get this running here. I was the first like a fourth from Yeah, you were here before the stream started. You were here before the stream started. I'm so happy that you were. Thank you. >> It's really neat. It's really neat when I when I press the I like schedule the stream for like 5 minutes out and then you're the first one here before the video even starts. >> You uh Why aren't the mob spawning? Oh no, you posted a new screenshot in Discord. I want to see. >> All right, let me see. Uh under general chat Whoa. I got to catch up here. Whoa. Look at this. I like that teaser screen. Hey, very nice. I like this. >> Look at this, you guys. Oh, wait. You can't You don't even see what I'm looking at. Sorry about that. Whoops. There we go. This is great. This is great. One month passed. So early. I know. I know. It happened so quick, right? Oh, there a walleye. A walabee. Oh, it's a It's a walabe. Is that what that is? I can't tell. I can't. It's hard to tell. Human program created by zero energy uh formation. What? Wait. What do you mean? Uh what reason you're running here and your Earth and this universe? Whoa, whoa, whoa, whoa, whoa, whoa, whoa. Wait, wait, wait, wait. What are you saying? I'm actually curly curious about that. Tell me more. Tell me more. Tell me more. Uh yo. Hey, MBH. Thank you for the gold coin. My gratitude to you. All right. Thank you very much. I was not expecting that, but thank you. Thank you. All I have to say is thank you. You completed Gemini versus Chat GBT already. I did. We're done with that now. Yeah, we basically found out that Gemini is way better at chess than chat GBT and we're moving on the next next thing. Hey Gustavo, good to see you. Yo, MBH 0055, thank you again for the gold coin. My gratitude to you. How Oh my goodness. Thank you very much. You guys are fant. You're so You're wonderful. You are wonderful. Thank you. Appreciate it very much. Yeah. So, 80 80 Bishop, [music] we are going to be doing the rust candle labor now. Yo, loons. Hey, how's it going? Working on porting Claude 404 tube to Reddit. Yo, [laughter] nice, nice. Very nice. Hey, Cardinal. Good to see you. Welcome on in. Happy Monday. How was your day? It was good. It was good so far. I just woke up, you guys. I just woke up. I had breakfast. Ate broccoli. Gemini be likely. GPT got best moves. GPD's got some fun moves. That was really fun. I really like that. I really like it for just to bring it back just for a bit. I'm going to bring it back so you guys have it real quick. Are you guys ready? Zero negative positive zero energy formation. Wait, what are you talking about? What are we doing today? We're going to do the roughs candle library. We're going to bring back [music] real quick though. I want to do this one thing here. CD desktop LCD. [music] What was it called? Gemini versus chat GPT. Who will win? Python game. Wait, wait. Open index. [music] Wait, can we say open index html? I don't know if this will work or not. Is this good? Let me double check. Uh, yeah, looks like it's good. Okay. And then, can I zoom out maybe a smidge here? Let me just kind of move the window over just a bit so we can see everything. All right. There it goes. All right. So, then I will start the game. Python game. Okay. Is this going to work? Is it going to work? There it goes. There it goes. There it goes. All right. What are we doing? All right. So, Raj. Hey, Raj. Hey, good to see you, Raj. Welcome on in. You have 128 gigs of RAM, right? Yes, I do. Hey, how's it going there, Chronexis? Wait, Kron. Chronics. Chronics. Yo, Chronics, thank you for subscribing and joining the right channel for software engineering. Good to have you here. Happy Monday. Well, I was actually understanding the Rust code. Oh, Derek. Yeah, right. It's a good one. It's a good library. We're going to do it. So, here's the here's what we did last week or basically over the weekend. We got Gemini versus chat GPT. Oh, the Sicilian was the Sicilian. Is that what that is? What is this sound coming from? The chess game. Every chess move is the boom sound. The vine boom sound right there. That uh you're creating a candle library is amazing. Yeah, I can hardly believe it. Uh, we are going to be using it. Yeah. Was the boom necessary for each move? Yes, it was. It was absolutely necessary. [laughter] Uh, what are we doing today? [music] We're going to be doing the rust candle library today. So, this was this was the chess game that we did over the past few days. Get a life. Hey, Cheese with Mayo. Good to see you. Welcome on in. Happy Monday. Thank you for chatting. What happens if the model does an illegal move? It's it's it's allowed to do illegal moves. It lets it. It's like, "Okay, your your move." And as you can see here, Gemini is just trouncing GPT. Gemini always wins. GPT never won once. It never won a single time. Uh, don't say boom. Wait. On YouTube, you know why, right? No, I don't. Wait, Ruchi, why? Why is that? Why is you can't say that? Why can't you say that? This is your first stream. Hope your day is going uh going great. Oh, thank you. Your stream is going good. Thank you. Yo, Julian. Hey, Julian Baka. Thank you very much. My gratit I mean that was very nice for you to say. I appreciate it. Light is slow because it was taking time. Now imagine the Earth. Wait. Oh, hey. I see what you're saying over there. Big bang difference. Now imagine a big bang seeing the Earth. We not exist and Earth time. What are you? What? What are you saying? What are you saying? I don't get it. You look like Smeaggle from Lord of the Rings. Oh jeez. With mayo. Hey, [laughter] I see we I understand. Yeah. Uh I've got that complexion, I suppose. [laughter] I need the ring. I need the ring. I need It's It's precious, right? It's my precious. What makes AI model different? The data they are trained on. Yes, that's it. Exactly. Same algorithms, same general algorithms, data training process dramatically different, right? [music] So it can sp like a spawn a queen. What happens if the model uh it won't so promotions won't be shown on the screen. [music] However, wait, did it win yet? No, it's not over yet. Okay, so it's still going. You could see you see the moves here. All right, chat. GPT plays like me. It does. >> [laughter] >> Bro, looks like chat. GG TT. Yo, Matthew. Hey, good to see it. Welcome on in. Happy Monday. [music] Steven, try doing Doom. Wait, selfplayable geometry dash. Oh, wait. Maybe we'll do that at some point. You've been watching you now. And I'm 20. Wait, and now I'm [music] 2200. Oh, yo, Julian, really? That's a Is that your ELO score? That's a high ELO score. Wow, that's a high elo score. All right, so it's very clear. It's very clear. See, look, there's some illegal moves happening right now, right? So, oh well, 800 ELO. So, only Oh, only got it. Got it. Got it. So, that was the chest. Okay, so that was what we worked on for the past couple days. Obviously, we can see that there's some general problems here cuz right now the king is in check. It's not really the king is in check because there was castling here. So the actual game board state is in Python. It's correct. Just the visual looks wrong. G. Hey Proud by Core. Good to see you. Welcome on in. Does the TTS work with bits? >> Does the TTS work with bits? >> It does. Yo, loons. Hey, check that out. I was not expecting that. All right, we're going to go. But we're going to go Russ Candle Library now, you guys. We're going to do Russ Candle Library here. Let's close that out. All right, over back. Bring the window over here. Goodbye chess. Goodbye chess. Where's loons over on Twitch? Can chippid handle it if you hardcode its opponent? Uh, open open with the scholars mate. Oh yeah, it we could force it to do that. Yeah, we could we we could do that. We could end it. will continue playing from that that position forward. You started watching because of chess for 1 to two years about 300 ELO because I'm absolute buns. Yo, your anus the the best planet ever. [laughter] Hey, it's a good planet. Good to have you here. Hey, how's it going there, Diamond? Yo, Diamond Dallas Page, good to [music] see you. Welcome on in. Can you help me come to USA? Please help after get discovered in theory. Promise you all money. I don't I don't money. I want better life with good health. Oh, we all do. Let's all get better life with good health. Let's do that, you guys. The speed of light in the vacuum is exactly a lot of number meters/s. >> So, I can break the TTS. [music] Yay. You [laughter] You got the oo there. You did the oo. Hey, Lun, good job. Good job, Lun. You You did it. You did it. All right. Me and my brother just finished our first game. Hey, Julian. All right, Julia Baka. Uh, would love to send you one. All right, sounds good. Yes. Uh, copy you can play on in on in stream if you'd like. All right. The OO, that was from Lons, the TTS. Absolutely hilarious. Yeah, that was Lun who did that. I've done your Rust fundamentals course. Yo, Bimpmpa, good to hear it. Excellent. The Rust fundamentals course, you guys. All you got to do is type Rust Rust by example in Google video and then you'll see all the videos that I made. Horizontal stream looks nicer. It should bring it to YouTube. Hey Derek. Hey Derek over there on Twitch. Yeah. So I've got I've got so I've got two options, right? I can stream to two platforms. I can do the horizontal to one and a vertical to another. So this is kind of how I have it set up. I could do something like reream where I where I do multirocast though that costs money right I can understand today's rust hey bimpa sounds good sounds good all right so here is our our our adventure [music] even rust has it official cheat sheet yeah we've got an official cheat sheet with Rust now all right so let's see if we can do this so we're going to build our new a new uh cargo and knit we're going to cargo and knit here let's do cargo [music] init. And then we're going to say the current working directory. All right. Get add everything. Get status. >> I'm spending all my bits. Do you think that TTS [music] know how to pronounce my name? I'm loons 44 is the best. Long. We're spinning all your bits. Yo, thank you loons. Appreciate it. Hey, Uranus, the best planet ever. All right. Thank you for subscribing. Good to have you here. Oh, welcome on in. You joined the right channel for software engineering. All right, let me make sure everything looks correct over here. One second. All right. Yeah, I think we're doing good. Okay, looks good to me. All right, for thank you for from hanging out with us and saying hello at the very beginning. Hey Lon, [laughter] you don't have to spend all of your all of your uh everything over there. Wait. Hi, Stephen. Good to see you. Yo, Muhammad, welcome on in. Happy Monday. Good to have you here. All right. ls get commit. Here's our starting point. We're going to say candle lib start. Okay. All right. Yo, robot robot block. Welcome on in. Good to see you. Yo, how did you do that? Hey, loons. Yo, how'd you do that? I didn't know you could do that. Whoa, that was cool. You made my day, loons. Wow, that was fast. That was f satisfying. I didn't. Uh, how did you do that? I've never seen that before on Twitch. I've never seen that before. Yo, the Onyx. Onyx the monster. Good to see you. Welcome on in. Happy Monday. Yo, what's up again, Stephen? Uh, what are we doing today? Just got Oh no. Hey, robot blo is terrible. Yo, watermelons, thank you for subscribing and joining the right channel for software engineering. Good to have you here. Don't spend all your money, loons. I know, right? All right, we have to do a cargo ad candle, right? Cargo add candle like that. Is that how we do it? You can see big emojis. Whoa, a rust icon. Yo, giantify an emote. Hey, there you go. That's what it was. That's really great. loons. That's fantastic. I didn't know you could do that. Onyx the monster. Happy Monday. All right. Hey, IQ. Good to see you. IQ, welcome on in. Please don't ignore. Okay, we're good. Uh, we're good. Please. All right. Hey, Lun, that was fantastic. That was amazing. I really like to see that. [music] Yo. Whoa, that was cool. Look at that. Redeemed a message effect. [laughter] I know you guys can't see that. Over here is the message effect right there. Lo, that's neat. Wow, that's Check it. Look at that. I didn't know you could do that. You're doing all sorts of things. Uh, what are you making? Hey, how's it going there, Jack? Triptoe. Welcome on in. We are building the understanding for candle library. The candle library from hugging face is what we're doing today. You have two books. One for daily task and all those for the second note take taking. Oh, you you got a notebook. Hey, Ruchi, you got a notebook for writing things down. Yo, that's right. That's the path I had. I remember doing that in college. That Twitch. Yeah, that was Twitch. I didn't know I didn't know they could have really fun fancy things like this. That's really neat. Yo, >> just rounding my bits [music] number. >> There you go. Hey, Lun, thank you very much for the bits. Okay. Yep. Just the the best planet. All right. You're having an excited Monday since it's your birthday tomorrow. Yo, Onyx the monster. Happy birthday tomorrow. Excellent. What is the idea? It's my first SAS project. I'll invest pretty good time in it. Hey, Neon Java. Hey, there you go. Let's build it. Build the SAS. Make sure what you got to do for the modern SAS now must include agentic workflows. So, you need to have an AI agent. [music] It needs to be not just regular SAS. It's got to be AI agent. Lun is gonna bankrupt soon. I know. I know, right? Thank you. Hey, thank you, Onyx. [music] Uh, will wild that I have to say this out loud, but please refrain from Oh, yeah. Thank you. Yeah, please refrain from harassing Steven. Thank you, Bonzupi. I appreciate it. All right, so let's see if we can make this work, right? Do we Did we get the candle library going? Cargo build. Let me do this cargo build. All right, build that in. Yeah, there we go. Keep chat respectful and friendly. Okay, noted. Neon Java. Uh, I'm not harassing you. Hey, Lun, you're definitely not. You're definitely not. I see what you did there. You see, look at that. I didn't know. This is really neat. I really didn't know that you could do that. I think that's really satisfying. Thank you, loons. I appreciate it. My gratitude. Wow. Thank you. Thank Thank you. Thank you, loons. Okay. Hey, Jose. Good to see you. Welcome on in, Jose. Oh, wait. Is it Is it Jose? Wait, Jose Sui. Sanwi. Wait, am I saying that right? Yo, good to see you. All right. V source main. All right. So, you know what? Before we do that, let's do cargo run. Make sure everything looks good. Yeah, we're good. All right. Hello, world. Yo, Farad, good to see you. What are we doing today? We are building Russ Kendall Library today. Yo, Steam Hacker, thank you for following over there on Twitch. Good to have you here. You joined the right channel for software engineering. We're going to be doing some AI machine learning today. [music] Good to have you here. Think about 50 lbs of burger meat was too big for my fridge. You busted the walls of your fridge off. Oh no, that's terrible. Well, you know what? You could just do broccoli instead. Don't listen to me. Don't listen to me. That was a bad thing to say. I I don't want to judge anything on that front. Yo, all of this is just like $4. Whoa. Well, you know what? It's still that is still just really nice for you to do, loans. I was not expecting that. Thank you for doing I appreciate it. I Wow. Just for $4 for some pictures on a screen like the emoji icons. Oh, you'll do that? All right. Sounds good. All right, let's [music] see what we got here. Let's take a look here. Let's look at this. All right, so let's use our candle library. Let's do this. Use candle core. So, let's bring this up. So, use candle core. I would much prefer if it was just candle. I don't like the candle core part. That's really really unfortunate. And was there like a device and a tensor? Was that what that was? Yeah, device and tensor. Okay. And then [music] we do we really How about we just use anyhow? Yeah. Can we just do anyhow instead? I think or or we could have nothing returned. I think we can do that as well. You're smart. Hey, thank you, Jace Van. Thank you, Jace Van Borginden. Borgand Bordonian. Wait, Borgandian. Thank you. I'm smart enough to be able to pronounce your name somewhat. [laughter] All right, let's get with the next song, you guys. Here we go. Perfect. All right, it's okay. It's hard. All right. Thank you, Jace. Appreciate it. Yeah. Okay. Good to hear. Good to hear. All right. Let's see here. All right. Uh, use of unresolved module linked in core crate. Uh, did I type that wrong? Let's see. Is there a cargo install? What if we go over here? Yo, >> join the community [music] right now at >> Yo, Lun, thank you. Hey, how's it going there, Arsham? Hey, Lun, thank you. Join the community. Hey. All right. Yep. We got the the Discord link there. Thank you. I'm really worried for the TTS. It is. It's I mean I guess we have to be careful, right? We got to be careful. Yo, Harsham HPR, good to see you. Welcome on in. Happy Monday. All right. [music] All right. So, how do we do this? Where is our crate? So, here this right here. Can I click on that? And then cargo ad. Oh, this is what we need here. Okay. I added the wrong library. V uh cargo toml. Let's delete that. That's gone. We're going to add this. There we go. [music] Run. build it out. Yeah, there we go. Much better. Much better. You have a question like whether to take notes for coding or just code some s uh suggest to code while you say say take it. I want your advice because you're experienced in this field. My recommendation is just to code. [music] Just jump right into coding. Don't wait. Don't don't prepare. Just straight jump in. Just start writing. You won't know what to write. You won't know what to write. Start with something simple. Print Ellen exclamation point. Hello. You can say rude racks b hard wall. Right. Something like that. Hello world. Rude racks like that. Oh, did it work? Did it work? Wait. Cargo run. There it goes. Right there. So you can see on the screen. There you go. Hey Chubby. Hey. Good to see you chubby there alone. Welcome on back. Good to have you here. Happy Monday. Can I ask what we're trying to do right now? We're going to be doing the Rust Kandle Library, minimalist machine learning framework for Rust written by Hugging Face. This is a hugging face library. So, it is something I'm really excited about and I want to know how this works. So, we're going to see. We're going to see. All right. So, we had a question mark there because what if we can just do an anyhow? Can we do an anyhow? You're literally you're my idol, sir. Hey, Rudex. Thank you. Appreciate it. Uh, that's really nice to say. Thank you. Oh, my water. My water's gone. I need to grab my water real quick for you guys. Don't go anywhere. Don't go anywhere. I'm going to grab water really quick. Hold on. 30 seconds. All right, got it. Here we go. There we go. Got the water. All right. Told you it wasn't very long. Okay, let's keep going. Let's Let's try out these tutorials here. Yeah, let's get this tutorial going. Let's see if we can make this work. candle core. All right. And then we'll leave that here. Oh, wait. We need to use anyhow. Like that. Anyhow, right. I need to install this cargo. Add anyhow. [music] There we go. Looking good. Looking good. Okay. Here we go. Now I need to return a result. Result with just a regular result. What will be the data set and the utility of this model? >> Oh, hey loons. That's a really appropriate question. [laughter] We don't have a specific objective right now. We're just going to learn the tutorial. We're going to we're going to learn how it works. We've never We don't know how it works. We're going to figure it out. We're going to try it out. We're going to see it what happens. I have no idea. I messaging you on Discord. Check it. Oh, radio. All right. Cool. Sounds good. I'll check it here. Uh, you did back in Java 15 years ago. Yo, Bodie. Bodie Bandit or bow tie bandit. Bow tie bandit. How much has coding evolved since it since then? You wanted to get back into it. Uh, it's quite a bit. Wait. Hey, Capri. Hey, Capri. Thank you for subscribing and joining the right channel for software engineering. Good to have you here. Welcome on in. Happy Monday. All right. So, uh, the bow tie bandit. Has it changed a lot? Yeah. So, mostly you won't be writing Java so much anymore. you'll be writing Scala or Cotlin, right? So that's that's that's a change. You're still using JVM. You're just using a different language. What time in your country? It's currently 8:40 a.m. in the morning. So thank you Lun for asking. So right now we are not going to have any specific data. We're just going to be trying out all the different things here. So these this is what we're going to be doing. We're going to be looking at this. All right. So let's try let's try to get that to run. Let's see. Results empty. There we go. Yo, Ruth Eek. Hey, wait, am I say am I saying that right? Ruth or is it Ruth? Ruth Vic. Hey, Ruth, thank you for subscribing. You join the right channel for software engineering. Also, Kashave. Hey, Kashab Darw Dariwal. Thank you very much for subscribing. You joined the right channel for software engineering. Good to have you here. Happy Monday. >> This example, >> hey, how's it going there? Baba yoga. Baba Yaga. Baba Yaga. This This example looks scary. It's a pretty scary example. I know it's not terrible, but it's also pretty straightforward. Uh, he him. Yo, Maratharum. Wait, Martha. Wait, Mara. Yo, Martha. Is it Martha? Did I say that right? Martha. Hey, how's it going? Good to see you. Hey, Cyber Lanca. Good to see you. My favorite AI coding again. Let's go. Yeah, that's what we're doing right now. Thank you for the hearts, you guys. Appreciate it. All right, let's do a quick little round on I've got an idea. Here we go. Hey, how's it going? Good to see you. Uh, Bow Tai Bennett, you've picked up a couple of books on Python at Barnes & Noble. Yo, that's some OG learning right there. Planning on doing a game development with my brother. Sounds good. Hey, R. Hey, how's it going there? Uh, Ru Rui. Hey, Rui. Good to see you. Also, Jessica, welcome on in. Good to see you. Let's do some gift memberships really quick. There we go. because it's the start of the month, so we got to do gift memberships. There you guys go. Some gift membies there. All right, we got Michael, Nin, Vicki, and or V. Yeah, Vic. Vicki, Vic, Vick, Vicki, Vivic, [laughter] and Enkit. Oh, Ankit. There we go. And Clips merge. Hey, there we go. Clips merge, too. Me, please. Hey, Jessica. Yeah. Hey, Jessica, welcome on in. Jessica Clayton. Hey, it's Jessica Clayton. Good to see you, Martha. Hi, Cyberlunka. Us. Wait, what do you mean us? Uh, we I did It's random. It's RNG. So, whoever gets the memberships is whoever gets the memberships. It is purely RNG. All right. All right. Let's go. Let's go. Okay. Yeah, I know. I know. And then clips merge. There you go. Clips merge. You are a longtime member. All right. So, let's see here. Let's take a look. Let's see if we can get just the basics going here. Just the basics. Well, nothing is random. That is true. That's true, Rashen. Yeah. Uh-huh. Rashab. Yes. Rashab, I am with you on that. It's It's not It's pseudo random. It's pseudo random, right? It's not full random. All right. So, let's get this going here. Let me make sure this is going to work. Uh, let me say okay. Like this. Can I do that? Yes. There we Okay. All right. So, let's see if this runs. All right. Cargo run. A. All right. >> From what I see and understand in the example, [music] we are using the CPU setting the A and B variables with a tensor and setting [music] C as a thing that does math. Then we are printing C and saying okay. >> Yes, we are using CPU settings and the A and B variables with a tensor and setting C as a thing that does math. Then we are printing C and saying okay. Let's see. Yes. Yes. That's what's happening. Exactly. You got it. You got it. I mean, it's it's really simple. It's really straightforward. So, what we're doing is we're creating two tensors here, which is two matrix matrices, right? Uh looks like a random. So, 0 to 1. So, it's a number between 0 and 1. And it's a 2x3 and a 3x4 matrix. The output will be a four a projection of four. So C will be the output. So we're doing a matrix multiplication with A at B. That's what we're doing. Okay. I'm happy you got most of it. Nice. Hey. Hey. Good to hear. Good to hear. All right. So let's see. Let's give this a try. So we're going to type this out. Hey, how's it going there, Trev the Tyrant? Good to see you. Welcome on in. Happy Monday. Good to have you here. All right. Let's see. Did I get everything right? No. I've got a problem here. Something is not working. How do we do this? [music] Uh, let's see. Uh, anyhow, it's not here. Couldn't compile. Cargo add anyhow. It's there. It's there. I added it. Build. Cargo. Build. All right. Hey, Mr. Fabrey. Hey, Mr. Fubrey. Good to see you. Welcome on in. Hello, sir. Regards to Chile uh and PHP developer. Hey. All right. Good to hear it. Yay. PHP and Chile. Okay. H it's 9:15 in India right now. Oh yeah, it's exactly 12 hours and 30 minutes ahead of where I am. Rudra, it's exactly that's the that's the the the distance there. Okay, let's keep going. So, how do we do this? So, why is this anyhow not doing what I want? I want it to be here. I'm trying to do something really simple. Cargo build couldn't compile. Use anyhow. Is it going to give me where the error is? Oh, wait. Did I do this right? Oh, wait. Oh. Oh, I did this wrong here. Results. Results. There we go. See, look. See the compiler? The compiler is like, "Oh, you got to do this. What? It's silly. Look. Look. The code is exactly the same." They're like, "Oh, you you did this and you're not supposed to do that. Do this instead." Look at You see that right there? It's the same thing. The compiler is weird. The compiler doesn't always help you. It does not always help you. All right, let's see here. So, now I think I got it working. Let me double save here. Try it again. Oh, it still didn't work. Uh, use anyhow result. Yeah, result result. Am I spelling that right? Is it telling me warning unused import? No, it's right there. Uh, did I type this correct? Oh, no, I didn't. Russult. [laughter] Okay. Nothing to see here. All right. Hey, there it goes. Run. All right. Now we got it back. Perfect. All right. Hey, Nina. Good to see you. Welcome on in. Happy Monday. Good to have you here. But have you you can help us. Wait, I can wait. Rudrax, what do you want to help with? What do you want help with? Let's see here. Let me know. Let me know. All right. So, let's create two tensors. We're going to create a random tensor. Let a equ= uh tensor rand number and then 0 to 1 uh 1.0 zero. And then we want it to be a uh tupole, a 2x3. And then we're going to do a 3x4 tupole. Uh and then we've got our end device, which I don't have and device. I have not defined the device yet. Let device. Uh yeers, hey, yeers, welcome on back. Good to see you. Good to see you. Welcome on in. Happy Monday. Device equals device. And it was it's a it's a it's an enum CPU. Okay. I mean, why not just do this? It's why not just do CPU? Why have to lowercase the it's just a style thing, but it's, you know, uh what are you doing? We're doing the Rust Kindle library today. The Rust Kendall library. It's a hugging face library. They wrote this for simplicity. Native machine learning for Rust. So, it's going to be super fast. Super fast. That's the plan for today. All right, let's see. Let's do tensor B. And then we're going to do a 3x4, which means that the output is going to be four. So it's going to have a log it log it or four classification. You could do a classification of four, which is what this means. So that means there'll be four possible answers. Uh, and then we're going to say let C equals A dom. Is it Matt Mole? Yeah, Matt Mole. Okay. the borrow B and then print. Wait, do we need it? Print line. Okay, so it has a nice macro support here. All right, print ln exclamation point C. Perfect. Okay, that's it. A, B, and C. Done. Easy. Return. Okay. All right. Let's see if that runs. Here we go. Oh, wait. Matt Mole. Amatmo. Uh why don't you use uh oh oh this f32 I suppose we could oh I need to do oh right okay where does it want that all right so after every tensor operation we need to throw a question mark after here because that is going to be unwrapping it that's basically the unwrap here we go yo >> made a clip compiler confused >> hey all right loot thank you Hey, appreciate it. [laughter] Hey, I want to check that out. I want to check out that clip cuz I realized I was actually wrong. [laughter] R Russ Russol. Here we go. Yeah. See, I actually just spelled it wrong. So, my spelling was incorrect. So, you watch right here. So, you can see here's the line where it's actually wrong. Ru versus RE. So, that was me. That was me getting it wrong. I realize I'm like nothing to see here. I still want to see the clip though. I still want to see the clip. If you made Roblox game, you would be perfect. Yo, yeers, we could do that at some point. We know Lua. We know Lua. So, we can we can write we can do Roblox at some point in the future. All right. So, let's see here. Did that Did that run now? Let's check this out. All right. Try now. Hey, there we go. Look at that right there. Yeah, that's what I'm looking for. And I am seeing a lot of stuff being printed here. And I want to understand more about this. Why does it say 2, 4? We don't have anything that's a 2, 4. Uh oh, it's a 2x4 here, which is very weird. This is very cuz a into b and the out the output looks just odd. Uh probably make a recap of this. Oh, all right. Sounds good. Yeers, sounds good. Okay. So, I I want to understand this. Why am I seeing it like this? This looks weird. H usually, do we want a projection layer? All right. Let's see if we can do another one. We'll do C D. Uh and then we'll do another map. Well, D on the output. All right. Let's do this. Uh D and E. Here we go. Okay. So, C is going to be a 4x1. So let's have a output by one. All right. So D needs to be A and B. And then we need uh D. Yo. Hey not yo not not sit sitanin censenon. Thank you very much for subscribing. You join the right channel for software engineering. I appreciate you. Good to have you here. Thank you very much. All right. So this is going to be d.mmatol. Uh C. There we go. All right. And then we're going to print out E. Let's try that. All right. Yeah, that's what I'm Wait, is that Yes, that's correct. Now, now that looks right. Okay, got it. All right, that is still a little weird. Uh cuz I'm getting two answers and I'm supposed to getting one. I'm supposed to only be getting one answer on the output. I'm not doing a batch. I suppose that's technically a batch maybe. I don't know. Uh I assume. So, let's do one here. See if that changes it up significantly. Yeah. Okay. All right, that makes a lot of sense. Perfect. Okay, let's see here. So, that Let's see now. Now that we got it running, we've got it running now. Let's see if we can do a tutorial. Hey, drawing brothers. Good to see you. Oh, welcome on in. Happy Monday. Good to have you here. Yo, ClankerPlays for Clanker_plays 101. Roblox just can't support Rust over Lure because their whole engine is based on Lure. Going to Rust would mean rewriting the whole engine in Rust and making all the Roblox dev learn a new language. >> You would be. It would be. Yo, if we had to do it like that, loons, thank you very much for the TTS over there. Let's see. What's up, Drawing Brothers? What language is this programming? Is it Python? Hey, Arduino. Hey, Arduino. Uno master 123, welcome on in. Happy to see you. This is Rust. This is the Rust programming language right here. We're doing the Rust Kle. We're going to learn it. We're going to learn it. So, it's going to probably be a few streams where we learn this. Arc was growing rapidly in 2026, but got hacked. It was. And people are switching from Windows to Linux. Well, that's what that's still happening. Do you know the bandit static code scanner? I don't. I don't. Drawing brothers, tell me about it. Hey, Sergio. Rust. There you go. Rust right there. Okay. I think we're all in the right spot now. So, let's see here. I want to let's see if we can find a tutorial, right? Let's see. I I'd like to go through this. We can go through some examples. Uh but I'd much rather go through a tutorial. All right, let's see here. Cargo source. Let's read this. Ooh, it's just a bit much here. Okay, see what's available. I'm just going to scan through this really quick to see if I just to get like the landscape of what we're looking at. There's a lot of JSON happening here, so it's not exactly what I want to look at. are using Mac OS. You are right. You're right. Here we go. Check this out. You name Darwin right there. Right there. [music] Darwin, you guys. This is from GitHub. Yes. Arduino Uno Master, the microprocessor. This is all in GitHub right here. We are all on GitHub. Yo, >> Arduino Uno Master. Sorry, but how can you think this is Python? It's way scarier than Python. >> It is way scarier than Python. Yeah, this is way scarier than Python. Yeah, definitely a little bit more than Python, right? I'm with you on that. That's a tool you can scan your Python codebase. If it if there are vulnerabilities, it can detect it. Oh, that's fantastic. The Bandit static code scanner. Okay, that actually sounds worthwhile. You know, if we were still using Python heavily at PubNub. A little scarier. I know, right? It's a lot scarier, Sham. A lot scarier. a whole bunch more scarier. Drawing brothers, thank you for the reference. Thank you for the reference. Yeers, all right, welcome on back, Yepers. Good to have you back again. Uh, today for the third time. You're back. Third time. Okay, one second. All right. What I want to do is see if there's like a tutorials here. Tutorials. Here we go. A very detailed tutorial showing the convert a pietor torch to a candle. Okay, let's try this out. See what tutorial for porting PyTorch transformer model to candle rust. [music] So we could do that. Um, but specifically, all right, so here's the pietorch. See, look, this is what Lun was describing. Here's the difference. Here's Python, and even has built-in typing here. So, I mean, like, we're already doing something extra, right? You don't need to you don't even need this. Uh, Lun is new in this field. I guess it's expected for him to say Python. Wait. [laughter] Well, oh, sure. That's fair. That's fair. I'm with you on that. All right. Let's go to the next song over here. Scroll. There we go. Okay. This is your first time in the street. So, what are we doing? Hey, Paul Thomas. Good to see you. Welcome on in. Happy Monday. We're doing rust candle library today. So, as you can see here, there's a difference. You can see PyTorch. PieTorch here, which is Python. And you compare that with the Rust candle library, which is a little scarier. A little bit scarier. Oh, what? We really have to do this. Do we need to? This is weird. Oh, that's something. That's native Rust. Okay, we don't have to worry about that, I guess. Um, but in order to convert that to a tensor, see, now look at that. That is so much nicer than the burn library, right? If you were doing this in the burn library, you would have to do a whole bunch of extra stuff here in order to make that work. Which is good candle or torch? I So, if you're going to be doing Rust, use the candle library. If you're going to be doing Python, if you're going to be using Python, use the torch library, which is lib torch. That's what you want to do. Lib torch for Python, candle for rust. It is the preferred approach. Let's see if we can do a feed forward. Let's see if we can do a feed forward. Yeah. All right. So, how many features? Let features equals. We're going to say uh we'll say two features. And we'll say let classes equals one. One class output. Here we go. Classes. And then features. Features. Okay. >> Scarier. >> And then we're gonna have less means more flexible. >> Wait. Scarier also means more flexible. Are you sure about that? Oh, wait. Loons. I am not so sure though. I see kind of what you're describing. Like it does seem like there's more capability, more power with the scarier looking thing. However, it I don't know. I don't know. I still think that the even if you're using a GPU accelerator if and you want performance, the majority of the heavy workload will be done on the GPU, which means that submitting the work to the GPU is going to have the highest latency and it's identical between Rust and Python for the most part. So from a I don't know. We're going we're going to see though. We're going to try the candle library. We're going to see how good it is. I want to do AWS AI certification. Oh, do you know of a free place where I can do labs like Bedrock? I don't. Drawing Brothers, I don't. I don't know. If I knew, I would tell you. I would. Rust is more capable, but not flexible that much. Yeah, it's a little It's Yeah, it's less on the flexible side. You can definitely say that. I'm with you on that. Definitely less on the flexible side. All right, here we go. Okay, let me do this. Let me modify this. Sorry. So, input equals let's see if we can do an X or right. Let's do my favorite hello world. Uh, let's see. Features two features. Um, we're just going to say zero and one. So, we'll do like one and one. Something like that. Something simple, right? So, that's my input. And then we're going to do a at input. Hold on. Oh, we need to make a tensor out of this. We have to turn this into a tensor right here. Uh, what are we doing? Hey, Garcia Alra, good to see you. Welcome on in. Happy Monday. We're doing the Rust candle library today. We're just learning how it works. We're going to go through a few tutorials. We're going to see how it works. We might make a small model, a toy model, the the XOR model, which is my favorite tutorial. So, that's what we're doing. Trev the Tyrant. Are you using Bim? Yes, this is Vim right here. This is Bim. You got it right there. Little bit of BIM right here. What is Rust candle? Uh candle is a machine learning library written by hugging face for the rust programming language. They did it through an inspiration of the torch library in Python. And it is my favorite library, the torch library. They've got the candle version here comparing it with the torch version. Now I'm still I still like this syntax a lot better, right? Doesn't that look more friendly? This looks more friendly. You scroll down to this. This looks scary. Ooh, this is scary right here. Oh, no. I don't know. You know, this is scary. So, I I I prefer I prefer the the more friendly approach here. However, we're going to be using the candle library today. So, I should learn Rust or Python. Oh, well, uh, Python first. Python is more flexible and it's more heavily used in AI in the industry. Rust is fringe and is going to be a lot more performant. A lot more performant. Yo, Katana. Hi all. Good to see you. Welcome on in. Happy Monday. Welcome on back. Good to have you here. Zeros, ones. Oh, so like this. Oo, here we go. Torch. All right. So, this is what I need to do. I need to do torch new. I need this right there. That's what I need. All right. So, my input is going to be a tensor t. Can I say tensor like that tensor and then it's going to be one second equals a new tensor. Can I just throw the end data around this equals tensor new and like this? I don't know if this is going to work or not. I'm going to try. We're going to go beyond the tutorial there. How long does it take to get comfortable with Rust? Uh, it took me a few months because it's very different. It's very different than all the other languages. So, it's kind of weird. Let us build a four class output. Sure. All right. Four done. All right. Bimpa done. Classes output four. Easy. You wanted to be here early. Got stuck in a meeting. Oh, okay. Case Katana. Well, all good. No worries. We still have plenty of time. We still have plenty of time to spend on this. All right, let's keep going. All right, I want this to be my tensor. Can I do that? And I need to say what the device is. Yeah. All right, my and device. Here we go. Looks good there. Okay. I think that's the correct syntax. Now, I think that looks good. All right. Now, just for simplicity, we're going to we're going to keep this simple here. We're going to we're going to hide everything. Here we go. Hide hide that this as well. And we're just going to we're just going to do this. All right. So, let's see if that see Let's see if this builds here. All right. Build. Uh didn't like that. Does it know why do we want an amperand in front of it? Hey man, how's it going? It's going good. Raj, good to see you. Welcome on in. Happy Monday. Uh, I've been slowly learning Rust for the past last 5 to seven years. It takes a long time, right? If I start with Rust, will it be easier? No. [laughter] No. Uh, well, I mean, if you want, no. No. uh under any case I don't think rust is going to be easier in any situation whether it's your first language or your last language [music] rust is just problem Rust will be easier to learn if you know other languages already rust is just so different compared to all the other languages I think that's why why I don't remember how to code when I take a long vacation like two weeks right it takes don't worry you get back into it pretty quick right also we're not really writing code anymore these days right We're mostly using the AIS to write code for us now. All right. So, we need to specify the data type. Oh, D. Oh. Uhhuh. Okay. So, what if we said U32? Can we do that? I don't want to say U32. Uh, I suppose we could, but what how about we do F32? Like that? Can we do that? Is [music] that going to be better? Is it like that? Oh, it did. It built. [gasps] Wa! No way. Okay, that's amazing. That's amazing right there. I mean, it would be nice if other Well, you know, whatever. Whatever. Uh, in what age were you start programming? I started when I was 11 with a Sam's teacher C++ in 24 hours. It came with a C++ Borland compiler on a CD ROM drive. That's when I started. If you learn Rust, then Python is easier. Go learn Python. Yeah. Okay. Good recommendation, Garcia. Good recommendation. Rust is many things. It's not easy. That's true. Oh, hey Neva. Hey, Nea. Good to see you. Welcome on in. We're trying the candle library today. Most complex option is either maybe C++ or Haskell. And it's a mix of between these two hardest languages. Hey, I'm Nea. I'm really looking forward to jumping in and getting a good atll. I'm actually kind of excited about that. See, Golang, Python, JavaScript, Cotlin are the best practical beginner languages. Yeah, those are good. Good list. That's a good list. Assembly is the hardest one. Assembly does take a little bit of understanding. Once you get it though, it's actually pretty straightforward because it's really simple. You've basically got operators and arguments, right? That's it. You've got operators and arguments. That's it. It's actually pretty easy to memorize it and understand how it works. Takes a little bit of time. Okay, where are we at now? 20 minutes. All right, we got 24 minutes left. Let's see if we can make this work here. Vibe coding feels uh like hell. You don't know people like it though. I didn't pay for business plan. Oh. Uh right. Arsham. Okay. So, it does take a while to get used to. It feels like I don't know if you've seen this or not before that I lost all of my craftsmanship. It's gone forever. Oh no. I used to be so good at coding and I used to appreciate all the wonderful syntax highlighting and the formatting and everything that is not so necessary anymore. It's not now that the AIs do the coding for us. Disposable code. How can [music] you display the translation on live stream? Oh, in-game 9849. Are you talking about the subtitles? Are you talking about the live subtitles? This is tech that I wrote a few years ago. Eight years ago now. If you are interested, it's right here. You can grab this. It's on our discord. If you are interested, it's right here. If C is good beginner language, uh is so is assembly. Assembly is just C when it's more tedium. Oh, right. Right, right. Slightly closer to the metal. It is Bonzupi, right? It's just a step above that. I was very good at coding. I was able to code entire full stack app by hand. Garcia. Well, you know what? You don't really lose that. You can get it back. You can get it back. You learned Python and started getting a little good at it. All right. Which should you learn next? Um, it depends. Are you going into systems engineering or are you doing full stack? Right. Are you doing applications? Systems engineering or full stack? I would recommend probably maybe um Node Node.js, JS next uh you know express I don't know a whole bunch of there's a whole bunch of ideas in there uh SQL databases and things like that when you learn assembly you know CPU execution instructions in a program I'm so glad I learned that me too right it's useful in reverse engineering challenges and capture the flag once you learn C you almost implicitly know assembly that's a good point yeah it it becomes more obvious of what's going on. It does. All right. So, let me see if I can get this program to run here. Let's see if I can get all of it. All right. So, let's do our We've got three layers, three mattes. We got our input features. Uh, and our features is going to be two. We've got two features here, I think. Let me double check this. Where do we put this at? Over here. Close that. All right. One second. Here we go. Okay. Do we need to Does that look like three data? Where's my data at? Okay, that's not going to give me information. All right. All right. We're going to try this. That's our input data. Here's our Here's our layers. Three, four classes. Let's do the mult map molds. Now, are you currently focusing on making games or regular applications? Oh, in-game. So, I am currently doing machine learning right now. We're going to be doing the rust candle library from Hugging Face. This is a hugging face library that lets us do pietorch like operations in Rust. So that is currently what we're working on. And I'm very excited to learn about this. I've been wanting to learn about this for like a month. I'm like, "Oh, I really want to do that." But then we got distracted by chat. [laughter] Chat's like, "Oh, we got to do this. Oh, we should do this." I'm like, "Okay." And we just kept getting distracted. Let's see. Should I read the Rust book or watch Rust tutorial? Um, I recommend always doing the tutorial. always do the tutorial. I feel like you learn a lot more and then go back to the book afterward book secondary book optional and secondary. You play games that teach you assembly from scratch and they are quite fun for a beginner friendly. The ultimate level is usually something like sort. Ooh, a sort a sort function. That's a good one. All right, 20 minutes you guys. What's the best programming language to make AI agent API? Python. I think Python's the best. Python for the win. Python [music] for the win. For the win, I think number one. It's not It's not the fastest, but it doesn't need to be. It doesn't need to be for most of the time. It doesn't need to be. Reinforcement learning was cool to learn about, though. It was It was really good. It was really good. You're a data analyst, but mostly working on automation and data processing as the department is new. Woo! Hey, that means you get to shape the department. Thoughts on Mojo? Mojo's great. Mojo is a a compiled language which is Pythonic, right? Google Mojo language. Let's pull this over here. All right. Mojo. Let's take a look. Let's see what that looks like. Is this right? Is this right? Yes. Write like Python. Run like C++. Let's take a look. Oo. Well, like Python. Like Python. What is the best AI? Hey, Deanie. Hey, Deanie plays. Yo, Albert Wesker from Resident Evil. Good to see you. Welcome on in. Happy Monday. Yo, Albert Wesker is here, everybody. Yo, Pratt. All right, so this is Mojo. It looks pretty straightforward. I would not call this py It's Pythonish, right? Pythonish. Not quite full-on Python, bro. What does data scientists do, Albert Wesker? You deal with data data lakes and then you process and you you shepherd data. You throw it through pipelines. You do aggregation on it. So you can do analytics. You can do uh you want to analyze the data. You could also run it through models for regression. So you can see what the futures look like. All right. Oh, that's so fun. If this is what I that's what I want to do really and it's actually what I do a lot at my my my job the day. I do a lot of data analysis. Uh Deanie, what is the best AI? I didn't. All right. So, um, Deie, thank you. Thank you for asking again, Deie. Deie, um, >> the levels of programming languages, [music] Scratch, blocky visualbased languages, greater than Python, greater than C, greater than Rust, greater than C++/ C, greater than assembly, >> assembly and binary. >> Okay. Yeah. All right. Uh, Deanie. Oh, how's it going there, Benny boy? What are you making? A machine. Yes, machine. We're doing machine learning, you guys. We are. All right. Dean boy. Uh, if you're writing code, claude is the best and codeex is really good. Gemini for everything else. Uh, I would say it's also a good idea. Sunscribed cool content. Yo, Nikita. Hey, Nikita. Thank you very much. Appreciate you for subscribing. Welcome on in. You joined the right channel for software engineering. Good to have you here. Happy Monday. No, no, greater than just arrow. Oh, just arrows. Okay, thank you. Yeah, just the arrows. Oh, what are we doing? Albert Wesker, we are doing machine learning today with the candle library in Rust. You're coding a game. Yo, Deie, nice. If you're coding a game, Claude is a really good option. I would say do Claude. Claude is good. Uh, Gemini is also very good. It's hard to They're all the same now. They really are all the same. All right. Having fun doing math. Hey, Benny boy. All right. Sounds good. Hello from USA. Oklahoma City. Is that okay? City. Oklahoma City. I'm over here in Seattle, Washington in the United States. Zeos. Zeo. Yo, Zeo. Hey, Game Zone. Welcome on in. Yo, Python. Hey, great. All right. This is Python likeish. Not really, but it's kind Pythonish. All right. Yo, YTTP, dude. I want to get into coding for robotics. Oh, hey. All right. Uh, barely calculus despite going on college. All right. You're Don't worry, you're in a good spot. Yo, Gloomy Traffic. Hey, good to see you. Long time no see. Welcome on back. Good to have you here. Happy Monday, gloomy traffic. Hope you had a good weekend. Hope the the um the trial is going good. Uh the the medical uh that way right um game zone. Wait one second. I'm trying to catch up with uh chat here. Scratch and assembly both have round and simple idea that unsafe is a level day one for recruitment. Oh, hey, nice. All right. You got to get the patients, right? Or the test subjects, right? Got to get those test subjects. [laughter] Uh, the giggle eyes back. Yo, Giggle Landy, good to see you. Happy Monday. Welcome on in. Alec, hey Alex, going there. Alex, good to see you. Hey, Stephen. Albert Wesker, I'm also learning pandas. Yo, pandas. All right, already done with Python and Numpai. Numpai. I like Numpai. Numpai is great. What should I do next after pandas? Do scikitlearn or or torch? Scikitlearn or torch. I think those are the next good ones. Torch. T O R C H. All right. Uh, would you like to take a quick survey only? It takes up to 10 to 15 questions. That's a lot of surveys. I do a survey of one question. Maybe your department just started building a trial time series model. Ooh, it's for fun and but also hard. Hey, that sounds great. You can build some really amazing things with time series. All right, let's see if we can make it go. All right. Do you think you'll be able to make tiny language model with this? Yes, we absolutely could. We done. We've done that. We've done that multiple times on stream. Can we do it again? Can we do it like a third or fourth time? Yes. Yes, we could. All right. So, let me let me at least get this model working really quick. Let me see if I can get this very basic feed forward. Let's do some very basic feed stuff [music] here. All right. So, I got my input. Uh did did this. All right. Cargo build. Good. Okay. So, let me do this. I need my output. All right. So here's my input to A. So we're going to run that through A input and we're going to do a B. All right. So how about this? We just say out. We'll just do out out everywhere. Out all over the places. All right. Out dot and we'll do B and then out Matt Molt C and then we'll do out. Okay. I think that's the trick right there. Okay. Here's one. Uh, are you in a small group or a big group? Any group you're in or no groups? I don't know what that I have no idea what you're talking about. I don't that how what does that mean? I don't even know what that means. What is the best code for a uh Wait, what does that mean? Wait, Deie, I don't know either. You guys are asking these tough questions. Stephen, we should have tiny LLM speedrun challenges. How fast How fast can we write a tiny LLM? Oh, that would be so much fun. I would I want to do speedruns of that. Like, okay, day one, I'm going to try to try to do it once and then it's really slow. I don't finish the first day, right? It might take me a couple days and then and then we do speedrun two and we see how fast I can write an LLM again and I can do it like in one day. That would be a lot of fun. since you when you started machine learning 2014 2014 uh yo Charlie I've been saying I've been watching you for uh many days until you remember me uh me this is day six. Hey Charlie. Hey Charlie. I good to have you here. It's good to have you here. Thank you. Keep keep on chatting. Keep on chatting. That is the best way. Thank you Charlie. Thank you for hanging out with us. I appreciate it. VS Code or Zed? Uh, I would say VS Code probably. Uh, I use Vim though. I use Vim. This is Vim right here. Speedrunning with LLM, right? Wouldn't that be great? Torch means PyTorch. Yes. Albert Wesker. Yes. Albert Wesker. Yes. PieTorch. All right, let's skip that one. Darkness or do you like light? Light. I'm on the light side. I like light. Oh, do you record the process like in YouTube? Uh, like language models. Wait, what does that mean? Uh, wow. Did you record the process? Yes. Yes, I did. It's all recorded, you guys. 100%. Lock in J, bro. Yeah, I think I actually already It's already good to go. Run, cargo, [music] run. Here we go. Boom. Right there. Hey. Oh, error shape mismatch. Okay, we got to fix it. We got to fix it. Whoops. Whoops. We We broke it. We'll fix it. Don't worry. We'll fix it. Let's skip. Uh, see, uh, lock in. We're going to lock in. Don't worry, we're almost there. We're almost there. 10 minutes left, you guys. 10 minutes left. Uh, in the program alone, it's hard enough. Let alone game assets. Uh, you have to make the Yeah. Mhm. in game. You have, if you're a sole developer on as a game developer, you have to build all the graphics, all the sound, all the the music of the game, the environments, you have to do level design, and none of that is software, right? And you have to build the software to run the game. It's a whole It's It's a It's crazy. If on Windows, will you use Vim or a different one? Vim. Always. Always Vim. Vim forever. Oh, that's Vim. I thought that was VS Code with V. Uh, yep. This is VS. This is not VS Code. This is Vim. Vim. Teaching the AI to run. Wait. Oh, Trev. So, why aren't you teaching the AI to run? Uh, we are. We'll do that. We'll do that next stream. We'll do that next stream. We're just We're doing tutorials right now. We're doing tutorials. Can you show the whole code? Like how many lines of code it is? It's very small here. Right there. There you go. Right. All right. That's it. Right there. There's nothing special. There's nothing special. We need to fix this. All right. 3 44 43. Okay. This looks fine to me. This looks good. Features two to here. So, input malt A [music] B maybe maybe I got to do this differently. B C uh out out. There we go. All right. I think that's I think that's what we got to do. Yo, assert. This is a quick fix. Run time 4 hours, right? I know it's a quick gloomy traffic. I know, right? What are you teaching to uh the AI to run? I mean, sorry. Oh, this is just a a a a toy model. It won't know [music] anything. We we don't have a plan right now. The current plan is to learn the candle library. Game dev is like 30% programming. The rest is 3D art modeling and design. Yeah, it is. If you don't mind, what is your job? Oh, Albert Wesker. Yeah, thank you for asking. All right. So, my name is Steven Blum. I am the CTO at PubNubs, a company I started over 10 years ago with Todd Green, my co-founder. Todd Green is the CEO at PubNub. We raised $134 million. We're at series E venture capital round. We have over a billion devices on our network. [music] My company provides communication APIs to your phone. Your phone needs to talk to other phones. I provide guaranteed delivery communications [music] for your phone to phone communication. And we do this really fast, faster than anyone else on the planet. I've got 68 patent claims that you can see on my LinkedIn. And yeah, that is that's me. Hey, Albert Wesker. I got to tell you about me. Hey, that's great. I'm going to brag if I I have There's got to be I have to tell people. I just said I just talked to Albert Wesker, you guys. I just told him what I did for work. Hm. Wait, what do you [laughter] mean? I think it's cool. I think it's exciting. Uh let's see. Uh oh. What made you interested in PubNub? Uh there were no back in the day there was these phones were just coming out. Like the devices were just coming out. They didn't have a way to communicate. And so I wanted to add a communication [music] API and there was nothing like it. So I added I I built one and then I sold it. I started selling it to people and they're like I need that. The theme is really cool. Monkey. Oh yeah. This is Groove Box theme. VS Code using my I thought VS was the first year. Yeah. Mai is a really good one I like. Oh Monai. Yeah. Monkey game dev is almost no problem unless your game is huge and then you have to write C++ AAA game. Yep. I'm with you on that. I'm with you there. Yo. Hey, Daddy Shrek. Good to see you. Welcome on in, Daddy Shrek. That's too much money. So, what is your profit in that? Uh, we are we are we are doing good. Let's just say that we are doing good. We are doing well. We are still a private company. Five to go. Yep, we got five to go. Got to go. Oh, wait. Got to go. Okay, Lun, thank you. Thank you, Lun. It was good to have you here. Uh, so literally every smartphone uses uh public uh PubNub. Uh, so we we've you've most likely have already used my technology. Yes, you've likely already used my technology. Hey, Ze Oaks, good to see you. All right. Hey, Ali Aziz, welcome on in. Good to have you here. Happy Monday. So, uh, Treb the Tyrant most have. Yo, Rocking Brain, happy to see you, Rust. Yep, we're doing some Rust. You got it. Have a great Monday, Ze. Thank you. Appreciate it. All right. I miss some of your chats, you guys. Uh, dev game. When did you g When I did a game dev without AI assistance, you was 5% coding, 5% drawing, 90% stressing the gameplay. Stress testing it. Yeah. Game needs a lot of code, though. Some games do. Yeah. All right. What's up, Stephen? Yo, Charlie. I missed your message. Spider-Man tomorrow. All right. Sounds good. It was uh like a really good movie. I I really want to watch it. Ingame curious. Is it day or night? It's daytime over here. It's daytime over here. Come from Resident Evil. Yeah, bro. Tyrant has come too from Resident Evil. Yeah, Trev the Tyrant, right? Tyrant, the OG Resident Evil, the OG boss, Albert. [laughter] All right. All right. So, I've got 5 minutes left, you guys, and I want to make sure that this works. So, let's see if we can make this work here. Uh, cargo run. It might already work. Hey. Oh, wait. Shape mismatch. Darn it. Okay. Uh, shape mismatch. Matt molt. Let's see where that happened. It would be nice if it told us where. All right, let's try this. Let's try this forward slash slash. All right, try that. Okay. Uh, so the mismatch happens immediately. So, do we need do we need to do this one, How about we do this? Is that what we need to do? Like that? No. All right. Um, how about we [clears throat] do this? All right, let's see. Let's see if we can lock in you. Let's see if we can lock in you guys. What's your favorite personal agent you've created? The chess agent was really fun. Also, remember we did the uh find Waldo. We did the find Waldo. That was also a good one. Pratt, you made tutorial games in Unreal. Hey, Unreal Engine. Nice. Never wrote any code though. Okay. Well, Unreal is a really good option, I think. What is it time right now? It is 9:25 a.m. Yo, Charlie, I hope you see Spider-Man. I hope you enjoy it. Can I get your Vim config? Sure. It's available on Discord. I'll show you here real quick. All right. So, get gists. One second. Let me load that in. And then my VimRc is right here. Right here is my VimRc, including my T-Mox config and my my Ghosty config. So, you can get everything. I'll put it over here on link share on Discord. Link share. There you go. Right there. 12:25. That's pretty late. Hey, just a small content creator. Glad you're here. Can I get your Yeah. All right. So, there's the Vim config right there on Discord. Hi to join Discord. All right. So, I will send you a link. Albert Wesker. Here we go. Albert Wesker at Albert. Join my Discord. I will mean a lot to me. That link is just for you, Albert. You watch the chess streams, but I wasn't able to catch the live Gemini who walked. Yeah, Gemini won over GBT like real well. Thank you, Ricks. Yeah. Yo, of course, Mugafan. Hey, Mugafan. Good to see you. I see a lot of people integrating AI into their apps. Isn't it going to cost them money? Yes, it will. Though, we're we're in a good spot right now. I think we're in a good spot. All right. I would really like this. So, let me see here. Let's do print ln exclamation point. Can we say uh input? I just want to see what this looks like. Let's see what this looks like here. Hide everything. Hide. Hide. Okay. Load. Run. Okay. 1 2 3. See, that's three. It's a tens of three of F32. So, it just needs to be two, right? Oh, wait. The shape. Oh, it do. We Does it need to be a M? No, I don't think so. It needs to be a batch. I don't think so. I don't think so. Hey, Dan Pro Edits. Good to see you. Welcome on in. Happy Monday. Discord link can't be opened, bro. Oh, it can't. Uh, did I do it wrong? Here. Edit invite link. Oh, this is the correct one. Right [music] there. Uh, let's see here. Let me try general chat. Copy. Copy. [music] Edit invite link. Create. Copy. All right. There we go. Uh, at Albert Wesker. There you go. Okay, that's the Discord. uh let it be two classes. So yes, this oh uh that I don't think that'll help uh because that'll be the output, right? That's the output. It's the input features, right? The features inputs where it's going to fail. All right, so let's see if we run this. All right, so this a and we might need to make this like this. [music] Here we go. Make it multi-dimensional. Can we do that? All right, let's try that. Let's see if that does the trick. All right, hide this. Let's do a simple output here. Keeping it really simple and clean because we got exactly two minutes left. Here we go. Still a shape mismatch. Uh 2x3 versus 1x two. And this is 1x two over here. Did I do that right? Uh I thought I did. It looks good to me. I need a run. Keep smiling, Stephen. Thank you, Gloomy. Good to have you here. Happy Monday. All right. I feel always like I keep GPT jack of all trades, but I fail miserably. Mm master Mastery. Hey, we Let's see. Do we need Is this correct? Am I doing this right? No. I mean, it is correct. So, that's going to be a fail there. All right. So, I'm just misshaping it. But I'm not though. They're They're the right shapes. They are the right shapes. Let's try that. How about features, too? Two. Right. That should commute. It should commute. It should absolutely. I don't see why that's not commuting. What? Oh, maybe we need to transpose this. We need to transpose it. I think okay, so that's what we got to do. We got to transpose it. Let's go, Stephen. I know. Ali is easy. You're playing a challenging career for mobile. Uh, all right. Ali is easy. That sounds like a good one to cloud engineering. Hey, Russ looks interesting. Hey, very nice. How do we do a How do we do a transpose? All right. Uh, transpose rust candle lib. How do we transpose? I want no transpose. I need to transpose. Uh transpose kind of library T. Okay, let's try this T. Try that right there. Matt Mole error couldn't compile. All right, cuz there's no T in there. Is that what that is? Uh all right, let's trypose in. Try that again. Nope, didn't like that. Okay. Uh darn. All right. Um All right. Well, you guys, I ran out of time. We'll have to join the Discord server. Hey, Albert Wesker. All right, good to hear. Thank you guys so much for joining. We'll be back tomorrow. We'll be doing more candle library tomorrow. Stephen, everything returns a result. Oh, got it. Okay, so let's see. Question mark. There we go. Thank you. Uh, okay. One. Oh, dimension one. Try that. One 0 0 negative 1gative 1gative 1. Try that. How about T? Let's just try. I'm like late for my meeting now, you guys. Okay. All right. None. Try that. There we go. Okay. Still a problem. All right. No worries. We'll be back tomorrow, you guys. Thank you so much for joining. Hello from Unit. All right. See you guys tomorrow. Thank you guys so much for joining. We'll be back. Uh more candle library tomorrow. Change your name. Yeers. All right. Bye everybody.
Original Description
Introduction to the Candle lib for Rust by Hugging Face
More on: ML Maths Basics
View skill →Related Reads
📰
📰
📰
📰
I Built a Sentiment Classifier That Reads Movie Reviews — Here’s What 87% Accuracy Actually Looks…
Medium · Machine Learning
I Built a Sentiment Classifier That Reads Movie Reviews — Here’s What 87% Accuracy Actually Looks…
Medium · Python
WTF is a World Model? [D]
Reddit r/MachineLearning
Bored with Python, should I learn C++? [D]
Reddit r/MachineLearning
🎓
Tutor Explanation
DeepCamp AI