Zealous
ThursdAI Raw - The longform, uncut, much more information dense version of ThursdAI

馃帣锔廡hursdAI Sep 7 - Falcon 180B 馃 , Mojo 馃敟 Released, YaRN scaling interview

路 3h 8m

Hey ya鈥檒l, welcome to yet another ThursdAI, coming at you, including a live recording this time, which was incredible, we chatted about Falcon 180B,had a great interview in the end with 3 authors of the YaRN scaling paper and LLongMa 128K context, had 3 breaking news! in the middle, MOJO馃敟 has been released and Adept released a LLaMa comparable OSS model (and friend of the pod) @reach_vb showed an open ASR leaderboard on hugging face! We also covered an incredible tiny model called StarCoder 1B that was finetuned by friend of the pod (who joined the space to talk to us about it!) TL;DR of all topics covered Open Source LLM Falcon 180B announced by TIIUAE (Announcement, Demo) YaRN scaling paper - scaling LlaMa to 128K context (link) MoE update from SkunksWorks OS team Big Co LLMs + API updates OpenAI first ever Dev conference (link) Claude announces a $20/mo Claude Pro tier (link) Modular releases Mojo馃敟 with 68,000x improvement over python (Link) Vision Real time deepfake with FaceFusion (link) HeyGen released AI avatars and AI video translation (link) Voice Open ASR (automatic speech recognition) leaderboard from HuggingFace (link) Tools LangChain Hub (re) launched Open Interpreter (Announcement, Github)

Transcript

  1. Hey. Hey. What's up, Justin? Let's go. I was late, dude. I was never late. I was just late. I was talking in a different day in the Zoom call. Like, I lost her for fine. Jeez. But, yeah, maybe even if this is just me and you, if there's that, I think. There's so much stuff to talk about. How are you doing?

  1. good. Was just I pasted a commanding, Georgi Guganov's thing for, a downloading Falcon 180B in q4km because I wanna run it on the CPU, and I just realized the command is all messed up.

  1. Boy, is that is that is that a new thing?

  1. Yeah. Falcon released 180 B.

  1. No. No. Talking 180 model. We're gonna talk about it for but, like, is, is Georgia really something you can run this and see how it's, like, enormous?

  1. Yeah. The bloke, made it into Georgi's format, which is now g g u f.

  1. Oh, it's not g g m l? Okay.

  1. They have a different one. yeah. Yeah. It's he changed it to, like, they still released g gmail, but they released g g universal format, which should be backwards compatible and everything from from now on. So, they're all, but, yeah, in the future, they're they're just gonna call it, Gigi US. It's a little bit annoying. but, yeah, it's a little bit annoying, but I think it's a good long term decision because they specifically made it. So it's a universal form that. And then later on, you'll be able to to run it on on whatever. yeah. Yeah. I'm putting the command.

  2. So you can grab it, in, because I think in q 5 kilometers, mixed precision mode, its 5 bit is about 128 123 gigs for the whole model. And I think that's, like, the minimum or q 5 q 4 k m is, like, the minimum you wanna go when it comes to running something in, in mixed, mixed precision mode.

  1. What about that? thing. Do you see that he, talked about running. Yeah. Yeah. Yeah. Yeah.

  1. He's he's talking about it now. It's just that they haven't made Falcon 180B, down sampled 70 70 -- Alright.

  1. They released just the big one. Right?

  1. Yeah. Yeah. Because they need to make it from, like, the same data mixture, roughly. again, 7b, 13b, they're, they're all completely different AIs, usually, but, in the case of LAMA, they've made it so that they are somewhat compatible, so it works. So I don't know if it will actually work with Falcon 7 b. He's he's saying something about it.

  1. Is he live right now? What do what do you mean he thinks something about it? well, no. He -- Oh, yeah.

  1. He -- he'll -- Just like on on good health and on on threats.

  1. Yeah. I haven't I I I saw Jersey. It's the to Thursday, Iestasis a couple times, but I was never able to bring him up.

  1. -- We should have him as guest.

  1. I I asked him. couple of times, but we may have guest today, on the 2nd hour. we may have guest the folks from yarn scale. Oh, Enrico. I was about to say we may have guests in Enrico stepping. what's up, Enrico? Welcome. and feel free to to to come up if you if you can, if you want to. and we we may talk with some folks with with the folks on behalf behind beyond scaling. but meanwhile, I wanna say hi to everyone who just stepped in. because, and apologies for my tardiness today. I had a lot going on. I was like, oh, no. Thursday night.

  2. so while we get started and get situated. I just will say a few things before. First of all, we didn't have a live recording last week. I was on vacation. vacation felt like it it kept sitting with me because I only wanted 2 minutes late for this one. But also, we usually do the spaces every week, and we've been doing them since, GPT 4 came out. And the whole point of them is to get outdated together. There's so much happening in AI every week. we literally cannot one person cannot read everything and learn everything.

  3. And so what happens in this space is often is just multiple folks on stage who are experts in different fields or get interested about different staff, and we all get updated together. And, we usually talk about open source large language models. This this seems to be the the highest focus of of these spaces with many folks friends of the park, are actually participating in those open source elements efforts.

  4. and, if if you're new to the space and you're listening to this, you're welcome to check out Thursday.news where there's a bunch of recordings and pre interviews with folks like Enrico Chipola Jose in the in this, in the audience with folks like the news research, and alignment lab, or labs. I'm not even sure how to say alignment lab or labs. This time, is that more plural or singular? Is that alignment lab?

  1. Lab.

  1. Lab. singular. So, folks like the alignment lab, the folks behind Open Orca and other things. We had a great interview with, garage banged, the folks who released platypus, who shot to the top of the charts from, a couple of weeks ago. And so open source element seems to be very high focus of these spaces, which I love, and we're all strong supporters of open source as much as possible. also, we talk about everything big company related. Right?

  2. So OpenAI and and and traffic and all of those, big companies and their offerings and how to use those APIs and the AI engineer stuff, which we'll share more of as we go along. we have a particular interest for multi modality and vision. So we we have, Peter join us from time to time. He he works, I hope he joins say. he works on, a bunch of vision stuff, supervision, the library he reads. He just released a a tutorial for vision, voice, as much as as much as as much as we can, as much as as as as many releases with voice as we get.

  3. We talk about them. Right? So it's a valley act we're gonna talk about or we talked about last week, Welcome on this. And, AI art and diffusion from time to time will bring up news about the area of confusion and different updates from that area. And, not as much about investment. I I don't wanna focus the space it's very easy to, like, look at the VC funds of all of this and many many newsletters. That's what they do, and I think there's plenty of space to do that. not as much about investment, but definitely we'll share tools and tips and tricks and prompts and everything, from time to time as it kind of as they come up.

  4. also not the focus for this, but, I know Nathan loves to share his custom instructions multiple times, and we do discuss about prompting. And we had Matt Schumer here, talked about his, GPU prompt engineer and multiple things like this. Right? So very versatile space and, often there's a structure to this, and the structure usually is we start with, you know, just start talking about metrics. usually we say hi, and we present. And then we kinda start a space, and there's a bunch of updates. And then all of the folks on stage and sometimes in the audience as well where we don't have a big space, which is also fine from time to time.

  5. We talk about the updates from the last week. and then we maybe share tweets. So if you look up to the jumbotron or the net, what's called the nest, you'll see, sometimes the tweets that we talk about pin on top, so you'd be able to also kinda follow along with us. and then on the second hour, we usually when we have folks like, in Mozilla, like, hey, welcome and then Rico and some other folks who actually kind of shipped some of the stuff, we would just bring them up and talk with them and have a, like, a little interview to understand the the kind of the updates as well.

  6. And, you know, if those folks wanna give us updates about some stuff, we'll definitely also have space for that in the second hour. And so this is kind of an intro. Thank you everybody for joining to every every Thursday. I I see a few repeating faces and I definitely see some nuance as well. And I just wanna say hi to Nystin and Genova and Lentos, and just shout out Enrique in the crowd And, yeah, folks who are on stage when you don't meet yourself for the first time, please give a brief intro. I think somebody commented let us let you that I should do the intro before. so I definitely can do that.

  7. I think, I think I definitely can do the intro for for stuff that I for folks that I remember. so but but folks behind the scenes in the grid if you tell me how to present them better. So I won't say stuff. There's no longer, or in this expose some alphas. It's not to be exposed or, you know, say things that shouldn't be said yet. So I will let folks introduce themself for now, but definitely, I think introducing folks before they speak is a good idea. So, I just wanna say hi to me, thanks, and all my letters and, folks in the crowd, who I shout out out free to come up.

  8. Nathan Howe has been your 2 weeks since we've talked. No. We talked a couple of days ago, but, like, Thursday, I, we haven't talked in a while. Interesting 2 weeks?

  1. Yeah. Yeah. Not not not much steep the the last 2 weeks. Yeah. hi, everyone. I'm Nathan Tahira. I'm a software dev in Toronto, Canada. I, I'm I'm still part of the infrastructure ML ops team at Doctor Gupta and also, build Doctor Gupta. And, very recently, suddenly officially have also, joined the alignment lab. So I'm just missing that alignment lab now. And, Yeah. Have had a very, very interesting last last 2 weeks.

  2. There's a lot of things happening and, because of the oncoming regulations, there has been it has lit, sort of to say a fire under the ass of developers to just get as much stuff and open source, out as possible before it maybe becomes illegal or or not. So in a way, having a a bunch of boomers frankly regulated has actually been a very good motivator to get as much open source workout as possible. so, Yeah. Been been busy in that regard. I think -- Made a bunch of models, started doing an electron app, etcetera. Yeah.

  1. Yeah. Do do you think that the regulators know that, like, just before they start talking about regulation, things kick into high gear, or do they think they have do you think they have no idea about this?

  1. Like, some do, some are developers or have been developers them themselves. so I'm just worried too much for our, sort of, say, power tripping. And, but they do listen. That's what I've noticed. Like, they are pretty feedback responsive to what we do here, boils down pretty quickly to to what they do. So that's what I've I've found incredibly interesting. Like, we talk about stuff in random spaces and have debates and stuff. It very quickly goes up the Chambers.

  1. -- command. Yeah. Yeah.

  1. Like, well, I mean, like, it takes, like, 2, 3, 4, 4 weeks sometimes, but it it's relatively quick.

  1. And, so I wanted to have those in there as well. what's up to that? What's up, Joshua?

  1. Hey. Yeah. today has been busy. The past few days.

  1. Everything's happening right now. Everything's happening all the time. This is why we're here. It's crazy. -- break your level and talk about what's happening. everything's happening.

  1. Oh, I need to break. I have an Ethan today. It's, like, 6 PM, and I have an Ethan. It's crazy. Yeah. Anyway, yeah. Hi, Ron. I'm, Zinnova. I'm the creator of, transformers Jess, which is JavaScript library for running, hugging face transformers in the browser, node, do you know, whatever, JavaScript environment you're using, and Yeah. I, I'm also, I also recently joined hugging face. Well, actually, I say recently, but it's been, like, 6 months now. So time flies when you're having fun. Yeah. So, yeah, that's that's exciting.

  2. And, yeah, just been building, and expanding the library to, sort of run any, well, trying to run at least, hugging fashion is in the browser. and the recent things that are now almost almost in. I've been seeing this for a while, but, it it really is nearing the end, which is like web GB support, which I see it in the title and that's what I'm curious excited for. Yeah.

  3. And and you've, yeah, if you've seen anything on my Twitter There's just been optimizations that I've been putting out and, what other things, And I've in the past week, I added, like, 10 new architectures to to the library, which is exciting. And, yeah, just lots of lots of things are happening.

  1. but yeah, that's that's about it. joining. and, yeah, feel free. Let us, introduce yourself for free. and then we're gonna get started with updates.

  1. Oh, yes. Hey, guys. I'm Lantos. I'm a bit of a odd ball. I just do lots of things. I've got my fingers in a lot of things, and I'm just generally interested in AI and, being pulled into these spaces quite rapidly. I think over the last 2 months, Yeah. I'll leave it at that.

  1. Awesome. Awesome. Alright. So I think, we have some folks join. Some folks introduce themselves, and we're gonna get started. So again, a brief recap, we're gonna do around an hour updates, everything that, you know, the the most important stuff, they're probably in the title, but the title is very limited. So Twitter doesn't actually let me put everything we wanna talk about in the title. we're gonna have to manage. And then on the 2nd hour, hopefully, we'll have some some folks join and talk about the art scaling if that works out. And and Rico, feel free to DM me if it does work out, it doesn't. So we'll know.

  2. But otherwise, also feel free to join on stage, both when we go in New Zealand and some folks in the audience who wanna comment on the stuff that we're talking about. I think the most the biggest news, as it goes, we have some Thursday eyes that, like, there's, like, so much stuff. And we have some stuff that, you know, I I go and collect through Twitter and some other sources, you know, on Wednesday or before. And there's, like, one big thing that happened and relatively relatively to other weeks. It doesn't seem like a huge week. and this week has seemed like one of those today. However, every time the actually start speaking about things in spaces. I noticed that 2 hours is not enough. And often, we need to cut a chart.

  3. so we'll start with the the biggest slash this week, probably, which is Falcon, 80 180B model. So it's an source and commercially licensed, large language model released from TII in Institute, I wanna say. Yeah. TII Technology Innovation Institute from the UAE United Arab Emirates. And, they previously really falcon 70, I think.

  4. And now 180D is definitely the biggest open source in terms of parameters and in terms of, I also think in terms of the the size of the dataset, that they've released, trained on 3,500,000,000 tokens and 180,000,000,000 parameters. So that's, like, more than twice as much as as the previous biggest large language model open source, which is llama too. And, yeah, we we've known about release of this, a few days. I think it dropped on Hagen Face as well immediately.

  5. And, it beats LAMA 2 on many of the benchmarks that folks are looking at. And, I reacted to this with, like, woah, this is so huge and this is awesome. And then I tried it, and, I would love to hear folks they tell me what they think, but I I was whelmed. I wasn't overwhelmed. I wasn't underwhelmed. I was just whelmed. It's a huge model, and it performs moderately better than I would do, maybe in some places. it was trained on it was trained on very small amount of code.

  6. I think around 5% of the dataset was called, which is weird and strange because, you know, it starts to be the case, and I think I'm also talks about this young join from time to time, that the more code you train on, the better the model you usually are. And so this is kinda weird that they've chosen not to train where, you know, the datasets exist. And, yeah, so I I wasn't, like, extremely, extremely impressive. However, the one thing to point out, and we'll talk about more about fine tuning communities. We have multiple folks in those communities here, is that this is a huge model to start fine tuning and training.

  7. And this is on its own, a big, a big, big, big thing. So even if, like, the base or the fine tune model that released for chat purposes is, you know, good or not that good for for some areas. this is a huge thing for the industry because now it's out there, and everybody can pick up from that space and start doing fine tuning on top of it. So Falcon 180B, the announcement, is, oh, NISTEN helpful already some stuff, to how to run this. And we we should probably talk about what are the requirements to be able to run this. And, yeah, I think this is the announcement.

  8. It's it came out big, and some important markets, they told me that, like, hey, the the they didn't see expected amount of excitement from this Falcon thing, which, yeah, I would love to hear from folks on stage. Any comments? And he said, I don't you you and and for other folks had, like, a long space yesterday as well, talking about some of these stuff. So definitely feel free to to bring us some more, discussion topics Falcon. And also, I wanna recognize in Ricos on stage and Rico feel free to introduce yourself and, introduce briefly and then give comments about Falcon as well.

  1. By the way, I just started. I got it to run on the on the CPU in a way that it just uses if you have a very fast SSD, you can just cache most of the model there. So I'm pretty pretty psyched about this. We'll we'll post something. in a bit. Like, I'm running it with 4 gigs of RAM.

  1. On the on the -- And that's it.

  1. On the CPU.

  1. -- incredible.

  1. And it's and is just using, the extremely fast NVMe SSD to just cash the model in there. anyway, I'll post something about it once I, like, verify that that's actually what's happening. But I I did I did also do this with my, 8 gig M1 MacBook Air. I was able to load in a 13b model in full and just use the GPU. Actually, use the max SSD, which is pretty fast. 2 gigs per second as RAM. It was doing, like, like, 4 seconds per token, but it was working. And, yeah. Yeah. Interesting.

  2. I'll I'll I'll post something, after. Ew. It runs on CPU. You can run you can run Falcon 1 ADB.

  1. It's incredible. It's incredible. Yeah. Wait. I trying to get Yum up here, and Yum says requested. So let me maybe maybe Twitter is having issues again. Oh, it does. So, apparently, when you invite somebody to go home and they they join, they wanna join. You're not able to bring him up. So while yum joins, and Rick, I saw you on mute before. So and Rico. welcome to the stage. give us a brief intro as well. If you are, if you want to, and then feel free to comment on, little Falcon, and then we're talk we're gonna introduce Yam as well.

  1. Hi, all. I am Enrico Chipotle, I work with a bunch of different major open source organizations such as Luther AI, stability AI, med arc, Harper AI. I've worked with news research, Erin Kumar Suzuki, and the DUCK AI group. as well as, a large swath of other different ones, training large language models, both pretraining and fine tuning and working on, few different, like, algorithm optimizations and such.

  2. As for my opinion on Falcon, it seems like across the board, it's only getting like a 1% to 1.5% increase on benchmarks. I know that benchmarks aren't the most reliable way in human human eval tends to matter significantly more But one one thing that I noticed about the training data composition, which is one one thing I found interesting, is that it seems that they took the same, like, 1,500,000,000,000 tokens and trained on it for 3 epochs, if that is correct.

  1. That's what it looks like to me too based off what I wrote.

  1. Okay. So that was one thing that that I found interesting because when they were saying the 3,500,000,000,000. I was expecting that they had unique tokens but it seems like they just repeated epochs and at this model size considering that it's pretty massively under trained to have 180,000,000,000 parameters compared to even we've seen with smaller models the 3,000,000,000 scale are still making gains on 3,000,000,000,000, like unique tokens.

  2. I feel like they could have potentially focused on a smaller model and made it significantly more robust. One thing about this though is since it is a larger model and a good part of it is we can extend the pretraining on it with our own unique tokens now. So I think you will be able to see relative gains there compared to even like llama 70 B.

  1. Oh, oh, yeah. Unrigo. I I just -- Yeah. What's up, L. D. J. Welcome to the stage. Also feel free, please introduce yourself briefly, and then give us a comment both Falcon.

  1. Oh, sure. sorry. It's like, how late am I joining, by the way?

  1. You're you're just in time.

  1. Okay. Perfect. Yeah. My name is, Luigi. I usually go by LDJ. I mainly just work in just trying to do training optimizations, data set synthesis, releasing data sets and trying to release new models with news research. So, I mean, yeah, that pretty much summarizes me. And then my thoughts on Falcon. I spoke with Enrique, yesterday and the past 24 hours about it too. We seem to kind of share some weird thoughts about it, but, yeah, in general, I think it's cool that we at least have this 180,000,000,000 parameter model out.

  2. And according to Kristoff from Leon, I was speaking with him a little bit about it. And according to his personal test, it seems to be significantly better in some areas of logical reasoning with Riddles and math equations that he was testing it on. So that should be really interesting. And I'm excited to see how it actually performs when we take the same exact fine tuning dataset and fine tune that, fine tune it on llama 70b versus Falcon 180b and see how those 2 chat models actually compare.

  1. Yeah. Definitely exciting. from my personal experience, I have a I I don't test logic prompts like, Kristoff, said, right, he's in red shirt and blue shirt and whatever, like, how much time, it it it takes to, dry out on the sun. If you add some shirts, like, he has, like, a logic based, kind of prom that he tests, I test translation. That's you know, and and following, instructions for translation. And I don't know. Falcon just gave me the utmost incoherent response to my usual prompt where Lambda was okay. And, you know, GPT4 is, like, incredible, obviously.

  2. just like, you know, here's here's some letter here's some, transcript this language. Here's the translation in that language. here's, like, 5 things you need to do with it. Like, compare, etcetera. You know, a lot sorry, Falcon just gave me, like, an absolute gibberish answer that, you know, you could expect from an SFT model, but definitely not from the chat aligned model, which could be that their instruct is not that great. The their instruct, fine tuning, but I I was really it was like, yeah, I was expecting this to be at least as good as llama. If not, way better, like, twice in something, the parameters, but, no, I was not. I was not depressed at all.

  3. we have 2 more folks on the stage, and now there's, like, it's a good, good full stage. So I wanna introduce Yam Pelock, who's a a frequent co host here. Welcome Yum. if you wanna briefly introduce yourself, if not, I can do this for you, like, last time. but I would to hear your thoughts about talking about it.

  1. so yeah. Hi. Hi, everyone. I'm Yam. working on how many things, at the moment, 2 notable things that are, one small model that I'm, I think it is among the most longest small models, ever, to be released soon.

  2. And, the other is, of course, the mixture of experts, on both Also, I'm also working on, collecting data on massive scale and, securing, funding and compute and, the architecture, trying to push the architecture part as well, and I'm doing a lot lately, you can say, in terms of open space.

  1. Not a not a sleeping. Right?

  1. You know, sleeping, AI time AI life, doesn't include sleep. over the past year, for sure.

  2. on on Falcon, I have to say that, it emphasizes something that I'm saying a lot is that, there is a huge black hole of, or, or at least, my own understanding of how free training data influence models, what exactly are the things of that influence the models in terms of pre training data, I don't know why we see the results we see.

  3. My own spec, suspicious that, just LAMA 2, has an extremely high quality data. I'm, but again, I don't, I'm not sure. and, and this is what I think about the model, and I'm extremely glad that it is, it is out. anyhow because, you know, open source. And, there had been some effort to create such a model, and I'm glad that, was shared with us, you can say.

  1. Yeah. I think it's also important to note real quick that models like Falcon 180 B, they take, like, months to train. I think I calculated based off their GPU hours and things like that. It was about 80 days of training, and it's probably finalized with all the the training settings, like, probably at least 4 months ago. And so you have to keep that in mind when you're trying to figure out what insights or what information for improving the model did they have. at the time of starting the training. And, you know, it wouldn't be the same information that we now have currently.

  1. Yes. It's it is it is more than that because, it it's there is there is some bet that you always take when you fine tune, such large models on on trillions and trillions of tokens we we don't know. It's not it's not a small training run. You never know what's gonna happen. we have thing.

  2. We have our own understanding at the moment of, the best things and methods we know to reduce the risk of, unsuccessful training runs, but things do happen and weird training runs do happen, and, and it's a huge bet on a lot of money. So it should be said that someone, a group of people took a huge bet and just shared with us this. So There is that.

  1. A huge bet than a lot of a lot of capital spend. Right? I think this is one of the Exactly. Things that are underlining the internet Institute or whatever they're called, Technology Innovation Institute, and the stuff from UAE an additional thing that I just saw Chris Krutcher from, was he from Notion, I think? yeah, co founded Notion. he's a strong, an EA person.

  2. He said that, you know, the good thing about this geopolitically, which we tend to not get into too much in this space, but definitely worth talking about because this thing you brought up regulation and how much the the even the width of a potential regulation, makes folks start, like, work harder and faster. Christopher just said that, you know, now that the 180p model is open sourced from the UAE, which is a country that maybe aligns with some of the core values of the US, be not. this will definitely have an effect of how regulation works around large models and open source in the US.

  3. And I think that's also a very interesting point that there's like a counterbalance geopolitically to open sourcing. And if other countries will open source where the US can't regulate, let's say, then, you know, why would they be able to regulate and close down open source and fine tuning all the grapple work that you can do? it's also an interesting point?

  1. I just wanna say that, there is a background to this, a couple of days before the model was out. there was a new piece indicating that, there is now, a done for off selling GPU to the Middle East. And, as far as I know, correct me if I'm wrong, the UAE also train on not on Nvidia hardware, if if I know correctly if this is correct, or am I am I mistaken?

  1. So They trained. So Falcon was trained on a 100 because they still have a lot of those. But, the the UAE has bought, I think, part of, Ceribras. So all of Ceribra's system, which actually has really nice software. It's like PyTorch's 2.9 compatible. They have, like, 400,000,000 dollars of orders, that all went to the UAE and the Saudi Arabia. I think some something like that. So they're training on Cyprus. they're training on a 100s for Falcon. And I think they did buy a bunch of a h 100s, but then, before the the band came in.

  1. Interesting. Very interesting that there is a there is another, operational hardware at the moment.

  1. So, yeah, you're saying that, there was news about the band of selling GPU stores, the Middle East, and I think you posted about this on Twitter as well. and this kinda interestingly aligns with their decision to release Falcon. because they may be restricted resources going forward. and the that restriction on its own is, like, very interesting topic of discussion as well. But I do wanna stay on the topic of, Falcon specifically, and I gotta wonder, from folks here on stage, welcome in New Zealand up in the LPG and for elle, for elle, also feel free to unmute them and chat.

  2. How does this affect the open source fine tune of community? How does this this specific model. We have llama. This beats llama, at least on metrics by a little bit, not that much, but we all know that, you know, continued pretraining and and fine tuning and additional things could be done. how how does, an event like this release of this this size of a model affect all of you guys, and I would love to hear from you as well for all on this topic. is it better than Lamma is it worth? is it is it doing new things?

  1. Yeah. I think it kinda I kinda gotta look at it from from 2 perspectives. 1 is, like, what does does the release of an open source 180 b model help you know, the open source community, you know, fine tune. And, obviously, the answer is yes. Like, it's state of the art. There's no world in which that is a negative for the open source community. Right? My my concern is, more on, like, the accessibility. so a barrier to entry when it comes to being able to do fine tuning is when you have to go to multi node training.

  2. So at at what point can you no longer do your fine tuning on a single So right now, like the accessibility barrier of being able to rent a DGX, which is like an 8x a 100 instance. So that's, you know, it's computer with 8 a 180 gigabytes, That's like that's very accessible, you know, to many people. it costs about 16, anywhere from 16 to $20 an hour. there I mean, the availability is a little bit hard right now, but, like, any person can, like, go click a button on red pod or, you know, one of these other and and get, like, a DGX for 20 bucks an hour.

  3. And at that point, you know, they have access to 640 gigabytes of VRAM. and 8, you know, 8 of the 8 l 8 or the the whatever the 8 g p's. Unfortunately, I am not sure that at a 180 b model, you can like actually fine tune that, you know, on a single node. Even the llamas 70 V, we've pretty much been, restricted to doing Q Laura, which I I'm not gonna say restricted in the sense that, like, I'm trying to top down in Q Laura. just that, like, there's different level.

  4. Like, you know, you have to use CUura, which does have does come along with some restrictions you know, as far as what you're able to do with it, if you wanna train even a 70 b on a shorter context length, a single node. so as far as, like, what the 180 gives you, you're sort of already beyond that, like, point where you kinda have to do multi node training to even fine tune it. At which point, just the barrier to entry of people have access to multi node, infrastructure gets gets a lot higher.

  5. it's certainly within the realm of, you know, a small startup or, like, a group of people who are somewhat capitalized into it, but, like, to someone who's just trying to, like, you know, make cool models. Like, we originally started out at Nuance, you know, we were we were restricted to just, you know, we only had one node, So we had. We didn't have anyone at the time who had done multi node training. You know, it's just like it gets high. It's more and more complex once you do that.

  6. I am still just can't to the life of me understand, you know, why, it seems there's just this giant gaping hole in the open source community right now are all the open source models for, like, a highly trained, like, a a Chinchillaoptimal or even post op Chinchillaoptimal mid sized model that I think is that would, I think, really, you know, the answer to it is really llama 234 B. And then just for some reason, they just didn't release it.

  7. And I I'm to the level of it, like, I'm almost, like, entertaining conspiracy theories as to why they didn't release it, but but, I mean, it came with Code Lama, but it's clear that that's not nearly as powerful as, like, a base model, because of all the post training that they did. So, like, I would have loved to see in the perfect world rather than in a 180 B model come out. A 34 B model trained with the same number of tokens or even more. You know, just because to me, I feel like that's the sweet spot of accessibility and power.

  8. you know, we see that you know, there is a drop off with what more parameters give you and, you know, just don't you know, we almost tripled the parameters from llama 70b for a couple more points. you know, and, like, and then you've now made it so much harder to do inference, so much harder to do training versus if you took that compute and you applied it to a 34 B model, just doing more token. I feel like that would just for me, like, I would have been more excited to see a 34b trained with those tokens than a 180 b person. but that's just a not not to do, like, so not to disparage what is still state of the art model, which is awesome.

  1. Awesome. Thanks, you, Museo, for sharing, and thanks for joining us we're we're seeing you around. We're seeing your work, but it's easier to have you here on the space. and, I I will definitely talk about the other stuff that you guys are involved in. bit later, but I won't highlight the point of anything that, it's it's great to have this huge size of open source and but but it is, like, less success to to reference, you know, we needed Hagan face to give us a space for demo, and I think there's petals as well. Right? Pedro's demo. for for the size of the model, but definitely not super easy to run. However, I will say, for folks who would like to run this list in this is spinning up some interesting tweets.

  2. One of them is from, who we need to get up here at some point. running 180B, low end on there and into Ultra. And, so that's interesting as well. But, yeah, fine tuning. It sounds like a big deal and it's hard and less accessible for smaller shops. Go ahead, Yam.

  1. I just wanna say on this topic, would be great. Listen, if you can maybe, take all the code and just, you know, put it in one place and just so we all have infrastructure or maybe a guide or tutorial or anything.

  2. so people, ordinary people, codex, is, these model sizes because, I hear from you, I think, for 2 weeks that you're playing with huge models that I have no idea how you even get to run And it's I think it is great information for everyone, that, you know, I have made a repo for specifically this is just having some, some trouble on the the web dev side.

  1. And they just got in a little bit, like, I need to have voice and stuff. but, yeah, no, I'm I'm making a repos specifically for that because, the idea is run whatever model using web GPU, and then you fire off, the ggmlguf locally, and then you still use that that web interface for this. So I I I am building that you can look at my progress on my GitHub is the, encrypted alignment, repo. Like, it is fully open. just haven't added the ggml, gguf stuff, in it. But again, I can say you can run this. with, just 3 megs, 3 gigs of, of GPU.

  2. And, yeah. Okay. So I I found it right now the reason that I can run such a huge model, which is 4 gigs of RAM and and 3 gigs of the VRAM is because the on the H100 boxes, the DGX 2 systems, they have 3, in rate 0. They have 3, like, huge NVMe and the NVMe disc are running at 9 gigs per second. So that's already like DDR 2 RAM speeds. That's why it's able to to run it. Okay. But I just finished the test, and I got 3 tokens per second now. So, yeah, I'll post that. there's Sorento happening.

  3. And I'll I'm kind of ashamed to post it now, but, yeah, it's it's coming.

  1. Sorry.

  1. Great. No. Great. It's great. just What I'm what I'm saying is that, of course, here, there is a trade off. Okay. There is something going really well on the computer, the run on because it is a huge model at the end. but just, you know, to have everything like, okay, that's, a wish list. You, you know, to get, what you did, you need to have this amount of NVMe running at this speed, and you in this amount of RAM and this amount of GPU RAM, and then you just run this.

  2. It downloads the weights, and you can do this and that, and you can get to run because I think that many people would just want to try it. And, and, and they can because you do it on the hardware that is not too insanely expensive. So it's gonna be great. That's it. I mean, yeah, I'm just, repeating myself at this point. So, yeah. Cool.

  1. So I wanna invite a few more folks chime in on llama, and then we can continue because, Misty, you brought up something that we should definitely discuss, which is web GPU, which is going next. so anyone here, feel free to unmute yourself and give us more points and more interesting about LAMA. and then we can continue. Yeah. Go ahead, actually. You just joined. we haven't met, feel free to do it so briefly, and then give us, give us a statement. Less question asking, back and forth, more over, like, what you thought and if you have anything additional to add the to the audience.

  1. Greetings of the day, everyone. thank you for giving me this chance. I'm a student. I'm twenty one years old, and I'm very regular, audience of this, you know, space. This, last last model that I actually downloaded in was very impressed with was the LAMA 2 instruct model, the 7,000,000,000 one. I know I'm talking about the lowest one because that's the only one I can actually run on my computer. as Pierre mentioned. and, I was also trying to get it to run on, you know, Google Colab notebook. which it does, kind of, it is like fine with it.

  2. And coming coming back to this whole point of, you know, Nishan said that, you know, he could run it on a 4 g machine with extremely fast NVMe SSDs and stuff like that. It's a 180,000,000,000 parameter model, and I asked this in the comments also. Do you do you see that it has somewhere, you know, less hallucination compared to the models we have seen before. Because one of one of the things that people were claiming because we don't have a way to measure it that these models which are trained repetitively on the same tokens do have less hallucinations in them, like less lessons, less wrong stuff.

  3. They'll make up less things when we, you know, prompt it. So that is something I was I was very intrigued. Sadly, I cannot relate. So I I'll be waiting for that report, mister, so that I can, you know, try and run it on my system.

  1. I can't speak so much on, the repetition part, I think, L. D. J. or even Zillar way more qualified than than me on that. I can say, so in my case, I I ran the 7 B VO web GPU on a, it was just using in four bits it was ended up just using, like, 5, 6 gigs of of my RAM total. So I was able to run it, like, on an 8 gig M1 MacBook Air. And, so I also tried to run, a 13b model, which would use over, more amp than I have, and it was cashing to disc, but that one, it was still running.

  2. It was just taking, like, 4, 5 seconds per each token. Whereas running the the 7 b, I was getting up to do, like, 8, 9 tokens per second on the 70, and on red pajama, it was getting up to 15 tokens per second, which was pretty It's it's pretty great because we're we're approaching now the realm of this being practical and fast and able to run on on consumer hardware. Yeah. But I I don't know. I can't speak so much on the, the repetition of tokens making for less, how the sanitary, models are, like, how the j or -- Sorry to, you know, jump in between.

  1. and this is like the last thing I want to add. So I have been trying something stupid for the past few months that is trying to run one of these large language models on a Raspberry Pi cluster. I've been trying to do this link for the past few months. I have, like, currently I have, like, for Raspberry Pi clusters. And I was also trying to, you know, do this using, this intense neural compute stick. Does not really work as well. now I was recently looking into Google's, TPU powered, Coral Devorts, but they also don't work so well.

  2. And I was trying to understand if you know, basically having these smaller models like the 7,000,000,000 parameters, and there's a 4 bin variant models, available as well in open source. These models do have a chance of I was able to get bird running on a Raspberry Pi. Last time I tried. So that is like the, extent of the achievements I am not right now. I was trying to get these smaller models to run there. And that's the reason it's and I was, like, you know, waiting for your setup and the repo you mentioned so that I can, you know, take some points from what you did different to make it use this. So maybe you can't I don't know.

  3. Maybe compromising my help. Not there yet.

  1. Awesome. Thanks for sharing, actually. 1 once you're able to let us know and, Nissan definitely, we'll update everyone about the the efforts and, how to run this incredibly huge model. Mister holds the the secrets. and we would love to all see. And I just wanted to mention, and I think, on the topic, something also that came out, and I invited Anton to join, but, he's, a friend of the Pad, but he never joined the stage. Anton, who tweets are now pinned to the top, released a star code or 1 b.

  2. And the and he said that the reason why he liked those small models is because you can train them on consumer hardware. I think this touch is what the in Mozilla said, before. it took them only 7 hours to get a strong front end model, like StarCall 1b. with just like 2 30 nineties consumer consumer software, so as a consumer hardware. And, a stockholder, I went and looked. He he got fairly high scores on on human eval or, that his 1,000,000,000 mile, 1,000,000,000 beats almost almost beats the basic LAMA were too when it was released on code.

  3. Now we all know that LAMA code released with way better performance, but it's incredible to see like a 1,000,000,000 model, to to to do that great on human URL. And it executes crazy fast. And so we just wanted to ping Sunnova. We just dropped, that, you know, maybe Starcoder is the next, transform GS project. Go ahead, Yam.

  1. yeah, I hope that I hope Anton comes because this is insane. No. Seriously, like, this is a 1b model, with everything that comes with a 1b model. And the score is just, it's, I, it's passing everything that we have ever seen, and it's not just a paper claiming whatever they want to take. It's real. It's here. Here is the model. And, apart from it being extremely useful, which it's basically, nearly twice as better as a GitHub copilot and pretty much just as fast as it's running on your machine.

  2. I really want to know how to replicate the the data protocol, you can say. just get more data, just more of the same. Just push the same button harder, because just look at what it got to. It's insane.

  1. And, I think he also released the dataset or at least he said that somebody else show this dataset. However, I'm pinning this tweet, and, please, folks look at the last pinned tweet. he's showing and insane 250 tokens per second with this 1b model in less than 2 gigabytes, never. 200 50 tokens per second. When you watch this this video, you literally see that, like, tokens appear faster. You can read them. And, like, there's no point spinning anymore. Just like poof and show just a bunch of text. I haven't tested this myself yet, but, Tony is definitely a person to watch. And, I you know, I sent him an invite, but he's probably busy training stuff. So he may not be able to see this.

  2. But, yeah, is is an hour drop? Yeah. It's an hour drop. He didn't back. because we're gonna talk about web GPU next, but I oh, so nervous we're here. Yes. So this is a tiny model, dude. Can we can we can we on it? What do you think?

  1. I actually have already converted it to on it. but I actually I haven't updated my demos to try actually, I'm gonna do that now. Give me a give me a second.

  1. That's awesome, folks. Heard it here first. So, I I definitely wanna shout out Tony for for his efforts and folks should follow him as well. So stark order 1b, a tiny model that on specific tasks like code outperforms the basic llama and the palm to when it came out with that with that, with their human eval. I think he said 39 Is that right? Like, he achieved 39 human eval plus 1? Yeah. 39% in human eval plus 1. And, that's a that's an incredible score for such a tiny model. terrible score. So it's it's really interesting folks. Don't you think? And I would love everybody, which I mean, here, everything was, Luigi Farl.

  2. We're talking about, like, in the same space, in the same week. We're talking about a huge model, 180,000,000,000 parameters that does fairly poorly on cold, I wanna say. Not that maybe okay. And a tiny ish model that runs on, you know, you know, I actually just mentioned a swore of raspberry buys, this model can probably run on the raspberry pi without the form. Just like watching this big file. Right? It needs, like, less than 2 gigs. oh, that one's here. Yay. Anton, we're talking about star quarter. We wanna see it in here. I'm gonna invite you to speak.

  3. and at the same kind of breath, we talking about this insane 180,000,000,000 per as well and a 1,000,000,000 tiny model that Anton said that he trained the computer on on, you know, consumer hardware. and it performs for specific tasks just as good, if not better. And I personally find it incredible. We we we see those trends in both spaces, like, you know, scale is all you need and all that stuff. And, in prediction of the the more stuff you throw at it, the better it performs. And then we've seen maybe this hits a certain ceiling at some point that stuff needed, like, make sure of experts and different things.

  4. But the point of smaller models, a tinier to train models is definitely here, and I'm here for it. And, folks on stage feel free to also chime in at this disparity that we like, huge models and tiny models before, and we see kind of advancements in all of them. I wanna hear from I guess everyone did yeah. Actually, you have your hand up. Go ahead and then LTJ. I would love to hear from you about the tiny the tiny sizes model. Do you prefer it well?

  1. Okay. First of all, it makes me very happy that these kind of models are coming out now that, you know, really there's a hope to run this on a single, you know, active goal that has verified. Let's try that. And on the other hand, I work like my day job is, you know, I work at a startup where I use this kind of model to improve process this and, you know, emails and stuff like that. So these models which are smaller, so, like, you know, before I was using something like bird or, you know, tilt palm was fine, but these bigger models, like 48,000,000,000 parameters and all, don't really scale that well with those smaller startup Right?

  2. Now seeing these 1,000,000,000 and and these kind of models which perform very well, in fact, compared to those bigger models. So 48 or, you know, higher models. These are actually what these startups, companies like mine need to actually, you know, run on the cloud or run, you know, on the very low low low budget, whatever hosting services they use. In that case, definitely better I I think a better step towards making this more accessible to everybody.

  3. As I think Yam was also mentioning some time ago that it's just easier for people to now use it than, you know, having to I remember I was struggling to run 48,000,000,000 parameter version of LAMA 2. And at the end, I failed because my system could not support it. And maybe I'm just not capable enough. So thankfully, makes me, like, really happy in this sense that these smaller, more efficient models are coming out, which just almost like magic. Feels like magic 1 year ago, where where we, right, so Yeah.

  1. It's it's incredible to see. And, again, shout out Anton in the audience folks. Definitely, you should call him and Anton if wanna join. I sent you an invite, but you may be, needed on you may need to be on the mobile device. The router is not there it. Luigi, what do you think about the this incredible, space that we have between the 180,000,000,000 model and 1,000,000,000 model?

  1. Yeah. I mean, I think it's interesting. I was actually going to ask a question, to any because, like, I haven't read up super, like that much on the 1b model. But I'm looking at the hugging face right now, and I see it was uploaded a month or 2 ago. So it was the one we're talking about Anton's fine tune of it that was performing really well, or because it looks like the base model has existed for about a month.

  1. Yeah. So, Anton's here. Welcome, Anton. Feel free to unmute and, introduce yourself. Although we've already sang your praises, but we welcome you Thursday. Always good to have you here.

  1. What's up, guys? Can you?

  1. Yes.

  1. We can hear you. Yep.

  1. yeah.

  1. Oh, yeah. Thanks for inviting me. I I I think a lot of you follow me. I I see a lot of people here that probably follow me in.

  1. Yeah. A bunch of us are muted, but we do the service. There's and it's very happy here. And, I saw the incredibly fast streaming, but also, LPG was wondering I don't know. While you were coming up, maybe you reviewed it. if if, star code, there was an existing model with 1 b's, you're fine tune of it. or have you trained from scratch? Could you give us a little bit the background of what you released? I would love to hear it more.

  1. yeah, the the model is, yeah, the model's already been trained, pretrained. Right? it's the start quarter 1,000,000,000 model. I think this model has, like, trained a lot. has been trained for a long time, 1,000,000,000,000 tokens, and it it makes sense to, at least try fine tuning this on a large data set, you know, which is basically what I did. there wasn't, like, any advanced tricks I did or anything. I I think a lot of it is down to the base model.

  2. The base model already scores pretty high on human eval, and and get a higher score was just a function of training it, on instruction data, completing code and stuff.

  1. So, do you think that because I see the model the pretrained model was uploaded about a month ago. So, do you think kind of been sleeping and, like, nobody has really bothered to do much benchmarks on it. And then, like, now we're just kinda finding out about it.

  1. Yeah. I mean, I I don't know why people haven't looked at this model. it's it's trained a lot. Right? It's a 1,000,000,000 model with 1,000,000,000 tokens.

  1. Like, that's Yeah.

  1. Yeah. That's insane. and it has 8 k context. it uses multi query attention it has even fill in the middle support. But but, you know, I trained it for the next token prediction, which is just, you know, for the next token. yeah, the dataset, I didn't actually build the dataset. I I used someone else's dataset, they did a great job on that. And what I did instead was filter some of the data, which is using another model to filter the data.

  1. And that that's -- Interesting.

  1. -- make a good model.

  1. What do you use to filter data?

  1. I trained in another model filter to the data, basically, effectively give the the data, the samples a score, like, filter this or not and explain why we should filter this data, the sample. And I actually find doing the same model a 1,000,000,000 stockholder model to do that.

  1. Yeah. That sounds good. I think a lot of people I don't think there's much talk about it publicly, but I do know quite a few kind of clusters of people that are kind of working towards building, you know, classifiers to help rate quality of data and stuff like that. I think that's definitely gonna be big.

  1. So would you say start order is a good model for, data filtering, or have you tried other other ones.

  1. This is a very good model because it has 80 languages. So it's like, if you're doing code, right, like, if you're doing code, this is a pretty good model.

  1. Yeah. I think, like, I'm very hopeful for one of the actual possibilities when we start actually, like, continuing the pretraining of something like starcoder 1b, like, let's say, Dolma data set, which is 3,000,000,000 tokens. and how that might actually improve it and how it might compete with, you know, llama 77b or llama 13b. Yeah. I think that'd be interesting.

  1. my question is, it's cool that you use a classifier, but on what data I mean, how do you know what is how do you train a classifier to filter the data based on based on what criteria exactly?

  1. Well, the what I did was I actually had very little I I had a 1000 samples, basically. 500 were, like, bad code and 500 was good code. and it's just basically show a code that has syntax errors, show a code that has runtime errors, and then show the code that, you know, doesn't have that and explain why that code is better than the other. And that's basically what I find too in the room. And you and you created, explanations or maybe the tagging yourself? Or Yes. Yes. The the explanations are, they're distilled.

  1. Yeah.

  1. Okay. So anyone looking for the secret sauce is going through a lot of examples yourself. I guess. And, I mean, yeah, there's no way around it, then it's the whole result is extremely impressive. And, Yeah.

  1. Have you heard of tasks or CN?

  1. I think we talked about it. And, we went, we went through the the what the hell is going on there together, I think.

  1. to the do you mean you and me?

  1. Yeah.

  1. On Discord, I think.

  1. Oh, wait. Right. Right. Wait folks. I have I have to check before before the last source. We are breaking news. Please look at the top of the tweet.

  2. Chris Lattner, the guy behind LVM Compiler and the and the compiler, I would say, and the guy who's now running modular labs, she's shared that Mojo is finally here, Mojo, the new language that he's writing, which is a superset of Python, that has I don't wanna say this incorrectly, but 68,000 x 68,000 x performance improvements over Python what they claim they have, have now released their, their, like, inference and everything.

  3. And I was waiting for this one for a longest time, because module for all of you who work with language models and have to, like, write different things for different GPUs. The promise of module is incredible. And, the the guy behind this is the guy who also came up with, swift. you know, he he called it swift, and he wanted to make swift the new Python. So Chris Lattner is no, you know, is is a very serious deal with anything, but he can achieve something like this is is and his team.

  4. he has an incredible chat with Lex Friedman on the Lex Treatment podcast about Mojo that if you are not aware of Mojo at all, I would very strongly recommend for you to go and check out. And because there's a Python superset, they have also a inference model that I don't know if they're ready released, but, because the Python superset, many of the stuff that we're running right now will just get the benefit of running on auto just even without modification but if you do modify, you start getting a lot of prioritization stuff in a lot of, just incredible stuff. I'm not enough as a software developer to even kind of repeat the stuff that he said, but definitely, you know, they know what they're doing.

  5. And so I think it's incredible for Open Source AI, for sure and worth checking out and definitely breaking news for Thursday. I, I'm very, very, very much excited. I was able to play with the multi playground. And if the speed improvements happen, This means that we're basically going to be able to run just, you know, bigger models and smaller hardware, basically. and, they're calling this a high performance Python plus plus. And, yeah, we'll see how the industry adopts this, but I think because it's a Python super set. It's mostly Python. I think it'll be easy. And, yeah, so Mojo was I wasn't expecting Mojo Thursday.

  6. I but then, I'm glad that I had a Chris Lattner's verifications on for Twitter, because module is going to make a huge difference in in running stuff faster and and much more precise. thoughts about Moja. I I guess I see your hand up, and I think we found before, but I don't think you've ever joined Thursday. I feel free to unmute yourself. You seen and say hi to everyone and give a maybe a brief intro because this is it only before folks who are not on spaces, they would like to know who you are, but, feel free to chime in.

  1. Hey. thanks for putting me on speakers. I'm in the scene right now. I'm cooking my wife lunch because I ate her meal prep yesterday night. I guess I was super super hungry, and I'm a software engineer, and I'm building on top of I do wanna, like I just wanted to come up and say one thing, and I'm I'm sorry to go back to what we were talking about. but someone said there is no secret sauce. You have to go label a 1000 samples, and it's really hard. It's not hard. It takes you a 1 minute at most per sample, and it works. It literally works, and all you have to do is open up a text editor and just look at each single symbol while you're, like, sitting around your wife like, watching reality TV, it's really easy.

  2. If you do one a minute, you can do 60 an hour. If you do 60 an hour in 10 hours, that means you can do 600. You don't even need a 600 is good enough. I just wanted to say that all you have to do is, like, literally just open a text editor. There is no secret. Just go sample and, like, label your data. It's really, really fucking easy. It's it's It's almost it is very amusing how easy it is. And that that's all I'll say I'll pop myself off speaker and you guys can talk about mudroom, but just wanted to say that. It was really important for me to say I appreciate you coming up, Christine.

  1. Always always good to have you and please continue making your wife a delicious food. but, Yeah. Yeah. I said it. I just didn't say it's hard.

  1. You are percent. Correct? That's it.

  1. I will say this. We have a huge community, across everyone. There's a bunch of discourse for real. I don't know how many people are downloads at this point. Right? There's multiple people that all of all of them follow, all of you guys. Like, somebody set up something like, hey. Let's all, like, label data do this, like, I don't know, one minute today, and I think it's like, we're gonna get, like, great results. Right? definitely, AI can help with this.

  2. Tony, I think you were mentioning about, you know, you wrote your own specific thing that trains and classifieds data, but also opening some stuff up, can be multiplied, right, if we community helps with some parts of data, then that it, you know, that labeling is on its own in training data set that didn't continue training the, machines to to keep training. many hands are happening. I appreciate all of you. I think Enrique, you're next, and then LPGA and then communicate again. So when we go, go ahead and read this out.

  1. Yes. So one thing to to mention about this too is that the file paper did something very similar. The textbooks is all you need, where they trained a classifier on material that they found was relevant. What they actually did is use GPT 4 as the annotator. So they didn't actually really do any, like, significant human eval, and they found that using GPT 4 was significant enough to be able to pull out an high quality examples to train the class of hires on. And it's relatively cheap and fast to do instead of, like, paying for human annotators.

  2. If you wanna carve a large swath of languages, because I don't think most people would specialize in the 80 something languages and starcoder. I've actually worked training one of these as well, where we did it with CPP, C plus plus C, Python, JavaScript, and a few other languages. And the results so far were really solid, and it was able to annotate the data well.

  3. So I can also confirm from personally doing this as well that I I think it is something that everyone should be using for trying to quality filter their data, and it's something that Google and all the other big research companies been doing for years now. They have their own custom built classifiers for all of their models. And I believe that and I'll I'll have to double check with one of these research orgs, but one of the open source groups is going to release a code classification model for filtering high quality data. And I'll be able to provide you with more information on it.

  4. I can link the GitHub repository for that right now. It's called treasure trove. It's by carperei. So I will post that Awesome.

  1. you can post it on top and or in the comment, and we'll put it on top and recon. Definitely, we'll add this to the to the show notes as well.

  1. How do I put it on top?

  1. Oh, yeah. You you need to it's so confusing. You need to share it with me. And then on the very top, it says the name of the space. It doesn't look like a button. You just hit that and it, like, it it pins it to the top of the space. obviously, go ahead and then it's true. We're gonna talk with Schumeneck.

  1. Yeah. Sure. I'll, like, talk about the classifier thing real quick, but then the Mojo thing But, with the classifier stuff, just with task source, there's a data set called task source that people can look into, which already has a good bit of labeled classification based tasks. Like, if I remember correctly, it's been a bit since I looked at it, but it'll have a question like you know, label this sentence as a happy sentiment or sad, and it has a bunch of different tasks like that, I think, would be good to train a model off.

  2. And then regarding Mojo, yeah, there is the the claim that's, like, you know, 50,000 times or up to 50,000 times faster than Python or whatever.

  1. I don't 16,000.

  1. Yeah. So that's, like, up to, like, you know, and we're case scenario, obviously. And in most cases, it seems like it could still at least give, like, a 30% or 50% boost or whatever. But I think really the big benefit is actually the way that it's able to make things more interoperable and easier to develop on when you're having frameworks different things like that across AI. And, you know, you have things like Onyx. You have things like, like Apache TVM and a bunch of frameworks like that, which I think it's just gonna make everything more cohesive and interoperable.

  1. Yeah. So the interesting thing, that he talked about is that kinda merger comes with 2 packages. not packages per se. Like, two two two things together in module. There's the compiler that runs module that by by just running regular Python code through their compiler. You a bunch of the benefits of, languages like Rust and languages like Swift and other languages of that sort that like Python does usually happen, Python has a bunch of, you know, performance restrictions. Everything that's high performance in Python, like Mampa and everything else written with c plus plus beneath the circuit, the surface, essentially.

  2. And so, you know, they're talking about they're turning Python directly towards towards that mode of operation. just running basic Python code on the module panel compiler already gives, like, significant boosts, but, interoperability, I I will never be able to stay before. Right? I think they're specifically talking about the same code running on CPU, GPU, GPU, GPU, whatever BU, right? Because, like, they have to combine and, you know, Chris Rody, LLVM, and, NLIR Compilers. Like, he's the dude. He's the guy.

  3. And and, being able run, like, you know, we had, actually, I think here is the same, like, you know, running things on Raspberry Pi is different, etcetera. there's, like, we had the reason why, VAMA CTP was way faster than whatever Python code they released because it was written in c plus plus. Right? So, like, closer to the metal. And now, basically, the same code without rewriting would potentially be able to run. So this is the promise of module. We we'll see if it works. We'll see whether, you know, the the community will adopt it. We'll see folks will actually, be able to port their code easily. We'll see if packages work. Right? many so many of us use spike on packages.

  4. They may not be able to run with the speed, but, Mojo, the language itself is strongly typed and many of the benefits come from the strongest of knives, and and, being able to I I'm trying to really remember all my threads about merger to post the thread, but being able kind of verify everything in place, it it places in memory at compile time. So it's a compiled language, versus like Python, is by itself a benefit, for, like, a boost like c plus plus. We saw this. but in addition to this, the compiler itself sits very close to metal and has SING instructions. I I forgot them, the names.

  5. So I'm very excited, and we're gonna see a lot. And the the guy behind this is very credentialed, and they're not talking, about some stuff. And also, I think some folks here talked with Jeremy Howard, right? You guys had a space with me, Farrell and LDJ?

  1. Yeah. I was just gonna say I was gonna see if he's may be available right now.

  1. I was gonna message him and see if he wants to come up, but I think he's free to hear me to talk about because Jeremy had a video when Mojo just released, and Jeremy just went through, like, metrics multiplication stuff with Mojo. Yeah. And Jeremy's like, this is incredible. This is, like, blowing my mind.

  1. I was out there in here. Yeah. So I think he's working a bit with them, and I was actually just messaging him right now, but I think he's asleep, based off his discord set in and stuff.

  1. So, yeah, maybe at the time. We'll be incredible to have a conversation with with Jeremy and, you know, and Chris, but I'm very, very excited and all of you who quote in Python professionally, I would love to hear what you think about Mojo. definitely worth checking So we had to hand off for a while. Welcome to the stage weather and then gone.

  1. Hi, everyone. yeah, I'm Schumelik. I'm the creator of code interpreter API. It's like an open source implementation of the chat to meet your code interpreter. and I wanna add a bit to module. I'm also very excited about that because I'm I'm actually not that excited about the speed. I'm more excited about the typing system because module, they were talking about like typing actually making kind of a change of the performance of the code.

  2. And also, like, when when you develop in Python and you do like data science, maybe types are not that important, but when you create like back end applications. Maybe you guys know fast API or like, Jango or something like this. Sometimes you have, like, a lot of jobs running in parallel and, like, you have really chaotic kind of states in your back end.

  3. And when you have a strict typing system, it can really help, kind of get an overview, like what type is going where and, like, where the value is really going and, like, it it really helps finding bugs and it prevents a lot of bugs, having like a strict typing system. And also, like, the performance could really benefit, back end infrastructure stuff. I got really into this because I'm I'm working on code box API.

  4. It's like a cloud infrastructure, so is for the code interpreter, but also maybe for other applications because, you need kind of sandbox thing for this. and then like because of Python, I stumbled across a lot of bugs like strange kind of exceptions that were just because I I messed up with types or something.

  5. So if Modules is getting this stuff really good, then, like, I think this could be huge, like, having strict typing, or, like, I think it would be a mix of dynamic typing and strict typing, but, like, it's a mix. Yeah. We, we'll see. But, like, I think this is also really exciting.

  1. Yeah. So so Python has weak typing, definitely, but this the module has a weak and strong typing. And, I agree from, I think, one of the main things that Chris Lapton talks about this is, like, there's production engineers, and they're you know, data scientists who write code, iterative quickly in inside the notebook and then gets up to work. And when folks wanna put this on large production, they want the types. They want the security.

  2. They want the hard end to kind of code execution, pre compile the works on on exactly how it should work, and we've seen multiple I don't know how many hours everybody collectively here spent trying to raise an environment and then have one thing that doesn't run your, a CUDA version and one thing that runs on Linux doesn't run that, etcetera. you know, the promises to unify the the place and the the language where production engineers will usually write like c plus passcode, will run together with the data scientists. That's the promise. And if that promise materializes, it will be incredible just even without the speed performances. I I completely agree.

  3. yeah, you had your hand up as well for a while. You write in Python, right, I assume. What do you think about this?

  1. I just wanna say about the classifier for, field time data. yeah, OpenAI are doing this for, 3 years ago already and probably already to the state. it's on the GPT 3 paper. I think if I remember correctly, the actual criteria on DVD is something extremely simple. Like is it coming from Wikipedia or maybe books or something that is known to be high quality.

  2. So let's just assume that, now there is a small data set has that is, charged by hand of, high quality code, for example, this is a couple, a couple of, seconds, not even a minute away from filtering the whole, the whole data set stack based on it, with the classifier. And I think this is something that, we, don't do enough, and clearly should work and, it has a great potential with not a lot of, not a lot of effort to do.

  3. if we already tag data on our own. So, I mean, something that we all do all the time, somehow. So, yeah, on that. just on Mojo, I just want to say that, if people want to come up with a different version of Python and, it's faster and they call it by a different name, then I'm all for it. Sounds good.

  4. but, if it's not gonna be 100% the same, they're going to have hard time making it stick because there is a lot of infrastructure and, and it's gonna be a pain to start rewriting things. And, even if it's pretty close, may, people just don't like rewriting things that already work for years. So anyone has influence on this, just make it as much Python as just possible to make it sick.

  1. I see that Harrison in the audience here throwing 100. Harrison, you're welcome to come up and also discuss module. Yam, he talked about this, and I think this is the reason why super set of Python versus something like a Julia, which is exactly kind of also a strong type language and also, like, specifically data science, etcetera. And, I learned about Julia only from, Logan on Logan AI. I think this is the reason, like, the the hired team is a DevRel like, he taught many people to use Julia. And here we are. Nobody uses Julia for actually anything and people still use Python. I think your point is the exact correct point and, you know, releasing releasing Python with a different name with a bunch of speed improvements is not enough.

  2. It needs to support the ecosystem. it needs to it needs the adoption of developers. Like, it needs all these things, and, yeah, we'll see how it shakes out. And, they've tried to do this with Swift as well inside Google. So Chris Lautner did swift in Apple and then went to Google to and also started, like, to to to try to push swift within Google, and that just did not work. People just didn't connect with how swift works. And I know personally that I haven't written a lot of swift, but I love Python way more. It's way easier for me than, like, to even think about the way Swift works. so it definitely agree with your point.

  3. I think it's a very salient one that we're gonna have to see whether the speed improvements and the types improvements and everything, balance out with the ease of use or something like a script that you write real quick and just run-in your terminal without, like, compiling or a Python notebook that we all know love. That's, like, super easy to iterate quickly, right, and and write code. so definitely we'll we'll have to we'll have to see. We'll follow along, but the promise is incredible. The promise of your code, you know, compiling it once and run with the maximum use of every resource that you're running this on. I think, I think that's incredible. you know, we we know that Nvidia is needing AMD, but AMD does good chips.

  4. It's just they're like the connecting software and SDKs are not as good. Right? This is the reason why George Harts raised, a bunch of money or worked on on on what he worked on to to to unlock that, ecosystem. and so more to potentially help with this as well. So, yeah, remain be seen, but I'll definitely be playing with this. thoughts on stage, Nathan, from you. I would like to hear what about Metro. If you ever had a chance to look into this and you haven't spoken for a while, if you're still with us, and then we'll move on to some other updates that we have. even though I can probably stay around and talk about modules.

  5. But, mister, you're with us still or no? And if not, then anybody else, feel free to check-in of what you think about this news and have you played around with the language? And, are you throwing your wet blanket or now if it's excitement, or are you as excited Alex in this. Oh, Harrison. Yay. Okay. While we bring up Harrison, I think Harrison's not connected. Harrison, welcome. Thank you for joining. Could you please, briefly introduce yourself and what you, what you I think folks need to know, and then I would love for you to jam in. Yeah.

  1. I just wanted to give a quick thoughts on Mojo as well. Like, I'm I'm just obviously been in Python programming for many years. And at least me, personally, I I tried to get into programming even when I was, like, real young. and all the way through, like, college and stuff. And I tried with many other languages, including, you know, static type and strong type languages, and I found pints on just to be so easy to use. And I think that there are reasons why Python is slow sure in ways that we could definitely make Python better, and there's no question that, there are a lot of problems with Python.

  2. But if, like, I I'm always skeptical when I see, speedups and stuff like that because, you know, what are we talking about? Are we comparing, you know, base base Python, or are we comparing Python with, Numpy and, like, all these other abstractions that we have available. But, yeah, I think various languages were here already, like Julia and and others that are, you know, potentially better languages. But at the end of the day, it's all about support and infrastructure around it. And for Python, there's there's just simply nothing like what's available for Python. I think it's a a huge uphill battle. I don't think it will always be Python.

  3. eventually something has to replace it. But, yeah, I think, I'm excited for Mojo. I'm definitely personally going to, like, look in and try playing around. No no doubt about that, especially if there's, like, a focus around AI and stuff like that because is questionable that Python has become the, like, AI language. There's definitely room for something better. but, But again, I think it's become the AI language because it is so unbelievably easy to work with it. And that's why there's such a huge community, and that's why there are abstractions for things in, like, C plus plus, for example, with NumPy and PyTorch and Tensor Flows and all all this stuff.

  4. So anyway, yeah, I'm I'm super excited for it. I'm skeptical that it could I'm skeptical of anything that can replace Python, but I'm also willing to acknowledge one day that thing will be here. who knows? Maybe it's Mojo. But, yeah, that's all I really wanna say.

  1. Harrison, one thing he didn't say is the an introduction. So I know who you are you do, but please, for the audience, because this is recorded. you know, what you're talking about way better than me, and, okay, can still what you do in in your day to day and, what you're known for?

  1. I mean, yeah, sure. I mean, I've just been I've been doing Python programming now for, I don't know, over over a decade or something, and I have a YouTube channel and stuff like that. So, like, I've been basically teaching Python for many years, but mostly what I do is learn Python and and things around, and then I just share what I've I've been learning. And I've obviously had some pretty good success. I basically do that full time. So so, yeah, and lately, it's been pretty much all AI stuff. You know, like, AI has just really taken over Python, and then it's also just taken over over me. I'm not I'm not really sure what more to add add to that, but yeah.

  1. so I will just plug because you're not going to the Neural Networks on Scratchbook is your call after this. Right? And, your YouTube channel is sent decks and, folks can join and learn how to write on program on there. And, thank you for joining and and adding this this, this position. And I completely agree. I think it's very interesting that Python became the de facto 1, even though, like, Nampa is written underneath it with c plus plus, and we saw how, CPP is like way way way more performing than whatever the data scientist in meta, which is known for every little piece of performance improvement.

  2. you know, matter every line of code that I have folks who work, who who work there, friends of mine, every line of code that you had to, like, decreases the performance of the of the website by, like, several percentages points, like, smaller percentage points. They have, like, a big alert somewhere in Meta that says, hey. You cannot commit this code. That meant I released gold that's unoptimized. And in the weekend, this genius that we now have, like, Yorgi, like, optimized the out of it. And now Meta uses their optimization.

  3. So we definitely saw that, like, it's interesting that Python became the defector 1, and, the ease of use of it, the Python notebook ecosystem, NumPy is all the things around it could contribute to this. But the fact that we now have Python as the main one, and then you know, TypeScript or JavaScript as a backup, for for stuff like transformers, with Zenava's, helpful, addition, but also for stuff like web and, it's interesting to see whether or not stuff will move towards. I wanted to say, Luigi had to hand up first and then and then, boom, and I think Yousine wanted to add some more stuff.

  1. Yeah. So I wanted to bring up some stuff about, like, I think there is definitely the reason to be skeptical of stuff like Mojo, especially at, like, face value. But when I looked more into it at least, I think fact that makes it very separate from something like Julia, for example, like, let's say theoretically, Julia is easier to use and simultaneously way faster the clear issues like you were saying, Harrison, is like the ecosystem and everything already be being built specifically for on kind of restricts people from really kind of making Julia more popular.

  2. But I think what makes Mojo different is from what I read about it being a super set pretty much everything you're already using for Python will be able to be used natively already with mojo. And then on top of that, just the other efficiency improvements of, like, we've seen things like Swift, which a ton of developers, you know, I haven't personally really used it much, but I just hear it, you know, like, pretty easy to use, very readable, very kind of high level while simultaneously being very efficient. so I think the fact that he has all those years of experience doing that, Chris Lattner, I think, I have really high hopes for Mojo actually being something to use.

  1. Yeah. Not only Chris, but, like, the the whole team in Modular is incredible. And, you know, Chris definitely knows how to pick them, and he worked with those folks on many of this. I think he was involved in the TPU, stuff in Google as well. I think, assume, what are you next and then Yum! Show me Nick if you're with us, feel free to unmute, and it's not, young girl.

  1. Hi. so I I think I, I wanted to say to the model topic, if we think about like future of machine learning or like with Langton or something. This is all, like, really kind of.

  1. I think you're breaking up a little bit, but, yeah, I think it's okay now.

  1. Okay. So, if we think about it, for example, this is all like kind of input, output. It's like a I know something. So I think the direction of functional programming could be also pro promising because functional programming is all about functions, so you have like an output. And if we look into, like, prompt chains, it's like an you're given an input, like, it's it processes through it and you get, like, an output or a machine learning model. It's like, give an input tokens and get like an output. It's all like input output.

  2. So I think punctuation programming could be a direction that is promising like Julia, but also, all cameras, a language currently a bit trending, but also, I mean, Python can do functional stuff. so module probably also, but like if we look into pure functional stuff, maybe it could give us kind of improvement, but like the package ecosystem needs to be there. So this is still like the main focus on Python.

  1. Yeah. I specifically, you know, I love Python. I hate PyTorch. and more just seems to bring, something about like, just, like, improving just some Python arts, incredibly. yeah, go ahead, please.

  1. I just want to say, your time is orders of magnitude more important than are because the development time is much, much, much faster.

  2. unless you're talking about something that is specifically about speed or typically orders of magnitude faster or slower, then, there would need to be a really good justification for someone to even, even to learn new language, I think that, yes, you can generalize between languages, but At the end of the day, there is a huge learning curve, to get, to become an expert in a single language, a single language that you use every day, let's say Python, with all the tricks and things that, a new guy search online, you can say, and you don't.

  3. it takes a lot of time. And many people, just take that for granted, and it shouldn't be taken for granted. so this is why I'm saying that Mojo will stick, if it will be really close to Python, but if it will start wasting people time because things break. it's, it's gonna be really hard. And you can say even not for the right but that's how people work. I mean, when when you work with a package that and the package is wasted your time, you just you just don't like it. And search for other options.

  4. And I think that LAMA CPP is a great example of exactly this. It required an extremely powerful, highly skilled individual to achieve this. And, of course, the result is absolutely amazing. but it required the person that had already spent years and years on this in order to achieve this, in a reasonable time. So this is not something that everyone, just, with all skill levels the team with the CPP.

  5. however, if you just go and use Python for, I don't know, maybe inference, or flammer, I think that, the skill level is much lower. So there is take your own time and your own skill level and the amount of time you've already invested in something as as as, And also, and it also has a lot of weight in the choice of world languages and what packages you use. I'm I'm all for trying new things. I'm all for, mojo with, you know, if if it actually delivers on this promise. I'm just saying that this is extremely important.

  6. And, unless it is something like, I don't know, training a model that is all all about speed because, you know, small, small different speed, improvement can be years in training. I'm not joking years in training of large models, and it's it's really hard to sell speed in terms of, in in contrast to development speed, which Python absolutely delivers this is why it's so popular today.

  1. A 100%. high skinned visuals do make a dent and, I didn't know about Chris letters before I started, like, hearing about Mojo, but then diving into his background. He seems at least as as Heidi skilled, if not more health skills than many, many other folks. Like, the dude is, like, seriously stacked in terms of, like, credentials. you see, and go ahead and then and recall.

  1. Where I think about Python is that it's a interface to interact with your computer. So effectively you're excuse me. effectively, you're using Python as a user interface to interact with CUDA to do things in an embarrassly parallel fashion. Right? And I'm what makes me worried about Mojo is that it makes that contract less explicit you said that PyTorch is bad.

  2. I think the reason PyTorch is bad is because it's easy to do the wrong thing where you, like, over abstract stuff and, like, hide what's actually happening under the covers, which is really just like, you know, a linear transformation with the matrix. And you can actually reason about what's happening in the back end. And in fact, if you look at a bunch of literally just, like, llama fits in 200 lines. If you get rid of all the abstraction and put it into one function, and for what it's worth, you can't you can't actually, like, call torch dot compile on that and actually compile it through.

  3. So I'm worried about making the interface between CUDA and the fact that you're using Python as a user interface, I'm worried about it being less explicit. However, I will say that there probably will be successful because they're doing all the things that TypeScript did. to be successful in JavaScript. So then some some background about me is that I started out as a JavaScript developer in my career, but then I moved on to building, like, high throughput transactional systems, particularly like authentication systems.

  4. And I'm seen sort of TypeScript take over into one of my favorite programming languages, and I think Mojo is doing all the right things where they're making everything optional, they're letting people do the right thing, and they're not picking the right thing, and they're making it a superset. So I think it will take over as long as it's easy enough to use, and it becomes, like, throw after people. What I'm really worried about is that, like, LLVM, like, layer where it's like, I don't know what's actually happening under the covers. I do actually wanna install CUDA. I do wanna know which CUDA version I'm installing. I do know I do wanna, like, pick between PyTorch Knightly and, like, not, and I want to look at the actual code of what's happened with my GPU because I'm trying to operate that level.

  5. But then again, like, maybe I should just, like, move, you know, full on C plus plus that if if if I find if I actually need to or see or whatever, I think Harrison had a comment, and then Enrique can go, as well.

  1. Yeah. To be honest, I was just trying to figure out don't even know how to raise a hand. I is that what if I turn my mic on, does that raise my hand, or I have no idea?

  1. There's a button in the little heart with a plus. The rightmost button is like a hand raised yeah, go ahead.

  1. Okay. Yeah. Anyway, yeah, I just I just kinda wanted to, like, pile on a little bit on some of those thoughts. You know, like, again, I think kinda like what Jan was saying was that, you know, at the end of the day, it always comes down to, like, people most of the time, we just wanna build. Right? We just wanna get a thing built. And however, we can get that built, that's what we're going to do. And if you can extract know, if the if the end result can truly be, you know, 10 times faster or, you know, orders of magnitude faster, you will get adoption.

  2. But I'm I'm super suspicious of, you know, how much faster could you be over if I just wanna write something in raw, like, say PyTorch or something like that, you know, I think that remains to be seen. So then, yeah, I I I think that that's gonna be, like, hardest thing because Yam is totally right. You know, we don't I mean, we care to speak care about speed to some extent, but usually, even then, you only care maybe at production time or something like that and trying to, like, dethrone Python, and maybe that's not even their goal. Maybe their goal is to be more of, production time or something like that. But even then, it's just, yeah, your time as developers is the most important thing.

  3. And all developers or at least most developers We just wanna build. And whatever we can build most easily in, that's what we're gonna probably use and get good at using because, like, you can write stuff faster know, I could theoretically write lots of my programs faster in C plus plus, but every time I sit down to try to do C plus plus, I'm I'm just constantly thinking, man, I I'd already done, like, 30 minutes ago if I had done this in Python, and I'm just barely getting started in the c plus plus.

  1. 100%. Yeah. I hear you. I think, Inrico, you you're next, right, and then in Brazil?

  1. Yeah. So there were just a couple things. 1, can somebody clarify whether Mojo in its current state supports GPUs?

  1. Yes. They they they support all the PUs, not only GPU. So it it runs on CPU and GPU and, TPUs, I think, as that's the claim. The current state we've done already, released literally as we're here on spaces. And, from where I was able like, look, it doesn't support, Apple Silicon natively. So you still have to, like, run this remotely. it's supposed Linux, and some other things but, the claim is the whole point of it is that you write once and then you execute on whatever hardware.

  2. So you don't have to write, like, a layer specific code or a GPU specific code, and it will still execute, with good performance with great performance.

  1. Okay. And then the other points, I think that is pretty important to discuss. There are also things like Triton or Namba or Kupai or Pai CUDA, or one of the other 5 different extremely performing frameworks already built directly into Python, which essentially allow you to write and program GPU kernels extremely efficiently. And trading can be used essentially on basically any type of, like, GPU that you needed to work with.

  2. And it's already built in extremely like efficient compiled C code. And it is not too hard to get a hold of and start doing this I, I guess, very difficult programming, but it's all built into a very usable Python interface. essentially, it has like pointers, which maybe some people might not be familiar with if they haven't written in c or similar languages.

  3. But you're already essentially getting extremely, extremely high performance with these and Torch was doing a rewrite to compile a lot of its code into the Treadency compiler. So where Moju stands against that, I think is is going to be very interesting because Triton is already extremely Pythonic extremely high performance is being used in many of the main machine learning libraries right now. So It -- I think it's just something to think about.

  1. Actually, yeah, I'll let the people with the hands up talk.

  1. Yeah. I think he moves it up then and then, and, yeah, and then you can know.

  1. I was saying, yeah, let let you know when you have to go first.

  1. one thing, I I think, what you've seen was mentioning, was talking about, you know, is salient. Like, you need to be considering, at what layer you're willing to make sacrifices for your own personal, you know, there's sort of like an axis of developer productivity deployability, and then, like, you know, actual, like, production speed. You know, and these are all, like, different accesses that we all sort of find ourselves on. because we are ultimately all trying to, you know, ship something. Python, you know, very, very high on the developer productivity, So she's quite poor at, like, the shipping.

  2. it is very difficult and difficult to, like, ship it to I mean, you can't, like, run it on a phone, like, and, like, try to Python between the Python versions with different on, like, Mac and installing it. Like, there's a lot of stuff that goes with it, but it's great as, like, a developer productivity language. one thing I will I will comment on, I'm not going to say it's the answer. If people look under the hood, they will see that hugging face is very quietly making a very large bet on rust.

  3. as sort of the the the link, the next machine learning language, they've been rewriting all of their core libraries in trust. and there is a library that they haven't talked much about, but is very interesting called candle, which is their replacement for, pytorch, and, it it's their rust their rust, implementation. And it and rust has been around for quite a while, and it it's sort of the spiritual successor.

  4. I guess I guess you could not the spiritual successor, but it it's the only language that's ever really trying to take down C plus plus and has reached a level of maturity and usability, that I would say it has essentially succeeded in that. I spent 15 years of my life writing C plus plus every day, and I never thought I'd I'd get off team C plus plus, but Rust eventually did eventually convert me. So that's not to say that Mojo won't be successful.

  5. Russ, you know, it is a strongly typed language, which, is not, you know, it requires you to think like a developer from the start, whereas, like, Python sort of gives you a a a a Python and TypeScript as sort of, like, weekly typed, optionally typed, you know, languages give you much more training wheels when it comes to just being able to do something quickly. Having said that, the I would say Rust strikes an excellent balance in its well, it's gonna be probably the most perform in general purpose language you're gonna find.

  6. and then, it it is it's it's so statically typed in that actually it, will fix. One one thing about I love about Rust is that, literally, you can code in it for, like, 6 hours And once you get it to compile, it'll, like, absolutely run, right, the first time you run it. It's the only language I've ever experienced that where, like, you just run all day. You code all day. It won't come back. And then, like, you run it, and it just works the very first time. so that that's another option, and I would encourage people who are thinking about it.

  7. who are looking around at all these other ones to also, you know, give Russ serious consideration, particularly with, hugging faces candle library, which is essentially, like I said, it's their sort of PyTorch replacement. Now underneath, it is, you know, doing the same dance that PyTorch is doing, which is Okay. If we're on CUDA, do it this way. If we're on, you know, g, you know, if we're on metal, do it this way. If we're on this, do it that way. But I will also say that that's a dance that, and and you've seen mentioned this as well. Is that like, that's a dance that sometimes you don't want to abstract it away?

  8. because, it's it's so germane to the actual performance of what happening. Let let me give you an example. Take a look at flash attention. Flash attention is, you know, something that just in our space is, like, absolutely been revolutionary, because it, you know, has taken down that huge quadratic costs. And, And that's that's only like an implementation trick. Right? Like, the output of flash attention is equivalent to regular attention.

  9. It's just by being very specific in knowing about, like, the memory layout and the way the, you know, and how the rewriting the CUDA kernels very carefully, to, like, do memory accesses. We've been able to, like, take an order of magnitude off the speed of, you know, training of especially for training for attention.

  10. And and so that's an example where, like, if you have this 11 language to fit them all down onto the GPU level, it's not clear to me that flash attention is even able to be written, you know, in that because, like, it require using the primitives of CUDA and understanding the link the organization of the structure of the memory within the GPU and the operations that are available. to do to actually get that performance benefit. And so, you know, it's I just would be careful about, like, what you choose to where you what you choose to give up and where you choose to give it up.

  11. And and is writing matrix multiplication once really the thing you want. Like, is that what you need to write at once, or can you write in 4 different languages and put, you know, and wait, whether it's CUDA or metal or stuff like that? especially when, like, it that they it happening on the GPU. And, like, the time it actually comes to an inference, it is, like, the most important, you know, part of the of the things. So a lot of different options, but, it'll be interesting to see what comes with it.

  1. yeah. Thanks for sharing your experience. for the folks, for context, Rust and Swift, and, I think, icon as well are all compiled on the LOVM, right, which is, Chris Lattner, the guy behind Modre is also the author LVM and also, some other stuff like TensorFlow are using the MLIR compiler also by So, I think when he talked about rust, he mentioned rust in a good good, how should I say?

  2. with good intentions, and many of the staff are, like, borrowers and and some other stuff in rusty also mentioned, so interesting that, the rest community is going through some some stuff right now. I heard but I'm I'm not sure about entirely about those stuff. I think who's next? I think, yam, you're next and then.

  1. Yeah. Everybody else go before me and wanna ask, something on that.

  1. Yeah. Yeah. Luigi, go ahead and then, you know, I think, after that, we'll conclude. We'll we'll be talking about merger board.

  1. Yeah. So, I was just gonna mention, earlier in Rico was talking about Triton, and I was just I remember something relating to Triton and Mojo, and I was just double checking real while the others were talking. So, like, on their documentation page, if you go on that in Rico, they actually do directly mention Triton, and they actually have a live notebook demo where they show, at least in this demo, it's like they're showing like a 50% increase or a 50% improvement in latency. when using their, inference engine as a back end for Triton versus traditional implementation of Triton.

  2. So I recommend looking to that and maybe seeing if you could, find any holes in that or, you know?

  1. Yeah. That's probably gonna take a lot of validation. Especially since it hasn't released yet.

  1. Right? They provide the notebook code, actually, in the documentation to exactly replicate that demo. So, yeah.

  1. Yeah. I know. I'll I'll definitely check it out and look into it. It'll forward it to some of the PyTorch team as well. And the OpenAI team and see what they are able to provide for input because I think that will be pretty important.

  1. incredible. And we go we're gonna get to the stuff that you guys are we're talking about. You know, we got sidetracked a little bit. So it's another one less thing, and then we're gonna talk Yaron, I would love to hear from in Brazil, in between, and some of the folks about the ad as well. so now we'll go ahead and then we conclude the first discussion about Mojo, at this Yeah.

  1. Sure. so I just wanted to also just hop on to the, discussion about hugging faces sort of, using, using a rest, for quite a few of the hugging face, repositories. I mean, you mentioned this is a relatively recent thing, but, if you check-in, what is it, the tokenizers library, I'm pretty sure it was, like, 4 years ago, three and a half to 4 years ago. That's, having faith decided to, you know, sort of think about this more hey, rust is pretty good. Rust is faster. Let's let's let's start using rust.

  2. but yes, I I a funny little thing about, candle is when when it got, like, sort of it it was always really announced. nothing really it wasn't like a proper launch, if you can say. but it just blew up on on hacker news and, it it started growing so fast that if you know the the star hit history, website, where you can, like, see the the the graph. the graph started going backwards if you if you zoomed in, which was hilarious because I don't even know how it's possible, but the industry started going backwards because that's how fast it was growing.

  3. and, yeah, I think I I mean, it's obviously still still very early, but there are some really exciting demos that some of my friends are like, hardamer's, one of the team members had had had configured as well. He's been experimenting with, building some of these powerful, actually, web applications because, you know, Rust Compiles do with assembly as well. So being able to get, able to get, like, these really powerful models, WISPA, what are the other ones? Yolo, was that another one?

  4. there's there's a time that I can't think of the top of my head, but, so I think there's definitely some, lots lots of exciting things happening. And, the the person who's, like, leaving the charge Laurent, if you that's how you say his name correctly. He's, yeah, he's he checked the commit history. He's, like, working this thing all day every day. It's amazing. And there's a side last little thing in case you're wondering where the name candle comes from. it it went up. Julianne he asked about this, and I was like, the the creator was like, oh, candle's just a small torch. So, and it's like, the idea is, like, to reflect the minimum ism, yeah, minimalist design, I guess.

  5. But, anyway, I love that.

  1. Campbell just gets more tours, and this is where it came from. Thanks. It's a lot for for the share from the the depth of hugging face, and, I always appreciate your brother. Enrico, I think you had a but then also we wanna move on to a few more updates, and then we'd we'd love to talk about yarn for the few. I think we can we'll we'll definitely go over today. but as a comp I think, Luigi and then we go ahead of comments because we know about our follow ups.

  1. I was just wanting to clarify on something real quick. It looks like I was just DM ing, Enrico in the background real quick. And, it looks like I misread something probably regarding the Triton thing. So, yeah, take what I just said or you rescind, what I said earlier about Triton and Mojo. but, yeah, it's a different thing.

  1. Awesome. Good to know. Thanks for retracting.

  1. as well. Yeah. There there's a Nvidia Triton inference server, and then there's the OpenAI's Triton GPU kernel programming language. So it makes sense why there would be a lot of confusion there, but we just wanted to clarify that.

  1. Awesome. alright. Clarification done. I'm excited about module and this is something about new languages that we have to learn all all are here, and I love breaking news like that, folks. And I'm personally very excited about new things. I recommend the folks who are less excited to watch Chris, let me talk with Lex. Lex asked them and grill them about, like, all these languages and trying to invent something from scratch, and they dive deep into the history and the amount of, the people on on the team, it seems like Chris now knows what he's doing, and he's he's already successfully transitioned 1 type of engineers to another. So objective C folks, most of them just moved to swift.

  2. This is kind of a a fact of of, you know, this is the fact of iOS. iOS is not happening lift, used to have an objective sequence, played a huge role in it, and, it was happening in Apple. We're, like, with closed source and everything. So, worse checking out, and we'll we'll keep you guys up to date, about module. Yum, we're gonna talk about new updates soon, but, you have it. You hang up.

  1. So, feel free to enjoy it. Yeah. I just wanna say, ask because we all own this topic, and I think this is the exactly exactly the subset of people, to ask this, Triton for training, both forward and backward care and they should have an insane potential for speedups. why don't we, or or we might LAMA implemented, with as much of these chronicles as possible for training as well. I just don't have experience with it.

  2. And, I keep hearing about Triton and how fast it can be. And also, yeah, I mean, open AI and things. So what can we do, or how do we get to the point where we have, like, a repository open source of, a much more faster llama, because the closest thing today is your guys' the D tub, which I get tricks from. So, yeah.

  1. So real quick, so to clarify, there's like 2 Tritons that ironically both seem to have something to do with optimization, with AI and price watch stuff. So there's Nvidia Triton. and then there's OpenAI Triton. So, yeah, I mean, and Rico could probably tell more, tell you more of the difference between 2 and yeah.

  1. I can hop in having because it does fit into when we did our our yarn training as well. so it's like the Triton language from OpenAI is just a, it's like a CUDA. So CUDA is a language created by NVIDIA for programming NVIDIA GPUs. Right? It's like the native language for not native because it gets compiled to, like, a an intermediate, like an actual instruction, but it's the language for writing code that actually runs on the GPUs. It's very, like, very difficult to use. I mean, it's, like, it's syntax is is is is terrible. I mean, not terrible, but, like, very, very, very difficult, very difficult.

  2. So OpenAI made this language called Triton, which is just a sort of syntactic sugar you know, around CUDA, basically, that, will, you know, makes it much easier to write just as from, like, a developer perspective, it's a better syntax for writing the CUDA kernels themselves. Now writing the CUDA kernels themselves are what actually happens is like the code that actually runs inside the GPU.

  3. Now now PyTorch itself has CUDA, well, in 2.0, they moved to Triton for a lot of it, has baked in kernels for the basic operation. So when you do if you're in Torch and you say torch.nndot, like, you know, feed for, or, like, or MLP, like, whatever, like, the different softening. Like, all those different ones, when you say that underneath, you are in your in your load with CUDA, you actually are using those, the the those enhanced kernels for that piece of the model. Right?

  4. So, like, that that you the model's made up of, like, you know, different layers inside each layer. are these different pieces? So you've got a you've got a feed forward network, and you got attention, and then you got a multilayer perceptron at the end, and then, like, that's, like, your base transformer block. And then, like, that's repeated, you know, 60 times or whatever based on your model. So each of the individual operations some of the the basic ones, if you're using PyTorch, have CUDA implementations for them. So we we should do already have that. But what we but as you make your model, as you make their models, you're you're sort of making it out of the Legos.

  5. And if you do anything that's not whenever you try you do something more, fall back into either it's running very it's not you want, like, one giant Lego block that does all of it is, like, the fastest And that was the problem with attention was that attention. There wasn't like a although there isn't PyTorch 2.0, there wasn't just like an attention block. Right? So people wrote attention in Python, and each of the little pieces themselves may have behind it, may have been, may have been made faster, but there wasn't just, like, the attention block.

  6. And, for example, that's really what And especially when you're doing, like, the backward pass, you need it to be all one big Lego block that you're, like, sending to the GPU, not tiny little Lego blocks. even tiny little leg lock and pieces going back and forth between the GPU and the CPU. That's what flash attention really is is it took the whole attention operation wrote a very optimized kernel for it. now they have actually put this into PyTorch 2.0. There's a function called SDP, for scaled that product attention, that they have.

  7. Now flash tensions the the the truth is that, We we do have big chunks of it already and, like, the llama that you use now is mostly all there. Now what we don't have is, like, one giant CUDA implementation that all together is just like the entire model like front to back. It will not me, and this is totally speculation on my part that at places like OpenAI, they have done this for their models where they just have The entire model written as 1 giant CUDA file or 1 giant Triton file, you know, especially for inference time and probably for training as well.

  8. and and it's able to, like, all get compiled as one model and execute all at once, and that is going to be the fastest version. But the truth is that, like, the people who know CUDA and the people who know, Triton is like a vanishingly small subset of the vanishingly small subset of developers who know, like, anything, even about AI. It could use AI stuff. I mean, you could basically, like, get them all into, like, a one conference room probably, you know, I like that would be the entirety of them in the world. So, so it just it's really just like a skill set problem at this point. and, and, yeah, so that's kinda where we are And and I was just coming back.

  9. We've seen things like, I cannot overemphasize how awesome, like, flash attention to it. Like, just this one cuda kernel, like, basically made yarn possible. because especially with the long context when we were going to 64 k and a 128 k without flash attention too, we could not have even done it on like 64 g we use 64 GPUs for yarn, and we wouldn't even be able to do 60 4 GPUs, without it. We would have needed, like, five times as many.

  1. So just these are the pieces. I wanna I wanna keep you excited about the yarn for the full interview once once you've been just covered, but you're sliding in there, and I really, really appreciate it. I, in regards to your hand up, I, wear the 2 hour park folks. This seems to be the space that we're gonna go over because we also have in Brazil here, and then we come here. If you guys like, a scaled llama beyond insane amount of context windows, and we'd love to dive into this. And just a brief round of updates just before that, but please stick with us. Hopefully, you guys can stick around for a bit. we also have joined us just now.

  2. Just really something that's also incredible that I just been to the top of the space, and I would love for you to to have a space for you to chime in. this is an open ASR leaderboard from Huddl face. They just literally just drop right now. Maybe I hope you're feeling well, brother. I hope you're nothing too sick. feel free to to to give us a few a few a few minutes on on this because I personally find it incredible that this leaderboard exists Hey, hey, thanks for having me on.

  1. so first of all, quick, quick introduction. hey, everyone. BB, I lead the advocacy efforts for audio, hugging face. and as, like, ever since I joined hugging face, one of the things that I wanted to was to sort of create a one stop shop to evaluate, like, the different kinds of, you know, open an open open access models available for speech recognition. And this is basically the first step towards that.

  2. So we're starting off with, evaluating, like rigorously evaluating, models across Nvidia, models across hugging face, models across, speech brain, on the English language. Right? And so why should you be interested in this? for, like, of course, there are, like, multiple sort of, you know, players out there, who, who have their own APIs for speech recognition. Right? So there's, there's Cladeo, there's, you know, of course, OpenAI has their own, like, whisper API, and so on.

  3. And some, like, you know, each of models have their own, sort of have their own, plus points like pros and cons, right? And so and and and all of these models effectively, they, they're released and, you know, the researchers or these companies would just say that, Hey, ours is the best on the block. right? And, so we, we essentially took that to the test and we took, all academic, like, all academic plus, like, you know, plus models that have been released by, either OpenAI or by Facebook.

  4. So this includes wave to active, whisper, NEEMO models from, from Nvidia. And we evaluated these across, 8 datasets. So because we didn't want to just, like, evaluate on LibriSpeech, which is what everyone evaluates on. And so we, we evaluate, we evaluated all of these models up across, the test sets of different different datasets. These datasets are, you know, ranged from YouTube, audio to, you know, podcasts, to you know, just randomly recorded, snippets and so on.

  5. So, like, we, we get like a true measure of how robust these models are, and we package this all together in the leader as I mentioned, this is just a start. So we, we start off with, with English, with time, and, you know, with a bit more effort, we want to sort of concentrate all of our efforts into multi inequality. so, you know, stay tuned for more updates around that. And, you know, where where, where, like, all of our scripts, and the leaderboard, pretty much everything's open.

  6. We open sourced everything write down from data preparation scripts to the datasets to the evaluation scripts so anyone can run them on their own plusters. and so the results are fully auditable. just the DLDR in case you do not want to open the lead report, Nvidia NEEMOS, fast conformal models win, by by, you know, like, a, like, a small merchant when compared to Whisper. And, So, you know, like, they are currently the undisputed king of open source ASR for English. and, you know, I'm I'm really psyched to see, like, where do we go from here?

  7. Like how different research groups like pick these models and, you know, what do we learn from there? And, how do we beat these models and essentially create, equitable opportunities for, open source groups and for, you know, all of us are there.

  1. Awesome, Vivi. Thank you so much for your work on this on ASR. And, we've met I I said this before. We met on, you let the a sprint for fine tuning Whisper back a year ago almost, and it's lovely to see the Whisper is still up there. And hopefully, we'll see many new my house in ASR, go and get this, and this will be the leaderboard to watch. So thank you for working on this. Thank you for coming up and sharing with us as well. Always welcome to to to to space here on Thursday, I mean, continuing on our updates, before we before we dive into yarn is a few quick updates I don't think the folks need to jump in too much because we're just gonna run through them.

  2. OpenAI has announced their 1st day of conference coming up in November and, I actually I'm not sure if, where it falls on the spectrum of a full, like, machine learning data science versus, you know, to use Open Eyes APIs. They haven't announced the speakers set yet, but if you are into this and you're in the city, it's in San Francisco. it's it's going to happen there. On the topic of conferences, our friends of the pod, Swix and Alexio, they have the AI dot engineer. conference coming up in October.

  3. And, I, yours truly, was invited because of the my role in first so I'm gonna be a media person there, and I'm going to do the Twitter spaces from, AI dotengineer, and I invite everybody who's there, who's city. If you're in San Francisco during October 5 to 11, I would love to meet you. If you're from this, uh-uh, you know, from this community, love to just chat with you, but also probably there's gonna be spaces doing it done from there. I'm incredibly excited myself to to be doing this.

  4. So the OpenAI's dev conference is going to be a month afterwards, and it's going to be interesting where on the spectrum it falls for, like, AI engineers and folks who use APIs do actually folks training, you know, and doing large language models at scale. another update is about Claude. They announced the $20 per month quad Pro tier, kind of similar to Chargebee Tea Proteer, unclear yet where are the benefits. They said you get 5 times more the amount of use of cloud. I use cloud quite a lot. I've never hit those, rates. So maybe those rates are coming.

  5. the the other thing in tools before we dive into the discussion, link chain reads their hub. And if you haven't played with Linkedin lately. I have 2 things. One of them, Layton Space folks, we successfully interviewed Harrison and, everything that folks talked about chain. Is that, or why would you, like, change it? Like, all of these things. Swigs did a great run through all of those positions and takes and, you know, dumps on length chain, etcetera. And then they had Arizona on and talk for a while. And the LinkedIn is geared to do great things. And one of those things is this hub thing.

  6. And if you haven't played with the hub, recommend to at least try this. It's not related to language specifically. It's just, let me just add some folks here. Bowen and, in Venezuela environment to speak. And, so, has a way to share kind of problems between you and I and everything. else, and you can you can immediately kinda use them as well. And it's really cool in terms of, like, just sharing prompts. So know there's, like, other things exist, but, you know, many folks use link chain do prompting well, and the link chain hub is a very strongly looking need to check out.

  7. And, one last tool before we dive in is open interpreter. I don't think I wish there was a separate way to, like, raise hands, but if if you can, like, shout emojis with, like, this emoji, the the power up, if you use the open interpreter, so I know we have 2 months and Shrume, you worked on, replication of code code, interpreter from OpenAI for for servers, and we've talked a little bit about Openterpreter from Killion. Open interpreter is like a, basically, Python package you install, and then it executes code in your machine, which sounds scary, but, you know, it's kind of fun.

  8. It's the agent kind of area as well, and I I I really enjoyed using it. Now, obviously, it's not as good as the fine conversion gbt4.5, what we call GPT4.5, which is used to be called open interpreter. Now it's called advanced data analytics, which is a also weird name, but if you consider that the short of it is Ada, then it makes sense. So GPT4 Ada if you use that open interpreters, obviously, that's powerful, but still use Jupy 4, the underneath, but it's able to then fix its own makes sense. Pretty pretty cool. So if you haven't played with Open Capital, definitely give it a try as well.

  9. So I think those are all the updates. sides, the yarn stuff. And and, just briefly before we go into the interview with with with with the amp folks, I think Bowen Mozilla. Oh, there we are. The speaker. And I think all of the folks are now on stage. We're gonna wait for emails. And, oh, there was an error adding Braziler is a guess. No. I'll try again. We'll try again until this first. Oh, I think maybe that we have a little bit more too many speakers.

  1. So -- Maybe just add him as cohost or and and then you can add the one.

  1. Yeah. Maybe let's try that. it's closed. Let's try that. folks, I will have to rotate a few speakers off stage, but I appreciate you here, folks, if our manik is a good dude. So, manik, thank you for joining. and, yeah, he was in our co host, Mr. It worked. as an overview, thank you guys for joining. I think, no, I think you can you can say on the next questions. Right. So we now have, this new segment, in Thursday, I will really go in-depth into interviews. So you are welcome to check out our previous interview, actually, with Enrique and some folks from news research about standing llama using rope scaling methods.

  2. And, today we have we have Enrico, we have Bowen, we in Brazil. And, we know that, Lama 2 is now part a bowl with 128,000 contacts window, where the basic llama was released with 4000 contacts window. So that's you know, a few orders of magnitude more than the basic one. I think the top gpt is, the top gpt 32k, and most of us don't have access to that. Right? The GPT 3.5, I think, is 16,000 contacts window. And, my personal favorite.

  3. The hugest one, at least from my experience is squad 2, which has a 100,000 token contacts window, which is very school when you're pasting, let's say, the transcription of all of the space of a 2 a half hour space, you can paste in one go and the the model to to to do stuff for it. And, so now we have this incredible effort by these folks to extend I'm a 2 context window to 128 k. So I wanna welcome Emilio, Enrico, and Bowen. And, I think, Enrico, there's another offer on this also, should join, but I don't see him. Can you tell me who exactly?

  1. His name is. But was he was in it earlier. I'm not sure if he's still here now.

  1. I see. well, if you guys can invite him all differently, everyone, but meanwhile, I would love to ask you guys for of all, any of you, please feel free to briefly explain rope scaling, and, keep in mind that our audience not like the the in-depth, folks who like, you know, multiply mattresses in their heads. so a brief explanation of rope scaling, which we already done. And then how yarn is connected to this. I would love to hear from in New Zealand and then, Bowen as well.

  1. go ahead and then email. Yeah. Okay. Sure. Alright.

  1. Can you hear me? Yes, please. Please start with a brief intro of who you are and what you do.

  1. So I'm a, machine learning researcher and computer graphics researcher, so I do, like, research work mostly. So I read papers. I implement algorithms for others. And so, yeah, I'm not, like, unlike you guys, I'm not that into, like, deployment or, like, writing the, like, writing the actual code for for the GPU, but I'm more like using PyTorch, like writing down the mass and and stuff. Yeah. So, do you want me to talk about yarn and how like, do you want me to talk about, positioning including in general?

  1. Or, like -- Yeah. Give us give us a brief kind of review and recap of maybe, like, roke position including and then how how this evolved into yarn if you if you if you can. and then we talk about the implementation for LAMA.

  1. So, like, if you guys know about attention, there's like, inherently, there's no, positional, encoding in attention. So if you give attention, like, a 10,000, tokens, it just treats it as a bag of words. Like, it just treats it as a a set of 1000 words. Doesn't understand about the order, like, about anything. So you need to inject some kind of, special encoding inside of the vectors. So inside of the dimensions of, of the tokens, like, if the tokens are like, let's say, 64 dimensional embedding inside of the network, like each token.

  2. So you have a a 1000, like, let's say we have 1000 contexts and and a 64 dimension per token. So you have a big matrix of 1000 by 64 and you need to encode, positional data inside of each of the 64 dimensions. So by, usually, usually, with a positional encoding, we add some, like, a, a, some number. Like, let's say we just add one for the first one and add the, until, like, 1000 for the last one. Right? that would work, but because of how, neural networks, they they work, Like, they do dot products.

  3. Like, you do, dot products with all of the attention. So dot products is basically just looking at the difference of the angle between 2, 2 vectors. So that's a dot product. So a good way of encoding, positional encodings inside of the network is to use, rope, rotational encodings. So So you rotate the vectors by a certain amount. And when you do dot products, because of, how the vectors are rotated, you can find you can the network calendar and the distance between two words. Right? So if you have 2 words that are really close together by rotation, so the vectors are really close.

  4. you know that they are close together inside of the network. Like, the network knows that they are close together. If you have two words that are really far away, they are rotated really far apart. So then they are really, expanded. Like, you know, they are far away. So maybe they are not so useful, like, predict the next word. so the network, when you give it give it these embeddings, it learn it kind of learns about the distribution of how the rotations are. Like, the the network, when it sees some rotation that is out of bound, it doesn't what's happening.

  5. So that's why we need to use, interpolation to do, more than, 4000 contacts because with 4000 contexts, it only had, some amount of rotation between all of the words and anything beyond that rotation, then the network is, like, I don't understand. Like, I I cannot I it never seen that in the data. It doesn't understand at all. So for any kind of, rope interpolation, what we're doing is instead of, rotating more, after 4000 token for a LAMA 2, We actually wrote it less for anything less than 4000.

  6. So if you have, let's say, 10000 context, you just compress all of the 10,000 into the 4000 rotations. So the network is now able to, figure out better during fine tuning that oh, we are looking at what place and whatnot. Right? So, that is just like how we, interpolation works. for rope embeddings.

  1. do does anyone have, like, any questions or, like, about So, I I do so first of all, thank you for for the explanation. even simple math that I could understand, at least some of it, and I'm not in no way connected to this. So attention is very important. And also, there was an issue of, attention across the whole context window. Correct? Like so, so I think when when Roe came out, a few press the guy from Elleby, which is, the the guy behind Elle papers, which is also a way to extend context. And I think, some labs use alabite.

  2. He expressed kind of, concern whether or not, the there's a full attention across the whole context window after rope. Is that correct? Could you speak to that a little bit whether or not, like, just the tensions is spreading evenly across the whole window with rope and, with yarn as well.

  1. So for rope, the problem that I think he's, alluding to is that rope decays long context attention. So because of how dot products work, so the further, to, two vectors are rotated apart, the less, the result, like, after the dot product is much less. So the attention is actually like it's reducing the attention for all the tokens that are far apart. Right? So the morph tokens are far apart. 2 tokens, the less attention they have between the two.

  2. So that might be a problem, like, if you if you think about it, but, one thing is that when we do interpolation, we're actually not rotating more than that. So so if, for example, the network, can attend to 4000 contact size, if you compress, like, 10,000 tokens inside of the 4000, it should be in theory, capable of attending to all of the tokens. because the the the rotations are not more. They're less, actually. So you have you have less rotations between the the each of the vectors. So that that is, like, my, yeah, sorry?

  1. I see. I see. Yeah. This is, don't let me interrupt you. so so next question, I guess. So you explained about rope, and, you guys have worked on so rope was used to extend Alama too. I wanna say 16 k real quick and reco, please remind me if I'm if I'm mistaken. But, like, very quick after Lama released you and and so forth, I think, extended to to 16 k. Was that correct? Like, a few days after?

  1. yeah, rope, actually, by itself, is not extending anything. That rope is the the encoding of how you encode the positional, like, data inside of the embeddings. So the tokens by using rope, we can add, position to all of the tokens. Like, the networks knows which tokens are where. But, the the simplest interpolation method that they used like before yarn was a linear interpolation, so positional interpolation. So, basically, we just say, that the token at 10,000 is now at 4000. So you compress every every distance. Like, it's it's just you stretch the line. Do you compress or you stretch the line, basically?

  2. Because how because, rope is taking, like, a point on the line. So between 0 and, 4000, like, for LAMA 2, it it expanded into a, a, multidimensional complex vector. So that that's actually just how rope works. It takes, like, one d position on the line and just expand it into a ND complex vector so the network can attend to, to all of the token, know where all the tokens are. so linear linear interpolation is just compressing that one d line.

  3. So you just take a, let let's say, if 16 k, you you compress into 4 k and you give it to the network. So that that's basically just it.

  1. And this was, you know, this I will I will comment that, the idea of doing this was sort of the key thing that has kicked It's length extension, you know, Bonanza that we've we've been able to we found ourselves in. up until now, it wasn't clear exactly if there would be a way to train models to go longer other than actually just training them to go longer. Like, that was sort of we were stuck at at that level. but that involved, you know, a lot of compute cost. So the the original breakthrough was, like Bowen mentioned, the whole point is we need to somehow tell the model where things are.

  2. And in our mind, it's very simple. It's a one dimensional line that you word 0, word 1, word 2, word 3, word 4. Right? Like, it's very simple. It's exactly what we want the model to to learn the differences between spacing. But because of the way attention works, it actually is using these dot products in complex vector space. So you need to do some fancy math, basically take that simple line and sort of thread it through this hyperdimensional And that is what rope is doing. it is essentially being like, we know this hyperdimensional complex space is gonna look like this.

  3. Here's the math so that when you you can, like, literally take this, like, rope and run it through this hyperdimensional space, that will essentially encode the idea of 1, 2, 3, 4, felt like this linear number assigned to each, you know, assigned to each of the the tokens. and so the key that Kyle can dead, Bob, discovered was that we can take this this this rope, right, And the problem was you've got your rope and it's from 0 to 4000. Now when you, like, went to 16,000, that rope, like, you can think of it as, like, exiting the hyperdimensional space and it just sort of falls off and it can't be used at all. Right?

  4. And that was what we saw. Right? is I want you to if you made the rope four times longer, we only had rules to, like, how to get it through to the 4 k link, we would exit the hyperdimensional space, fall off, and it would be useless. Right? So the simplest idea, and you might ask why someone didn't think of this, but it's either the simplest ones or obvious ones you realize that is to sort of, like, take that teen k rope or whatever it is and, like, squeeze it together really, really tight and push it in so that it fit in the same length as that 4 to for that four k rope. Right? and now you've got this much longer rope that's been squeezed into a into there.

  5. and that was what this positional interpolation is, and it took you know, the numbers 12, if you were making a 4 x increase in the the the of the length of the context, it would now take the numbers 12, and they would be like point 125 and point 25. And because of the, you know, the because of the way real numbers work, we can sort of infinitely compress and infinitely divide. Right? Or and for, you know, we can take, and there's all we we can always make things smaller and smaller and smaller. you know, because the real numbers are are infinite within even between 0 and 1. Right?

  6. So you can always, like, shrink, shrink, shrink, shrink, And this is what, Longma, or, or what, a paper that Meta came out Eventually, was a form, you know, a paper that was equivalent to what Kyle can that did, which is that this did this. And this was, like, amazing. It worked. So, like, it it it worked. and it took us from, like, it not working at all to, like, it we know how to do it. Now we've kind of been like, okay, can we take this further? And the reason is that when you do this squeezing, you still need to train the model a little bit more to, like, learn.

  7. But what's what's amazing is that it it it, like, It it doesn't it it's see the model after it's been trained at 4 k and it sees this, like, squeezed rope. It very quickly is able to pick up on what happened. It doesn't think that, like, it's learning anything new or new language. It just goes, oh, I see what, like, they've decided that everything is now divided by 4. Okay. I can figure out what that means. You know what I mean? Like, it's it's just like it was very the model very quickly understands what you've done. and and but at when you when you train it for a little bit longer on the skilled one. So everything after that's just kind of been iterative refinements.

  8. I'll talk about the specific mathematical structure of yarn. but the key intuition about this is that the, this linear number is getting this linear from 0 to 4 k or whatever. We're threading it through this hyperdimensional space. And as we thread it, it's taking these twists and curves. It's like going up and down this hyperdimensional hill. Right? and and because of that, just squeezing it. It's like, at think about, like, at the trough of a hill, it's getting squeezed more than, like, the parts at the top of the hill.

  9. Even, like because if you, like, squeeze everything by a constant factor, those areas that are in, like, the bottom of the hill will actually get squeezed more or less, like, Like, that's just the this is not at all. Like, what's really happening, but it's an intuition to think that, like, just scaling it linearly and, like, pushing it together, might not be the most optimal way to do this because it's now no longer a straight rope. It's, you know, weaving up and down this hyperdimensional space. space is we can sort of squeeze it very smartly at different points to try to get that same behavior.

  10. And that's really what we've been investigating is, like, How can we now that we know this is what we're doing, sort of, the the the the linear scaling is kinda like the blunt hammer. Like, yes, it works. Okay. Great. Now we know that's what we need to do. Let's look at, like, look at it and say, is there a more is there a clever, more clever formula we can use of mapping how to do that sort of squeezing together so that it fits the contour of the space that we're trying to fit this, like, quote unquote, rope through.

  1. That's that's a terrible, emails. And thank you for this, very, very simplified and and for explanation. The the instinct about what happens in a move to the mental space definitely is not easy to grasp for many folks, especially folks who don't necessarily work with this. but, the the squeezing of the rope and the fact that it unlocked this thing is interesting. So here, I wanna ask you about this. So you you mentioned Kike and dev. We've talked about Kike and dev. I think the last time we talked about Longmar as well. and then separate or in parallel, also folks from Meta kind of release the paper that's similar to this. Could you, reflect on kind of how that came about just briefly?

  2. And then we'll move on to to to yarn.

  1. Mhmm. Yeah. So, so Kyle kind of posted onto, I think, originally on, Fortune, maybe. and and then later on Friday. Yeah. and, just kind of, I don't know where it said, hey. Let's try this. And immediately, like, the next day, I we I tried it and, Gorgonaut, I get the g gmail guy. he I remember he, like, he tried it too, and he tweeted out, like, Holy shit in a way this actually works. You know what I mean? Like, it was very much like, we couldn't believe it was so obvious, and yet no one had thought to do it at the time. A couple of weeks later, Meta dropped this paper called positional interpolation.

  2. Our context went to extension via position interpolation. which basically was like a academic paper that represent the exact ID. I mean, it's literally the same thing, but it was an actual academic paper that, like, showed the math formula as they did lots of abilations, meaning they trained it multiple different ways. They evaluated it onto lots of different datasets so that you could see how does it scale as you, like, gets longer. You know, they did, like, a, quote, unquote proper scientific study of it. there was a little bit of, you know, drama if you wanna call it that because they did not really cite, like, like, you know what I mean?

  3. There was kinda like some misattribution people might have felt a little bit. but that's neither here nor there. what's interesting, they came out with that paper. And and we can there there was an intermediate phase here, which is after this, Bowen started releasing. so knowing we needed to do this kind of be a transfer is that, like, knowing that now we needed to do this, Boen has been, researching, you know, new methods. And you put out a couple of, like, just on Reddit, like, hey. We can try this. We can try this. One of these was this n t k, n t k aware scaling.

  4. what's interesting is that, code LAMA uses Bowen's n t k o air scaling to get its long context.

  1. So, And that one has gold bomber has a 100 k complex.

  1. Right? Well, then maybe it's clean. So we we can get into the details here, and our paper actually did the, an extensive analysis of this. It was trained Cold Lambo was trained at 16 k. but what we found was that, like, like, spoiler ish, is that unlike, the positional interpolation, these new methods actually exhibit the ability to extrapolate.

  2. So what this means is that you we can train them on shorter sequences and they time. Previously, alibi was really the only positional interpolate positional encoding method that had given this behavior. but it was the new these new methods that we have actually extrapolate. Meta discovered this in the sense that we never even thought about really trying it. we didn't think it would happen, but meta discovered that Bowen's NTK method does extrapolate, and that's what they used for code LAMA.

  1. So I would love to to to just gently ask about the exclamation again just to highlight the point. So you're saying before with, like, up like, the linear. Right? you have to also fine tune or train the model on large sequences, datasets for it to be able to kind of also understand and respond to them. Yeah. And now with newer house. you can continue training this with data sets of, like, 4000 tokens, links, sequences, etcetera.

  2. And, it will still be able to read and understand, like, way, way longer, the texts and perform well on them. Is that is that the -- Correct. Yes.

  1. Yes. -- summary? Yes. That's an exactly correct. So code LAMA, although on their front page, they say it's a 100 k. was trained on 16 k sequences. So they did train a lot. So it's kinda like you get like a multiplier. Right? So, like, you if you train so for for yarn, we trained on 64 k long sequences, but we it can do inference up to a 128 k and probably can do more, but we just don't couldn't even, like, can do the inference. Like, it's just when you get that big, it especially at 13 b, like, it's insane. It like, the amount of memory vram that you need. So, but, yes, that is correct.

  2. So these new ones actually exhibit extrapolation, which means that it's even better because you can train on shorter sequences and still get the long, context behavior.

  1. That that is incredible. And so also incredible, the fact that, kinda there they happened in imagination, online, basically, by somebody who's, like, poked a finger. And I remember Kyle Kent there was a blog where and like, oh, you know, a thin plumber with these two lines, right, and there's literally 2 lines of code that you need to change in order to to do something. One of them was like, to tell it basically to use longer sequences. Something like that. I I I vaguely remember the blog post, but I remember the excitement about also on Twitter. And we have Yacine before. I think I found it through Yacine, and I think they're they're also with Kaken. They found this via via fortune.

  2. And I love the fact that, you know, just like and somebody who's potentially, and I don't know if Karakandev is a is a doctor potentially end up, like, pointing to something and then big labs are really, you know, full on scientific research, and then this imagination unlocks certain capabilities. The guys have now used. And so I would love to then, follow-up and ask about Longmont and how yarn would used to actually train LAMA with 128. Like, what, the in Brazil, you talked about, compute and, at those sequences, computers, like, very, very hard.

  3. So, is compute significantly harder when you train on data that they are longer or, and, is extrapolation helping to reduce compute and, that's needed to get to those sizes?

  1. yeah. Yes. And yes. It's the short answer. I didn't mention, and I've brought it up many times already about, like, how awesome flash attention to is. it enabled us to do this and reduced our compute requirements significantly. so You so it's sort of an interesting problem because because the mod the the the training methods actually converge very quickly. The model very, very quickly. like, after even, like, a few a few training steps, like, picks up on what is going on. It doesn't need to be trained for a long time at all, but the problem is that, there is a minimum amount of Vram that you need to do it.

  2. And so you it's like you don't need a lot of g you you need, like, a lot of Vram for a very short amount of time. You know what I mean? was kind of the trouble that we ran into. Enrico did all of the training runs for for, for yarn, on stability AI's cluster. So thank you stability for that. We, he can talk a little bit about this training setup that he that he used for it.

  3. but I I will say that, We trained at 64 k, which may have even been a little bit of an overkill, but we wanted to, like, make the best We didn't know how we didn't know we we don't have we didn't have, like, a lot of time on civilities cluster. So we kinda wanted to, like, spend it the best that we could and make them powerful model that we could in the time that we had. So we did we did train on 64 k, which was the limit that we could train on. with the GPU that was basically, like, batch size 1 for the amount of GPUs that we had, and it would still fit without out of memory. But if and Rico, you wanna talk a little bit about the training setup that we use? Hello.

  1. So what we did is we used fully sharded data parallelism to basically split the model across 64a100s with 80 gigabytes of Vram.

  2. The thing is is that when you're training at sequence links that are this large, the the sequence length itself ends up taking basically the majority of the Vram, So even though you're sharding this 7,000,000,000 parameter model to like 50,000,000,000 parameters per GPU and starting the optimizer states and everything else, the the context length itself ends up just filling up the entire memory, which is why we had to use the 80 gigabyte ones. one thing that we're currently working on in the next rendition now that we're seeing a lot more support for this.

  3. And we've actually been building a a very custom specific library that is going to be open sourced very soon. just ironing out a few different things before it's put out with help from some of the PyTorch team is we're going to be able to combine multiple forms of parallelism such as, like, tense of parallelism, sequence parallelism, flash attention to, and fully sharded data, parallelism, altogether. to be able to basically distribute the context length, as well as shard the parameters both vertically and horizontally across each of these GPU.

  4. So TP would be intranode, FSPP would be intranode, and then you have sequence parallelism. which essentially chunks the context length of the 64 k window in between each of the GPUs. So no longer are you having the 64 k like context when you're filling up the entire memory of the GPU? Because it's going to be basically like chunked in between each of the different notes, which is going to help the performance and training of this significantly.

  5. And now that that is relatively all integrated together, it is going to massively improve the performance of training both regular models and low on context models. The benchmarks we've been doing on it so far have shown really promising results. So Hopefully, that all holds up for release. But the the biggest difficulty right now doing it more naively with only the FSDP and Flash Attention too is that the sequence length hasn't been chucked.

  6. as for the data, what we did is we we did find that it does make a difference because when you're training these models, you do not want to have sequences that are too short. I mean, this this just basically applies to regular training as well. If you have the LAMA 2 model that's been trained at 4 k, obviously, you don't wanna start training on sequences that are 2 k because it's going to start adjusting to that lower context line. So we we found reliable sources of data that we could use to rapidly iterate on. We chunk them.

  7. to the specific sequence length we needed together compute showed in the 32 k models that you can also do a bit of in context learning with packing some of these longer sequences together and still have relatively performant results, which basically goes back to what Jeff was saying too as well. where you can train at the 4 k and then just extrapolate. So that's what they were showing within context. Learning is you can have the shortest sequences. You don't need a bunch of text examples that are 64 k tokens because that's extremely difficult to find just in general.

  8. The only rail, like, source of long context information is books. The problem with that is you have to find books that are completely commercially viable to use for training, and it is a very difficult thing to do. because we wanted everything to be open source.

  1. not not to interrupt you, but I wanna just, for folks in the audience, just to give some context, here, pun intended. I think when, was it Mosaic? They released their, I think 70,000 contacts window. They said that the Greg Gatsby, the book, the Greg Gatsby, all of it is, like, 67,000 tokens. Right? So you're talking about 64, 64,000 tokens. The whole book is 67, like, a short book. Yeah. great data is not, you know, is not well in peace. But, just for context, like, you need to find these data sets some like, there's, like, whole books that you're putting in training. Right? so yeah. Okay.

  2. Could you please talk a little bit more about, like, how we source said, like, what it went into is an open source. I I really wanted to dig into the data that is required and, what Emilio said about, you know, in context learning from smaller datasets to larger ones. Sounds incredible here. And, I haven't haven't had this at all. I I would love to hear more about this.

  1. Yeah. So with Mosaic training on those books. I know there was a lot of backlash to that, and we worked very hard to explicitly avoid that. And only sourced long context data that is a 100% commercially viable and has been licensed as so So we this is, like, really important for downstream users as well because if somebody is to use our long context model, they no longer have to be concerned about the implications of the training deck.

  2. And that is very, very important from, like, a legal standard and, like, an ethical and moral standard as well. So the so that's one thing we had to focus on. And there's the project Gudenberg, which you can find a lot of these long context examples. They're brilliant books. They're in English, so they're perfect for using, and they're all commercially licensable and viable to use and you don't have any concern training on them or using models trained on them for inference.

  3. What together and code LAMA also found with the in context learning types of things is that you can pass these shortest sequences together and still be able to extrapolate using something like yarn, like Imozhila was previously saying, So together did that where they took, they found some open source datasets on hugging face. They combined. They, they basically filtered anything under 4 1000, I believe.

  4. And then combine the long context ones that were like 1632 k with a bunch of other examples that were say in the 4 K, 8 K range as well using the linear interpolation scaling, and they, they found that they were still getting very good results because we wanted to push this to the absolute maximum and hit the 128 k mark. we decided to use the the project Unenburg dataset, which has a ton of these books that are 64 k plus and sequence length. So, basically, even when you're, you're chunking them, the single book isn't even getting packed together.

  5. It's basically taking up the entire context window itself, and we and we found that that does help. But you also need to incorporate a lot of these specialized training techniques and things like that if you want to make it operable on GPU's that don't have such a high V RAM.

  1. So, yeah, Nathan, just before we to your question, I wanna just, like, ask folks about, why if Meta or, I guess, don't don't take a the white, but do you guys foresee that all, like, newer models will start getting larger and larger complex window, or, will will still have shorter length complex windows then just like, the open source committee will just join and kinda extend those.

  2. You guys foresee that kind of the industry, the the big labs, like open the eye, etcetera, and the, you know, the the open source releases like Meta, will they adopt the larger context windows from scratch or we'll get base models that are, like, this length, or is it is is there something preventative there that, will prevent them from doing this? because Lava 2 was raised with 4, but around the same time, Oregon before they already had, an understanding of of scaling industry. Maybe it takes a while to kind of incorporate into their processes.

  3. So we'd love to hear from from you folks, Bowen and and Emails and and Rico about, speculation towards the future, whether or not the open source models will come out with larger complex windows because of these new tricks, that you also participated to.

  1. Yeah. I I I think that because of how these interpolation methods are all, like, different. Like, it it it's going forward so fast. Like, we're developing new and new, newer methods. I think that Probably, Meta does the one to jump the gun. Let's say, like, just to they want maybe to wait a bit to get, like, better methods before committing to 1 because when you release, let's say called code LAMA, they release the long context version with, 100 k.

  2. If that method wasn't great, like, if the context extension wasn't done great, they would have to, like, revert to the older models and re fine tune, right, And if they released, like, let's say, right now, they only released the the final fine tune. So it they re they had a base model, code Lambda that wasn't trained on, 16 k, context. So only 4 k. So it was same as Lambda 2. They didn't release that model. So if they had released that model, we could have trained yarn on it, but they would have to release, like, 10 models, right, like, 20 models, like each time.

  3. So I I don't think that's, like, really they don't they want to do that because that's really confusing, and we already have, like, 1000 models on the hugging face leaderboard. So I I think, like, as as it stands right now, like, the methods will will converge to a good one. Like, there's also, from the authors of rope, they released the rerope, which also, extend the contact size. There's also the the infinite l m paper, like, we have a multiple now, like, more and more, like, as the dig goes.

  4. And I think as we, we converge to a, the best one, a one that's, like, even more efficient than yarn or even better, I think they would just release like, a infinite context size model. Like, just how we would have a fine tuning method that would just allow the model to extend any context size.

  1. So -- Yeah. I I -- Go ahead.

  1. Go ahead, Ma'am. Yeah. I I would, One thing that we kinda have run into as we've been done in this is that, like, everyone thought they wanted long context and and until they got it, because ultimately, we are still fighting up against the quadratic nature of attention. Right? And for for everything that happens, when it comes time to apps, it gets quadratically slower as the model as the context window gets longer.

  2. and that is a a battle which, you know, you you didn't even have to fight, but now, like, you can fight it, but then you realize that, like, like I said, to do, F P 16, we were doing it in in F P 16. We needed, like, 8a100 to do 13b@a128k to do inference. So So so, you know, there there's still a lot of problems, not problems, but just, like, I think that we've effect at this point, the the the we've effectively know we can do, like, limitless context length.

  3. and so it's likely, actually, though, that Meta will b place it, you know, and the next model will will play it safe. Well, safe. Maybe they use 8 k as the base 1 and then rely on us or or they release they do 8 k base and then do a a a a longer fine tune like they did with code LAMA with another method. the answer is we know it can be done. We know it works. and we know that the method will only get better. I would, but at the end of the day, use you on your machine trying to do you know, and imagine if you are trying to use the the 34 b or the 70 b at, you know, at 80 k context, it's just it's it's laughable at this point.

  1. you know, with the memory requirement. So so, yeah, memories.

  1. This is the restrictive factor. Right? Yeah. The restrictive factor is the fact that okay. You can go long, but can you really go long? You know what I mean? Like, do you actually have the computer to do it? I think the next frontier for us honestly, will be, something that whatever it is that replaces attention, So, you know, there's lots of research on sub quadratic attention replacements. and I think that for like the next big unlock of, of of a large language models, it will be whatever it is. that replaces attention with a quad a sub quadratic method. there's r w r w k v.

  2. Am I getting the the the layers, the the the letters wrong, there's hygiena. There are a couple of other methods that are vying to replace attention with a sub quadratic operator. If and when that happens, that's when the long context really becomes something that's at this point, almost like a bragging, you know, or or like a theoretical thing and brings into the realm of usability for everyone. So, you know, we need to do this with this, but we need to do this, right research concurrently, which is what's great about this.

  3. Our physician encoding research, can be applied to a sub quadratic attention mechanism, that is still dot product based. So, you know, lots of these, it's quite possible that we're, you know, we're sort of building separate pieces concurrently. And then once you know, we settle on a replacement for attention that is sub quadratic, then, you know, we really that's when really be awesome and heat up. So I wouldn't, you know, a lot. And and, you know, and one more final thing, but I'll try to stop talking is that, and and l and and Lou mentioned this many times. It's interesting.

  4. Things are moving so fast that, like, we know when code LAMA was started getting training because they used, like, the best method that was available at the time. And, like, in the intervening 2 months, 2 better methods had come out, but, like, they'd already started the training run on Kodlama. You know what I mean? So, like, It's interesting to see how, you know, when these training runs happen, you know, whether llama 3 is already training or not. I don't know.

  5. if it is and they're planning on still releasing it, you know, like Falcon still using rope, maybe Falcon 2, if they started training it today, maybe they would use yarn or they would you, you know, it's it's we don't really know when what is happening when, but, I would not be surprised. my prediction would be that llama 3 would be, like, an 8 k model, an 8 k base model, then trained then extended with yarn or some, or, you know, extension method to go to an infinite length. But until we we slay the quadratic beast that is the attention.

  6. we have to just sort of temper our enthusiasm for what context actually means.

  1. Yeah. So I will not temper any enthusiasm because I love more context and I love basically a lot of a lot of text transcriptions from the spaces, but, you know, they have a few questions as well. I think, Luigi was first in the Nissan, and they have a few questions as well. And I think, we're gonna close to 3 hours. So after those questions, we'll let you guys, plug everything you wanna plug, and then we'll close. So, Lee, and then listen.

  1. Yeah. So there's some big news. while you guys were talking, I try to summarize the news so I can, you know, get it out efficiently. so adept ai, on their team, they have some, I think, Alex, one of the authors from the paper attention is all you need, the original transformer paper. And long story short, just while we were having this pod, they released an 8b model. and so just some some summarized notes that I wrote down it has Apache 2.0 license.

  1. I can't hear.

  1. I'm logging in and out.

  1. Oh, yeah. Yeah. You can't hear Luigi.

  1. He's talking to me. -- right now? Fine. Yeah. Okay. I can hear think it's -- Alright. Perfect. Wait. So breaking news from Luigi, right, adapt to release something?

  1. Yes. So adapt AI, which has on their team, one of the people for the original transformers attention is all you need paper. so that team, they just released an 8,000,000,000 parameter foundation model. and it it has Apache 2.0 license. It's open source now, and it has double the attention heads of llama it seems, which is the amount of attention heads as a lot of 70 b, which should theoretically, I think, improve in context learning based on some anthropic CL papers I was reading into. And the vocab tokenizer, it's has a vocab side of 250,000, which is about 10 times more than LAMA 2, I'm pretty sure.

  2. And theoretically, that might be do better multilingual and mathematics in general. And the actual training only goes for 700,000,000,000 tokens. 25% of that code, but it reaches about the same benchmark scores as LAMA 27b, which was trained for 2,000,000,000,000 tokens. maybe some of the architecture changes, you know, actually help that a lot. And then it has 16 k context linked with rope. So possibly that opens the possibility for emo or other people to, you know, extend that even further since they used rope instead of something like alibi or things like that.

  1. That's awesome. It's called persimmon8b and folks, tweet for Mentone. Yeah. also from the values now pinned to the top. And, so so, what you said? Yeah. They're using they're using Rob already for this one.

  1. trend natively at 16 k context length with rope. so, like, instead of having, like, so they say that they modified the base rotary calculations for a rope to have the full position. they said to allow for full position resolution at this longer length. So I guess I can set up scaling it from the original value of 1, like, at rope equals 1. I guess it's like 16 k context length. Yeah. If that makes sense. And, actually, one last thing I noted in my notes is that, apparently, they say, here, I'll just read the quote.

  2. because our vocabulary is larger than that of LAMA and MPT, the actual inference speed in terms of characters is likely comparatively higher. So whatever we want to take away from that.

  1. That's it. Yeah. 70 k unused embeddings for multimodal extensions.

  1. Yeah. What what does that mean to you?

  1. What does this call mean to you? I'm not sure. I think, exactly what they say.

  1. Yeah. Well, they say it could open up the possibilities for easier and or better multimodal capabilities it seemed, but I just didn't wanna include it in my summary since, like, yeah, I'm not entirely sure what the possibility of that is.

  1. Mhmm. That's amazing. And I think it ties our interview with with emails and and and then they go perfectly because now we're getting a longer like, a base model from adept who's, authors of transformers, the the attention stuff that he was talking about is is basically a attention. So you need some of the authors now using these open methods, and I find it incredibly easy. Thank you for bringing this up. I wanna just that folks and Rico and just to maybe briefly summarize and and say, like, what is else for you, what's next for you, and, like, work folks can follow you. what what maybe help from the community you need.

  2. Please please have the space, and then, Mr. maybe you you have a final, comment there before they do that.

  1. No. I just wanna quickly asked them since, most of the context window was being taken during training and was taken up most of the RAM, but was only needed for a bit. Is there any possibility to maybe, offload that into the the CPU sites since it doesn't seem that much? processing. I just wanted, like, any thoughts you had on that. And then, yeah, that's that's all for me.

  1. Yeah. You can definitely offload it. I mean, even during training, you could use offloading. We chose not to because it fit into the GPU re like Vram at 80. gigabytes. You can, as I previously mentioned too, there's there's something called sequence parallelism. again, I I gotta figure out how to link things, but I'll put it in the comments. There's a there's a really good paper on chunking the context length and splitting it in between GPUs. So that is something to take into consideration for training as well.

  1. Okay. Thank you. I I saw it. I also pinned it. So I'll check that out.

  1. And, listen, can you pin can you pin it for us?

  1. if you can just state. I think it was the github link.

  1. Yeah. Oh, awesome. alright. so I I do wanna thank again, you know, Zilara Enrico and, Bowen and other folks who work on, the young paper and the Longmont 128. I really appreciate the time, folks. Please feel free to kinda a brief words of summary and what is next for long context windows. We we've powered some of it. Right?

  2. Like, we're now limited with, compute, basically, on inference, and we're looking for post attention, stuff like rwkV at this this and and other things, but, yeah, please feel free to say maybe what you need from the community, how the community can help, and also, what's next for you, and where folks can find the info you besides just Twitter, which is recommended.

  1. Everybody follow you. Yeah. Thanks. I would just like to add, like, Because we've shown with yarn that it's possible to go to such context lengths, I think I hope actually that people would, like, it was this would hype more of the community, you know, because before this, people saw those, like, there was a paper that, that said they had 1,000,000,000 contact signed. Right? But there was no model. There was no, like, data sets. Nothing. Like, the basically, that was just a proof not even the proof of concept, just theory. Right?

  2. Like, here, we have a actual actual proof of concept that 128 works, 128 k works, And I hope that people would, like, do more work on the algorithm side or, like, the offloading side. Like, like, people would scramble to actually make run on lower end GPUs, right, because now we have we have something. Like, it is, it's it's here. The model is there. Like, it works. We we tested it.

  3. So That was just like, I think that by releasing yarn, it will push the community, like, to work on better algorithms for the flash attention or even like some other attention alternatives that we can just plug into LAMA and then fine tune it. Because right now, yarn is just a small modification. Right? We can also, like, take some other, attention mechanism and just put it inside and use the same code, just modify the attention of it. We have all the training code. Everything can just train a 108 k mod again, with some other, algorithm, like, yeah, that, that, that's basically Yeah.

  1. Thank you, Bowen. And, I think you just joined Twitter for this. Right? So where should the folks follow you? Where else can they find out what you doing and what you're working on?

  1. Yeah. We have, the the GitHub and we have, you know, you can follow us on GitHub or even the hugging face repos. We have at news research. Yeah.

  1. Awesome. Awesome. emailzilla. Go ahead, man.

  1. Yeah. as for what's coming next, we're we're gonna be tidying up the paper. We're gonna get it over, hopefully, submit it to ICLR, fingers crossed, We have a couple of more, you know, scientific y stuff. We just wanna get in the paper to make it as as tight as possible. going on from there, we have lots of exciting things over at news research that we're working on. We're actually gonna people we kind of been a little bit like closed off, but we're we're gonna be opening up a public opening up our Discord to the public. not today, but, like, very soon. and that'll sort of let everyone come in and and chat and talk about it.

  2. Boehn and I are just as excited about a bunch of, some other, things that, especially in the multimodal space that we wanna investigate. so the best way to keep in keep in track with us, we'll we'll get out. you can get a new research on Twitter or myself, Dean Mozilla, follow any of us. When we'll get everyone into our Discord, and we can you know, start start talking from there. I I will be slightly selfish and say that we are, still, a little bit GPU poor. And by a little bit, I mean, a lot, we actually had we we got a a grant from a 16z to pay for the yarn training, and for the yarn eval, but, it was was not a it was not a big check, and people seemed to think it.

  3. We, like, got this huge amount. It was it was not it was awesome for Andrew over at AT and T to help us out. but, we are still very compute in GPU port. and so we are actively looking for people who are able to help out with, these training runs because, like, our yarn models could have been even better. And, like, we didn't have the ability to do the 70 b. We wanted to do the 70 b. That's actually if I had to say a stretch goal, would be findings, as enough GPUs that someone will let us use so we can do yarn to use the 70 b. or if someone's crazy, we can do Falcon 180 B. and, so yeah, we just, We need we need some GPUs for that.

  4. and then Rico is doing an awesome job at making our trainer as efficient as possible so that we don't need as much. I mean, a year ago, we would have needed, like, four times as many GPUs as we actually need now, to do the same thing, but we we do need that. So that will be my sort of like, ask if if anyone can help out. But other than that, yep, we're gonna be continue to be releasing, and research over at Moose and, follow us along and, I will just comment that it's it's awesome to be part of the open source community, and, everyone is contributing in their their best capacity and their best way.

  5. And together, we've been able to rival the big the big AI studios, and, it's something that sort of we as a collective community, proud of.

  1. That's awesome. And, in terms of how to follow. You guys are always welcome on Thursday night, and I really appreciate the time here and expertise and, metaphors. And Rico, go ahead and we'll close off.

  1. Oh, I just wanted to say thank you to everyone at, like, in the open source community, as well as people who have been helping to sponsor us such as a Luther ai and stability ai, I know that rely on. And together, we're also looking to collaborate with us.

  2. So, hopefully, we will be able to continue to span these models and get the resources we need in the future to get these 70,000,000,000 parameter runs out to the community and available for everybody to use because if we are able to do So you'll have a very, very strong open source based model that you I, I mean, just to even thinking about it right now, it it's just, pretty wild that we've got into this point. And, I just wanted to say thank you to everybody.

  1. Thank you guys for joining. and thank you. News research. Folks would definitely follow this. I think at this 2 a half or, sorry, I think 3 hours, almost exactly 3 in something. it's time to go Thursday. I we had more breaking news during the space than I think ever before. We just, marvel from AdaptAI with the co authors of the original to the or really something, that uses some of the stuff that folks on stage here actually kind of proposed and and and Python. That was incredible. And, Luigi, thanks for bringing this up.

  2. We also saw recent module live during the Thursday night, which I was waiting for a long time, and we're gonna go and all play around maybe with modules some of the stuff that, you know, we're already running, runs faster on nausea, maybe opening up, other possibilities. And, we talked about, Falcon 180B, which is exciting and not as performing for some task, but definitely a big thing for the community. we didn't get to and I'm so sorry. It's another and and and missed it. And I really wanted to talk about this.

  3. There's a brief period in the beginning where we talked about web GPU, but we'll definitely cover this, in the step, we also didn't touch on the MOE efforts from our friends, Parell, and Scunk Works, unfortunately, but, you know, there's only still concram into 1:3 hour space, but I just wanna say thank you for for folks who joined. The friends of the part who for the first time. Harrison, thank you, Anton. Thank you. I think Bowen is your first time. It was your first time. You're seeing jumped on. It was an incredible space I wanna shout out with, like, the strongest conviction that folks of, the co host, they come, week after Rick Yum and Nystin.

  4. Luigi, I can your host at this point, is a Nova who's now in the audience, but for really some beautiful stuff. We're here every Thursday besides maybe last week. I was on vacation. We're here every Thursday. we'll learn, because there's so much around AI. We'll learn together. We'll talk about everything we learned, and then, everybody who can't make it every Thursday There's a newsletter that I run-in the podcast form as well. So you're welcome to follow that. If you weren't able to follow over 3 hours, the interview with the news folks, we is going to be released in a separate episode. I think it's incredible, and, thank you guys for joining us. And with that, I wanna wish you a great Thursday.

  1. I we'll see you here next week, and thank you all for your attention, quote, unquote, and pun intended. And we'll see you next week, and you're all welcome to come back. Thank you so much. a good Thursday night. Bye.