ThursdAI Raw - The longform, uncut, much more information dense version of ThursdAI๐๏ธ ThursdAI - Llama 2, multi modal is here, GPT-4 is worse &other news
ยท 2h 2m
Transcript
Write the music off, and the people are in. Welcome everyone to yet another Thursday AI. THIS one is going to be a fire 1, which makes me feel a little bad that Twitter doesn't have custom emojis. to just put, like, priorities. And we're gonna have some guests today, and we're gonna talk about many incredible things, and I wanna get a few folks up here to speak and also to to to react to the things that we're talking about. I don't wanna get the car around in here. I wanna get a.
And you guys are welcome to quit quietly on the panel, but also you're welcome to come in to the update. we'll wait for a few folks to come in, and then we'll get started. Meanwhile, we can Andrew's like, no, and meanwhile, we're just gonna say hi to folks and just Keep the vendor going. I hope you guys can hear me, and everything is fine. It looks like the emojis are flowing. I was I was trying to invite a Khan for Dee and Nick Nume, and who else do I need here? from the now team. Oh, doc doc tater. Let's let's have him up here as well. Oh, I've seen you around the tab updater.
And we have Enrico, of course. Where is Enrico? I'm not Enrico joining. Right. So while, folks, are getting invites and are joining our stage. I wanna say hi to Mister. What's up, Mister?
Yep. Hey, everybody. I'm Nisten Tahira. I I work on doctor Gupta, one of the first medical chatbots, and I'm usually in these rooms after jailbreak hand code interpreterian.
Yeah. In addition to working on doctor Gupta, and is leading the very secretive cook cooking different things with code interpreter. And this is a is a participant in a Thursday night panel as one of the actors that we have here, and we have a few more folks in the audience that they will come up and raise their hands. I wanna say hi to Karan Karan. Am I staying the threat? Karan Pajid?
Yeah. You're actually saying it great. That's a a a nice surprise. Nice to meet you, Alex. Thanks for having me and the rest of the news research team and Enrico here as well.
Oh, yeah. Sure. Thank you so much for for joining and and and talking to us, and I would love to ask you a bunch of questions. You and Enrique and and team and all the team, and also welcome you to kind of participate in just the the updates portion. So, usually, the way Thursday goes is that we try to summarize the most important part and the update from the last week, from last Thursday, I. It's named Thursday I because a lot of it is happening on Thursday. And we've noticed this, and we've we're here every Thursday to to talk to people. The motto is we stay up to days so you don't have to. And I'm very happy to have the folks from NOW's Research. News Research. Now's Research.
Am I saying this right? Yeah. News. News Research. So so I said your name correctly, but not the name of organization. So news research, and we'll we'll do so I think we'll start with the main thing, and then we're Goran and and TikTok and the rest of the team and Ricko, You guys are welcome to come up and kinda discuss how you guys have received this week, and then we'll continue with the rest of the update. It looks like we have enough folks in the audience to get started, and, yeah, I think we'll be started with the main thing that happened in the AI this week. Nothing major. You know, just still weak. Nothing nothing too surprising.
Just, you know, meta telling us and then releasing LAMA version 2. And the the I would say the main thing that different from previous LlAMA is not only the 2,000,000,000,000 tokens they've trained on. Right? As the all parameters, I always get them confused. I I will say the main thing is the commercial license, the ability to actually use this model that they've released in a commercial setting. this would this this means a lot. And we've talked about this multiple times. Twick and latent space podcast are frequent visitors here.
And there is an emergency part talking about all the different, you know, the the paper and the approach, etcetera. And I recommend folks here to go and listen to that part. there's a few folks over there. So we're gonna stick around around the update and the different things we've got, and then we're gonna talk about news 3 third and what it means to actually kind of, you know, be the first person be the first people who fine tune this model. So what do we get?
We got a 7 b a 7,000,000,000 model, a 13,000,000,000 model, and for some reason, they skip the 34, 33,000,000,000 and gave us the 70,000,000,000 in as well. The 70,000,000,000 model is using JQC, I wanna say. JQA, which is a different different method, and What else is interesting? Oh, and it's double the contact window. Right? So we're getting 4 k contact window, and previous plumber was, I wanna say, 2 k. So we definitely got an update there.
However, it's not over yet, and we have to vote in the audience who will who will talk about this as well. I think this is the outline of both on stage, your unwelcomedarium up in here, the the the llama zookeeper. who's also part of now's 3 stage, and I wanna welcome let me let me ask them more folks. I wanna welcome Royie from to the stage. So before we get to now, Streeter has been kinda your guys', you know, just talk about you. What do we think about the Llama v Two so far? I know Nissan has been able to run this.
I wanna get Nissan some time to talk, and then Karen and take him for free as well, and and Royie and talkie after that.
So myself, I only ran the 13b, and I used a space that was running the 70 b. It was alright. It was still hallucinating quite a lot, so I don't find it at GBT 3.5 yet. But, again, this was just the the plain one at, like, 0.8 temperature. What I was most impressed with was that it ran in CPU very well. And this was a 13b.
So the fact that it could run even with the Even if you put it at, like, 6 cores, which is something that you can get as a serverless instance, you could run the whole thing, albeit a little bit slowly, but you could have that as an app that scales to, like, 1000 if you if you need it, which is which is pretty nice. They've seems like they have done some optimizations sort of the way they've set up the architecture that it works it worked pretty well in there in ggml eight bit. So that's part of the optimizations too.
So again, if you don't mind me, then let me just talk to the audience. The and I I can pick because I was there watching you do this, right, in this court. And the the the beautiful thing about this is that immediately after, you know, Llama version 2 was released, whole ecosystem that was built around Llama after, you know, after they released it back in, I wanna say, March, maybe even as early as February. The whole ecosystem, it was a drop in replacement with Llama v Two, at least for the 7 b and the 13 b models. And many folks uploaded the BLOK. If you guys don't follow the BLOK AI, definitely give them a follow.
They uploaded the DBML quantized versions of llama that that that run on llama. TPP, and that spanned GPUs and GPUs and ran very, very, like, very impressively. You you don't even have to use the GPU. at some point, we didn't like, you didn't even touch the GPU. Right? We have to work together to run that.
Yeah. actual benchmarks and the and the profit model. that that these guys just just put out. I'm going to compare the 8 bit GPTQ version with the 8 bit HTML and then see how like, what tokens per second we get on the CPU and on the GPU. just to get some kind of baseline and something that people can reproduce.
So so then they know if they're running it IntelX 86 or if they're running it on arm, what are they gonna get and what they're gonna get on the GPU because, yeah, that that helps people plan stuff if they're gonna actually use it for consumers and stuff.
Yeah. And and the different thing that we could note here is that LAMA V2 is not that great at code. And and within within some evaluations in human email, they they were not great. However, it's obvious to pretty much everyone the the works on this that, you know, the model is right for fine tuning. And I I before we move on, I wanna say hi to Yum.
Welcome welcome to stay beyond.
Hi. Hello.
How are you doing?
We're doing good. We're excited to have some folks in here and and and some friends. And so I wanna move on to to Karan and technical free. I want want you to unmute on both of you and give us kind of your first impression as as you got the news Were you in the secret? Were you in on the secret before, like, Tom Pope? Or did you get the prices as the rest of us? And what did you find where exciting about this release besides the commercial part.
We're just I I I definitely got to say we're just ordinary folks just like everybody else. We didn't have any in inside information about Llama 2 coming out. There there were rumors. Sure. But we're just like everybody else and just trying to, you know, provide these models for everyone. And, no, we didn't we didn't know. And, personally, like, regarding LaMitu. Like, I'm sure Technyam has a lot to say about the chat model. And LBJ appear who is the the lead mind training the new Redman Puffin model that we've just released. I'm sure they've got a lot to say about this. Personally, haven't even touched the base llama too.
I just got straight into our fine tune. As soon as we were done -- No. -- we don't even care.
No. Find your ways. Right?
Yeah.
Uh-oh. That's awesome. And and next to coming up, I'll let you introduce this stuff in a second. I would love that for the recording. TechNuum Hello. I don't think we've talked on spaces before, but we've definitely been following each other in a different group. Stay high to the folk, and what surprised you have you have you had the chance to touch the kind of the base of the jet models? I thought them gapped about early Jeff. what's the price it'd be on the commercial license. If you can unmute and if you can't, it looks like Twitter's faces are racking up a little bit. Do another call to tech Nuum.
If you can hear and then mute yourself. If you can't, with the army, and we'll do something. And meanwhile, I wanna acknowledge LJ as well. What's up, LJ? Hey. What's up, man?
Hey.
I'm doing pretty good. -- coming up? Yeah.
So -- What did you think? I barely been gotten I barely gotten any sleep in the past 48 hours, but -- No.
So even more. I'm good. -- your time here. Yeah. Tell us. Tell us. How how is your your last bigben in AI.
Yeah. I mean, it's been pretty well. Like, what what Hearn just said about, like, pretty much not even touched running the Lama 2 base model. Like -- Great. -- I can pretty much attest to that as well. I didn't even touch the Lama 2 base model. I didn't even, like, demo Alama 2 chat model. I'm just like, okay. No. I'm purely focused on Pufin. I've been working on Pufin for weeks. Also with Jay Sufa, he made, like, big contributions and just helping expedite formatting in a bunch of different things like that. And, yeah, just having this curated just model that's really fast to train because it's such a small but high quality dataset.
And we literally just got it up within hours. We got it released on the same day, technically, that Lomb 2 was released, and that was just a huge thing for us.
Yeah. That's awesome. So I guess with this, maybe, Karan, if you if you are able to, can you you talk about Nous research and how kind of how it started and what the what are you guys doing, and then we'll dive into the kind of, you know, Hermes and and Puffin and the methods and and all of it.
Absolutely. Nous research. I mean, I I myself and many other of us are just, like, enthusiasts that we're fine tuning models like, you know, GPTJ or GPT 2. And, you know, we all are on Twitter. We're all on Discord, and kind of just found each other and had this same mentality of we wanna we wanna make these models. We wanna kinda take the power back from people like OpenAI and anthropic. We want stuff to be able to run easy for everyone. And a lot of like minds started to show up.
I think that Technium's addition initially to Nous research, Jim, kinda showing up. And himself, I and human working on compiling the Hermes dataset was really what came to attract people when Hermes came out. I think we just have a really strong and robust, like, data curation thesis in terms of that. And I think that have just some of the most talented people who have come to join us and just volunteer and work with us on stuff. And I absolutely must say, I can see in the in the listeners is our compute provider, Redmond AI.
And, you know, none of this none of these models would be possible without Redmond's generous sponsorship for us to be able to deliver these things lightning fast, you know, without making us through a bunch of hoops just a a total total pleasure to work with. So I would I have to shell and say, you know, I highly recommend everyone check out Redmond as because they really make our project possible.
Absolutely. So shout out to Redmond AI and folks give them a follow. They're the the only square avatar in the audience. Go take them out. And, Karan, thanks for that. I wanna just do a mic check for teknium. Teknium. Can you speak now? Can you? Can I hear you?
Yeah. My phone died right when you were introducing me earlier.
Yep. What's up, Eric? -- sometimes on Twitter basis. Welcome, Technium. So briefly, going back to question. I don't know if you heard it. What besides the commercial and kind of the the contact window, what kind of caught your eye in the llama, at least the base until you guys started, or have you also, like, the other guys not had a second to play with the base model and dove into fine tuning directly?
Yeah. The only thing that really caught my eye was the chat model and how horribly RLHF it was.
Yeah. I've seen some conversations about and kind of the point of Ira, RLHF as well. And okay. So so now that we've introduced Neus research, sorry, I wanna talk to you guys about what you guys are cooking. Right? The we've seen, the the Hermes model before this was, like, loved it as one of the, you know, the best fine tunes that I've seen at least and the the the most performing ones. Could you guys talk about the process to get to the Hermes model, the previous one? and then give us things about what coming soon?
Teknium, you got this one. man.
Yeah. It was basically I saw Alpaca, and I wanted to make it like, remake it with GPT 4, and then from there and just pretty much exclusively included anything that was GPT 4 only, and that was the beginning of the thesis for that. Going forward, though, We still have a lot of low quality data, I think, in Hermes data set that can be cleaned out, and then there's a lot of new data sets that have come out that I wanna start merging into there. also wanna move to something like chat ML or even Vikura format so that we can do some multi turn stuff. It's not very great, long chat.
Yeah.
Within within within the Hermes dataset, you know, a lot of it is public available stuff that's particularly GPT 4. Of course, Technium's massive GP teacher dataset. We also have a bunch of GPT 4 data we had generate that we didn't release necessarily just yet, as well as an instruction set that's particularly focused on tasks like Python, transformers, linguistics, very small dataset of that. That's inside Hermes that, you know, we don't really talk about much, but figure that we'll put some exposure to right now on the spaces. And yeah.
That's awesome. And so the previous Hermes was released on top of LAMA 1, and for many folks, know, obviously, they couldn't use this for different commercial points. And now that this model relates, what the models that you guys release, are you thinking about the license of them? And could you talk about, like, the availability of folks using them in commercial standing now that, you know, the the back of it is commercially available.
Mhmm. I think we have puffin licensed us MIT I'll have to doublecheck on our own own model. I think that's right, Curran, right, or Tech?
Yeah. I think so either that or Apache 2 point Like, if if the base model is commercially usable, you know, the stuff we put out is you're good to go. It's -- Yeah.
So And, like, in our announcements, I put in kind of, you know, one of the main things. It's it's commercially available. the first Nous as far as I think yeah. I'm pretty sure it's the first commercially available Nous model that's released, and a big differential data from Hermes is the fact that, like tech was saying, Hermes is pretty much all single turn data. And it's surprisingly can do pretty decent at multiturn conversations when you actually use it. But then puffin is almost kind of, like, a 180 where it's a vast majority really on context multi turn data.
And oh, I think can you guys hear me so? I can hear. Okay. It's just something's up with that. Okay. Yeah. So puffin is a vast majority, multi turn data, GPT 4 specifically, and a lot of it is actually real human conversations with GPT for that go on for some of them 4k 6 k context, like, even all the way up to the max 8 k context length of GPT 4. And then we took those few thousand conversations of real humans interacting with GPT 4. And now after that, I'm not sure if you've A lot of people probably heard of Camel AI.
So they have the physics, biology, chemistry, and mathematics data set. And then within those, there's a bunch of subtopics that you can carry it through. And I just pretty much spent a good few days curating just handpicking the right subtopics, like differential geometry, logic problems, optimization problems, a bunch of different GPT, for examples, and responses from those different subtopics. And then I specifically added those in certain ways to the puffin dataset.
Awesome. So just just looking for the audience maybe. The puffin model that I think the official name is the red redmon puffin 7B or, sorry, 13B. Yes. This is this is the model that you guys fine tuned, and one of the first is maybe not the first fine tune of llama v Two. that's now publicly available, like you said, maybe with MIT license on Huggingspace, and I think you even added the GGML quantized version. Correct? Mhmm. So and so folks can can go and download that and and already start playing with this. And so first of all, thank you for contributing to the open source. That's great to see. And the speed with which you guys are fine tuned on this is also great to see.
And maybe now that we've introduced this, maybe this is like repeating a bit. So could you speak about the the difference so the difference is the in the data set, in the task that you fine tune? Like, what is the actual difference between the Hermes or the Hermes that's coming out and the Puffin model? What would people use them for differently? Is that like that? That's a question.
The profit model definitely be better at multi turn stuff. That's for sure. Yeah.
So if you want to do anything like OpenAI I'll I'll paste the link above the GGML version of it because I I really I'm I'm gonna test it thoroughly, but I I really think because you guys have use GPT 4, high quality, multi turn conversations, then this can have actual, like, practical use for whoever else was to use it either as, like, something that tells you about the documentation on the site or walks a user through. In other words, this should be better than Hermes then in for, like, customer service stuff, which is just one example.
Anyway, yeah, I'm gonna try. I'll I'll paste the the link above.
It's it's likely better for production use alongside, like, stuff that you have with, like, a retrieval pipeline, like, with lang chain, etcetera. Like, I I would believe that without to get it, you know, or just talking, of course. But, you know, there is even though, you know, with this Lima tech unique of of small examples where we can get, like, a a really good really good model that does really well.
The thing about Hermes dataset and just its size and the various types of data and topics that are in there, I think you get a totally different like, role play or storytelling experience or completion experience with Hermes. Personally, I feel that way.
Awesome.
So and that. Another thing about Puffin Dataset is that it does go up to, like, 8K and Enrico here. has been doing a ton of work on extending Llama's context.
Right. So I wanna I wanna give an introduction then introduce Enrique and and talk about this real quick. Right? LAMA version 1 was released with, again, 2,000 tokens in the contact window. And then many folks, including KaioKendev, and Emozhila. Right? And and some other folks, I think, were involved in bringing some of the quote on quote tricks about what eventually ended up being named rope, scaling, if I'm if I'm not mistaken. And we follow this, and we've talked about the previous news ThursdAI, I. And Llama V2 was released with 4000 tokens in the context window.
And, you know, we're now still used to kind of Claude and the 16k GPT 3 that four didn't seem like a lot. And then many folks were wondering, and, meanwhile, Enrico was working, whether or not the rope scaling method would apply to the next plumber and look like it did. And so I wanna introduce Enrico uh Enrico Shippole. I hope on staying this right. Welcome to the state. Hopefully, you can unmute and and this place works with you. And The second finetune that I saw rest of the was also back with Nous, the Nouse research, and this was the extended version, what's called Longma.
So Enrique will go out of the stage and feel free to introduce yourself, your affiliation with news and LlongMa with with the context window.
Hello. So I'm actually a independent researcher. I'm sponsored by Stability AI, Eleuther AI, and a few other different organizations, including NewsNow. Awesome. I work with different people like Tanishq from Medark, Aaron Komatsusaki, who also is from a Luther and Duck AI. John Ney from Nomosai. So I I have a I have a lot of affiliation with a bunch of different organizations. including together. We're starting a project right now with them.
That's that's so great to hear, and so welcome to Thursday. Welcome to this day. And can you talk to us a little bit about kind of the ROPE scaling method and and how how were you able to, like, find them like this quickly and how the results looked so far? I wasn't able to run this myself. But hopefully, yeah, talk to us about Okay.
So initially, The the thing is I actually was hoping that both Emozilla, Bowen, and KaioKenDev would have been able to make it because It was kinda like a equal parts effort on, like, all fronts from each of us. Initially, I had trained some pathways models at 8,000 context length about 4 months ago based on the exposition paper, which did rotary embedding scaling initially. They were one of the first people did it. They based their methodology off of ofer presses alibi.
I would imagine that most people are pretty familiar with Ofir Press in this work on the alibi positional bias that's been used in a wide range of models now. So Emozilla and I came into contact based off of the work that he had seen me doing with the Palm models scaling those to 8000 context length pretraining, not fine tuning. So what we had initially done is basically take a section of c 4 in different data sets that had examples that were all over 8000 context length that pretrained on them packed together.
with a beginning of string and end of string token to help with, like, the attention masking portion of that. After he had seen that, Emozilla actually became into contact with kaikode dev I believe Kaiokendev is how you pronounce it. Kaiokendev had also been following Ofir Press's research. He had started working on his own version of scaling the rotary embeddings, I believe based off of both alibi and exposition.
And what he found is that by scaling the max position all embeddings and the rotary embedding from something like 2048, which you would initially train with. He scaled it up to 8000 or 8192. And he found that by applying, like, in interpolation to the encoding by scaling basically like the the positional index in the rotary embedding, that you were able to essentially turn down the frequency window and rope by like a factor of 0.25.
The scaling depends on the length that you're trying extrapolate to and the initial context length that the model was trained with. So if you were training with LAMA 2, which had an context window of 4096, and you wanted to do the linear interpolation positional scaling to something like 8192. then you would use a scaling factor of 0.5. If you were trying to do it from 2048, which is the original LAMA was trained with, and you wanted to scale it to 8192, then you would use a scaling factor of 0 point 25.
So basically, after we had done all of this, Meta had released a paper around the same time that Kaiokendev had released his blog. They both found very similar finding. They had shown in the meta paper that you only had to fine tune for 1000 steps with the linear positional interpolation scaling to be able to get the benefit of doing a full pretrain at a context window of 8192.
So this is actually like a a big step because it shows that you no longer need to pre train right off the bat at a longer context length. Then you're able to do the fine tuning on essentially a a lower resource like, computational budget and still be able to get the, like, greater results of the longer context window. I know a lot of the major AI companies had been doing just for my work in in personal research with many of them had been doing staged scaling of the context window during training.
So they would pre train basically, when pre training, they would separate the initial examples from a dataset into multiple stages.
So anything that is under the window of 2048, you'd separate from the initial dataset then you take things between 2048 4096, then 4096, and 8192, and you would basically chunk the data sets into those different parts you'd first initially train on the 2048 chunk of the data, then you would train on the data between 2048 and 4096, and then you would do the same thing from 4096 to 8192, or if you want to scale that to 16k or 32k context length.
But what we have shown now with both the meta paper and this thing, you don't even need to go through that extensive pretraining and staged process, you can just go from a context length of 2048 to 8192.
scale the rotary embeddings by whatever type of factor that you want to use. So like I was saying, if you're going from 2048 to 8192, you'd be using a scaling factor of 0.25. It only needs 2 lines of code to be able to do that. In the LLongMa post, I had provided an example of scaling the rotary embeddings. The the code was written by Emozilla or Jeff.
We also came into contact with after all these experiments we then came into contact with Bowen, who had worked a lot about the dynamic NTK scaling with Emozilla, and he had also done NTK by parts which we're we're currently training a lot of models on. So we have the Longma 1 models trained on the open llama series, like the suite of those models that use the linear interpolation scaling.
We now have the llama 2 models or the longma 2 suite, which is what we're calling it, again, trained on the linear interpolation scaling And then we have another suite of models coming out very soon that uses the the NDK by parts dynamic scaling. That was really specialized by Bowen, so I do not wanna speak on his behalf. It'd it'd probably be good to get him to talk about it in another one of these.
Absolutely. So let's get in touch after this and and and and set it up. So Thank you for the a very in-depth kind of explanation because we did cover the the the kind of the RoPE killing and how Kaioken in the image boards are ready to wherever he started this in his blog post, and then how it's gonna rotate it. So it's great to to actually hear from the folks who are doing this. I just for the audience, I've attached Enrico's tweet about LLongMA 2, which is now currently trained at AK contact length.
And and Rico, you told us that we may see even double from the So could you think about the next the next version?
Okay. So the the initial training process of doing this up to a context, like length of 8192, can be due with be done, basically, with deep speed, 02. and activation checkpointing. And you're able to fit the model on a A100 80 gigabyte node. Now, we are working on the process of scaling it both to 16 k and 32 k. This requires a different methodology during training, you either need to use deep speed 0.3 or fully sharded data parallelism.
Both of those are are very similar for people who aren't aware. Basically, you're just sharding the optimizer states. The model states across, like, different nodes. You can also use things like tensor parallelism to help with the scaling as well. And then we're going to be basically just adjusting the scaling factor again, collecting a large we've already collected large quantity of data at 16k context length, and we're going to be doing the fine tuning to 16k and be releasing those models Soon, all of this computing is sponsored by stability AI.
They've been very generous what helping with a lot of the independent research.
That so I wanna shout out Stability AI for not only given, you know, the world's stability diffusion, also participating in this kind of next wave of AI. Many folks kinda coined the stability AI moment when released the the stable diffusion of the. I wanna say 1.4 back then almost a year ago now, and many folks are saying the about the Llama 2 release now this commercially open source, and and folks can start, like, doing things for you know, for profit companies can join So we definitely wanna shout out stability for for the effort here. And, Enrico, thank you. And, folks, please follow Enrico, and and we'll stay tuned.
I wanna ask Karan and and Teknium, and other folks from Nous the efforts that that Enrico was talking about. the longer context windows. How would they kinda interplay with the stuff that you're working on with Hermes with with Pufin? Are are kind of the efforts interchangeable? We're gonna see building a top of each other?
So I I think LDJ can definitely speak to this, but I'd like to happily say that once we did Longbow 1 on the 1st Llama generation of models, we already had puffin 2k, 4k, and 8 for that -- Yeah. -- already prepared and ready. So as the LLongMa models for 13B are released, we will also be doing equivalent, puff in fine tunes, and Potentially Hermes fine tunes. We can talk a little bit more about the future of Hermes at a a little bit later, though.
Yeah. I mean, I was pretty much going to say the same thing, but kind of elaborate on that about how before when LLongMa V1 and everything. And during the development of LLongMa, there was actually, like you know, of course, me Enrico who are usually just called concepts of mind and and and Emozilla. Like, we've all kinda, like, been butting shoulders a lot together and just kinda working closely, you know, in the same Discord and whatnot. And it's like, hey. Like, you know, working on this, like, experimental LLongMa with thing. Like, hey. You wanna try, like, fine tuning, and then the plan just kind of ended up being like, okay. Just gonna have this Puffin thing.
that Puffin dataset is already containing a ton of high context conversational data. from GPT 4 and, like, human high quality data. So it's like it's like the perfect fit to have something that's high context capable will be fine tuned on that. And then LLaMa 2 came out, and it's like, oh, Yeah. Let's let's get this out ASAP, and then we'll figure out what we're gonna do later.
Yeah. Great. And it's just great to see, you know, how many opportunities is like this where with open source can the stuff that we're able to now run and gonna iterate on are building on top of each other. They're just incredible. and this is maybe a watershed moment. And I I wanna thank all of you for being here. I wanna kind of let the other folks who usually hear on Thursday, I need to ask you a question or 2 for Nous visitors. Yam and Nisten, if you if you have a question for news or for Enrico, go ahead. I I will stay young.
I know you if you have to ask the super deep technical stuff, and the audience will, like it will fly over their I I won't be using the DM with LBJ and and Rico. But yeah. Of course, the stuff that we haven't covered and interesting tough news. Feel free as it pertains to LAMA 2 is gonna be very interesting, I think, for everyone.
Just to quickly clarify, you guys fine tuned the plain model. Right? Not the chat 1.
Yep. Okay. Yep. The base model. We wouldn't fine that model. The chat 1 at all.
Actually, to -- Yeah. The -- -- to maybe continue this stratigram for interrupting. Just one sec. To continue this question, the there are models they were released by Meta, and you have to, like, register and get the email and everything. And then they put some stuff on Hugging Face. And then the the those models were delineated with, like, dash HF. Have you guys use the HuggingFace or the Meta 1, and do you guys know the difference? I felt somebody that, like, maybe doesn't work as well and to inform her Yeah.
The one on Hugging phase is an FP 16 and the original Llama 2 models in bf16, but we tested the difference between the two models at Carper, and there's such a negligible difference in their quality that it's irrelevant, but we trained on the Hug and Face f P Sixteen ones, but in the f Sixteen ask them.
Sorry. Yeah. Goran, for interrupting. Go ahead.
No. All good.
I I totally forgot what -- That's not it. interrupted today. Yes, Randall. Okay. Nispen, if you have a question for Kiran to follow-up with feel free, and And if not, then, Yum, if you have anything that you wanna ask the the fine folks from Nous, feel feel free as well.
Yeah. Sure. First, thank you for what you're doing, guys. You're really making a difference for anyone. There aren't many demos online, so anyone that didn't try Hermes, I highly encourage you to try. I don't know why there aren't them. Okay. I know why there aren't demos that cost money, but just try it. Okay? And now I got a question because from my experience, if you train on the open datasets of Hermes, you get a significantly less quality of a model. No. Now I'm fine I'm fine if you don't release datasets. Don't don't get me wrong.
Just I wanted to ask, is there anything else besides the data that is different? What what tips can you give for, I don't know, someone else that want to train high quality model besides having high quality data.
Everyone understands this. Yeah. The hyperparameters can make key difference. LBJ knows very well because we had to do a ton of different tests. We don't have our freight owners for puffin model. But I'm not sure if those are on the model card for Hermes. If they're not, I can put them And Karen your card can probably talk about the Nous datasets that weren't made public.
Yeah. We've got, like, maybe around, like, 50 k items of data, like, versus, like, total 300 k instructions there that are not released. And to be frank with you about 45 k of them is just more GPT 4, like, alpaca style instructions. The 5000 or so, the, like, 4500 them compose this dataset we have we've been working on that, you know, at this point, I'm pretty comfortable talking about a we call it the p dactyl dataset.
I won't speak on everything that's in it, but, essentially, And I don't know if this is the thing that made the big difference, but it's, like, the the one place where I guess you deviate from just using the open datasets more GPT 4 instructions, but it's got some transformers instructions, some linguistics instructions, some calculus 1, instructions, etcetera. It seems to be pretty good.
Also, Yam, do you have links or anything to the models that tried it with just the makeup of the datasets that we're public from Hermes because I haven't actually seen that before.
And again, can you repeat that?
didn't hear. Do you have any links to the models that trained with just the open datasets from Hermes that you could share with me later?
No. No. It's just it's just from my experiments -- Oh, okay. -- on training. Pretty much following the same idea of let's take only GPT 4 from all the open datasets, and the the model that you get is is different. for sure. And and it might be that hyperparameters, you know.
Another thing that we did too is pretty extensive, like, cleaning. We did do deduplication. We removed things like a URL. Like, any response that had a URL in it, we removed in case it was gonna like, hallucinated URLs. Instead of, like, maybe 8 different filtering processes too that might have made our data quality higher.
So as an AI language model?
For anybody -- What do you say? -- for anybody in the audience that hyperparameter meters are are just like the settings in the oven. So it it looks here, like, the ingredients were all okay, but yam mess something up, and before selling as a token -- Yeah. -- came out half baked at the model.
So we're gonna have to check that out. I'm a big proponent personally of hyperparameter optimization being underrated right now, like, in -- Yeah. -- the current space. And that's something I've kind of focused on a lot specifically for things like puffin and just trying to help others around and use some stuff like trying to optimize they're doing, and even just something like like what you just said about the settings for the oven, I mean, double the amount of time you're putting something in the oven, and it's not gonna come out twice as good. It's not even gonna come out 10% as good. It's gonna come worse. You know?
And although it depends, like, what is your baseline for how how much time you're putting it in the oven and all these different variables that kind of are dependent on each other and affect each other. So it's definitely something you kind of have to build an intuition about to some degree. And then the other end is really I feel like there has to be more investment and more time and energy invested into actual tools that make hyperparameter optimization easier for people that are doing these things.
Yeah. Yeah. And the thing is that the models are are really big, so it's really expensive to run them. So you have you have a trade off of how many how much computer you're investing in searching hyperparameters rather than actually using it for training. But but I completely agree So one one last question, actually, too.
Actually, one thing before we go on. Something great about the puffin dataset is that it's just like, 3000 or so examples, I believe. And so it makes tuning a lot less expensive because you can finish the whole training in just a couple of hours. So, like, with Hermes, if we wanted to try full ablations and dozens of them, it would take weeks weeks to do.
Yeah. Yeah. Well, to be fair, it's not like it only takes a couple hours on one GPU. We use a a 100 80 gigabytes. So Yeah. Yeah.
Courtesy of Redman.
Thank you, Redman.
Mhmm. I should also probably clarify that when doing the context length, extrapolation, We're doing it on 1,000,000,000 tokens and 64, 80 gigabyte a 100.
OOf Mhmm.
Yeah. Yam is getting over excited. Alright, folks. I wanna -- Yeah. Yeah. -- maybe maybe ask her on this one less and we'll move on to the the the regular ThursdI update camera cadence. But I will say that, like, folks from Nous research and and Rick and and some other here. Thank you so much for coming up and giving us kind of the insights into how this actually happens. Lama2 just released, you know, a few days ago, and you guys are already pumping out, like, open source fine tuned models. And it's great to see. And just so you know, there's always a stage for you here to come in and and announce things.
And If you do wanna announce, like, a release or something, maybe just, you know, right now, Karan and and Teknium and some folks, I would love to hear like, when the next Hermes is coming?
Before we say that, I just would like to clarify something about Hermes. So we have the original Hermes dataset on LAMA 2 as something that we will release, but also a sequel to the Hermes dataset, Hermes 2. There will be a distinction between these 2, and you'll see you'll see the the the prior come out first and the latter come out after. But as for release, etcetera, I will absolutely let Technium take the stage with those final words.
So the training is nearly done. At least it was about 2.8 epochs out of 3 a few hours ago. So it might be done already. Before I release it though, unlike puffin, I didn't we wanted it puffing out, like, same day that llama 2 came out, so we didn't run any benchmarks. And we had to put all the compute we had on Hermes immediately after we were done with that. So we don't have any compute to do any benchmarks or puffing until Hermes is done.
But before I release Hermes, I do wanna do, like, a full range of benchmarks and stuff like that to make sure everything's good and have a pretty detailed model card, but that should probably only take the rest of tonight at the most. So probably tomorrow morning would be when Hermes comes out.
That's some folks. And you you heard it here first and definitely follow Teknium, Karan, Enrico, LDJ, and the rest of, like, Nous Research folks, and stay tuned. Enrico, go ahead.
Yes. I just wanted to to piggyback off of Teknium comment a little bit. So we did do pretty sense of the valuation of the Lauma 2 AK models. We had run different things on perplexity using Gov Report in a couple different other data sets to make sure that the length extrapolation in the context was working properly. We did passkey retrieval. We also did a lot of extensive human evaluation, which took a little bit. I had wanted to get the LAMA 2 AK models out yesterday, but we decided to push it back one day.
So and what we were doing is we were feeding in research papers and seeing if it could pull out even, like, relevant pieces of information from the context length. And so far, it has been quite successful. So we're we're still running more evals, but the ones so far have shown that there's been, like, no performance degradation, no matter what context length that you're basically using with these extended models.
That sounds great. and now that this this, you know, LLongMa lies out and the next versions are gonna come out as well. I'm sure that some other folks who also contribute to this research and tell you, like, from their own experiences and vibe. So, yeah, I wanna thank folks. Again, this has been very illuminating, and very glad to have you. And, obviously, the stage is yours whenever you want to come here, and we appreciate you. And you guys are welcome to stay tuned and kinda chime in to the rest of the updates. And with that, I think, for folks in the audience, we're moving to the next thing. And the next thing is a little heated, and so I would not talk about this. a little bit at length.
There was a research from Stanford, and I think Berkeley and talked about whether or not VPT 4 is getting dumber. And then Basically, the whole Internet Explorer is kinda died down around kind of the llama time because everybody was busy doing something else. However, I saw multiple talk talking about, like, a degradation of capabilities from 90% to several tests to 2%. Right? DVD 4 was the the claim was that back in June, the June models. I'm sorry. The the March the previous ones were able to do some stuff with 90% accuracy, and the newer drone models are now doing the same stuff with 2% accuracy with, you know, did not sound correct.
And I will pin the tweets for the actual paper. The paper came out from, I think, Stanford and Yusti Berkeley, and it included Mate Azaria, the studio of Databricks. And we've known about Databricks. We've talked about them before, They just acquired Mosaic ML, and they now have, like, a huge AI kinda inference in training arm in inside date of birth. And many folks who were staying the same, both in these places and other places as well, said, oh, see, I was right. Like, I knew that it's, like it's gotten worse. I knew that DPT 4 has gotten worse. And so this kinda made the rounds a little bit.
And then 2 folks from the top tech that I strongly recommend you registering called AI Snakeoil, TIA Kapur and Arvin Arvin Narayan NAN, they did a, quote, unquote, peer review almost live the the second that tapered dropped, and they looked into the methodology. And this is something that I want to kind of add here a rebuttals, so the folks in Thursday, I will get kind of the the the actual stuff and not just the news as they spread virally with with with people in Thursday.
Apparently, the the that paper identified kind of two places out of 4 in which the the a quote unquote degradation in performance and capabilities. One of them was math, and one of them was code. And I wanna talk about this the the the rebuttal the folks from the AI Snake all wrote, specifically around the 2 tasks that quote on what seemed to be less performant. So on the map piece, They evaluated the research on both the previous models, the the March 1 and the newer June 1 on both BPT 3.54 by asking to know whether or not a number is a prime number or not a prime number.
And they've that's when they got to the 90% different. And the the folks who kinda did the rebuttal noticed that they actually didn't go all the way, and they didn't didn't ask the previous models to also to do compound numbers, something like that. And, eventually, it felt that they just didn't test this this capability well enough. And both from the previous models and the new models, this capability is stuck. Like, both models, the previous ones, and the new ones, they're just like they're really bad at this specific app. And and, you know, the folks who come here on Thursday, I probably can extrapolate white.
Those models are not running any kind of code to to to figure out if a number is a compound number or a prime number. They're just doing sequence kind of prediction, and the previous models, for some reason, favored prime numbers, and these last ones are favoring when you just ask them to auto complete, they're favoring compound numbers. But to tell us that the questions they asked were only about prime numbers, and that's why they saw quote unquote degradation of of performance whereas none, such degradation kind of existed. And they did, like, 500 questions. All of them were prime numbers, and they asked the the latest DPT 4 to tell us whether or not this is the prime number, and it failed.
But the previous ones failed at compound numbers. So the math piece, the you know, this was one. the code 1, some folks started noticing that the code evaluations they did, actually, the main The main metric on top of which they evaluated performance degradation was whether or not the code that they get back, from the same prompt runs immediately in Python. Executability of code or something like that they called it. Right? They they had a bunch of prompts that that asked GPT to generate them code, and then they immediately try to run this.
The prompt that they use on the the March models returned just the code, and on the dual model's latest one, it returned the code within, like, back tick per markdown. And when they try to obviously run this in Python, it failed because, you know, back tick they they break the code execution, and this this is what they highlighted as the gradation of performance.
but looking at the actual code, they didn't evaluate the actual kind of quality of the code that was returned, and this This metric went hard into their kind of summary that that the GPT 4 is the graded performance, And the folks from AI SNACLE drove into this and showed that, like, there's no degradation of performance per day. There could be a difference in behavior because these models train differently, and be the dataset or the the continued fine tune, move the stuff around. And I just wanted to put it out here. There is a paper.
It says DPT 4 is is lower in terms of performance, but exactly does not seem to be the case, at least not from this paper. So this is kind of the summary of the paper and the rebuttal. And folks on stage, feel free to raise your hands if you if you have tough to talk about this from your experience or after reading both the paper and the rebuttal. And if you wanna add some comments, definitely feel free. To me, the the test didn't go far enough. The the the code test was kind of upsetting that they didn't actually look at the code and just tried to run it, and then it failed. And then it was, okay, yeah, JUVITY 4 is, you know, is getting lazier.
Also, they had no filtering for stuff for when it doesn't answer the questions. So I I really don't agree with that whole benchmark There was this brief period of time where everyone did notice the drop in quality, but then after, it was fixed. And now with code interpreter, it feels like it's even better or at least close to original. So, yeah, I'm I'm not a fan of that paper. let's just put it that way. By the way, guys, really quickly to the previous subject.
I just added a a Google call up because I got Redmon Tuffin running right now, and it should run on the free Google call app for anyone that that wants to try it out. You don't even need a paid account for it. I'll add the Gradia UI a bit later. But for now, it's in a high RAM instance. It just switches the interim. And and, like, anybody anybody can can run it. I'll just I'll just pin it up.
That's awesome, Nathan. Thank you. And and for folks who don't know where this is, this happened jumbotrong and PolonNiston for trying out the FAFTER model yourself without having to run-in in different areas. Other folks on stage, do you wanna comment on the the gludation of GBT 4 from your experience and and from kind of this paper and the the the evaluations that they ran? I want to maybe hear from Roy if you talked about this in Yum! And and Karen and Technium feel free to auto payment. Although you guys were busy doing other things while this came out.
Right. So I just wanna say that it doesn't I don't really care about the exact methodology in the paper. But more so, I care about the fact that the doubled down ten times about the morals didn't change to to an extent that Sam Altman himself told me to my face when he was when he was visiting, the string, the exact string, the weights are the same. Exact string. Okay? That string. So it's fine if it changed.
It's it's fine if they did some optimization, but when the whole world notice something and clearly, now there is a paper that says, Okay, something had changed. Even if know, the measurements are not the same, it doesn't look good. Okay? Especially when they're paying customers, it's And and it's fine if don't get me wrong. It's fine if they do optimizations, but they they I think they should at least say something about it.
And I don't know what's going on with this now and and how how they are approaching it now, but I just say that he doesn't he doesn't Yam is not impressed.
That's what I wanna say. him?
Something related to this. Just Someone at OpenAI just announced that they're gonna be extending their support for the original GPT 4 model until June 13th next year. So that's, like, maybe 8 months extra than they were planning to before.
So Maybe that's in relation to this in case people think it's -- -- wanted to to cover this, and thanks for taking the stuff. So this paper specifically probably coming from, you know, the city of Databricks like a big company around this area. And many people talking about this, this paper kind of triggers some people, and some folks come open the eyes saying, hey. I think, Peter, I forgot his last name, the VP product chimed in. Yeah. We know Logan, the the DevRel also chimed in and some other folks, and they definitely started noticing that this is happening, and they started probably locally evaluating it as well.
The evaluation that led to these conclusions in the paper was not great, so we know this. So the paper doesn't show that this is actually However, as the result, as the response for this, and as a response for many people saying, hey. You didn't give us enough time, and kind of you're about to obsolete these models that we crossed, and our prompts are already running, and this breaks their prompts, etcetera, they extended the app dilution, kind of, the duplication period. taking him like like, taking instead to I I wanna say June next year, June 2024 or maybe March 2024, definitely higher.
Yep.
It's June 13th next year.
Next year. Right. So so -- What's gonna be September, I think.
And Yeah. It was, like, 3 months, and now it's it's almost a year that they will keep these models that you can pin, and you can ask like, in your code, you can pin the actual kind of model checkpoint and not just the general one. And this was one thing they kinda reacted, and it's great to see the reaction that they're listening. Yeah.
I don't know what's them told or understood from from back then with the models, with the weights, etcetera, but I agree that the change even in prompts for many people who are running them on production is definitely something that they they should consider, and I looks like they at least did, and folks will have, like, a year. However, from a perspective of performance per day, just is the GPT 4 able to do the same coding that as before?
It looked like the the prompting needs to change a little bit, but the capabilities are still there, at least until we get another paper that proves, you know, significantly with higher level of rigor, scientific rigor that it's actually degraded in performance. And I think having a a thread on this, I wanna introduce Nathan to the stage. Welcome, Nathan. Feel free to briefly introduce yourself and then also chime in on the the the performance degradation discussion that we've with just that.
Sure. Hello. Welcome. Thank you for the warm welcome. So I've now Nathan. I am basically totally obsessed with everything going on in AI and describe myself these days as an AI scout. So try to mitigate my business to have a good intuition for questions like this of, you know, wait a second, did GPT 4 really just get a lot worse or not.
And, yeah, I think basic I would say that the paper itself is frankly fairly embarrassing in that if you are just blindly executing code in a way that a random chatGBT user you know, and you're failing on something that not cause trouble for a random chat GPT user, then, like, you should up your game in the research process, it would not have been very hard just notice and strip those markdown ticks, and then, you know, you'd get better results as the kind of rebuttal paper suggests.
So I definitely think blind, Ben, marking is the source of a lot of confusion. This seems like a pretty flagrant example, but there are definitely plenty of years. One big one, I I put a thread out about this as you mentioned today. Another big one that I've seen historically is just using antiquated prompting techniques Big Bench does this in their kind of default implementation. And, you know, I've seen a lot of people just do it in their own ad hoc implementation. you think, for example, oh, if I do, you know, a few shot prompting, then that'll be good.
But if you're doing that against a modern state of the art model that's trained to use chain of thought reasoning by default, and you set up a few shot example where it just has you know, for example, answer a multiple choice question straight away, then you're gonna dramatically undermeasure you know, underestimate its performance. So that kind of stuff is definitely something to watch out for. And I think OpenI, you know, I I think that the statements that they've made are still compatible with the idea that they are not changing the models without telling us?
Because even in the paper in question, they are still calling the 2 timestamps, as I understand it. As, you know, as you noted, Alex, like, You've got the March dated version. You've got the June dated version. I believe the default GPT 4. Once they introduce a new version, it stays the old version for, like, a month or something, and then it it kind of automatically flips as they're trying to just automatically great people, but you do still have the option to go back and keep your older one for a a period of time. So I don't think we've necessarily caught OpenAI in a lie here as far as I can tell.
I guess my maybe you know, big thought is, like, you should not expect GPT for performance to get worse because they do have a of benchmarking, and they are very good at this. But you should expect random side effects and changes. And I think it just it all kind of goes to show that measurement of this stuff is hard. Validation is hard. and our understanding of exactly what is happening when we when we apply these various optimizations is still pretty crude.
In this case, it seems like overall performance improves. OpenAI is able to measure that. they I think they know and just accept that, like, in the course of that, in some certain things, they make it worse. In some this one of these is an artifact. But, like, the prime number 1, I don't think, has been debunked as far as I can tell. That one still seems to be like, maybe I missed another update. But as far as I can tell, it does seem to be worse at identifying prime numbers. OpenAI probably just doesn't care about that because it's not a really good language model usage anyway. Yeah.
And we have seen other things like mode collapse would be the thing to Google to look into sort of weird side effects of r l l a RLHF thing. It seems like some of that is happening here. But, anyway, for me, it just kind of all cashes out too. It's hard to measure. There are these weird side effects. We don't really understand what's going on. And yet, you know, we have enough of a command of what's going on that we should not expect GPT 4 to be getting, like, dramatically worse. So I'm proud to say I had a low I put low credence into that claim, you know, when I first saw it, and sure, stuff -- Yeah.
-- it turns out to be false. Thanks thanks, Nathan, for for in-depth analysis on this as well. I I will state it before we we get to Nissan real quick. I will state that, folks, if you want, like, a 100% repeatability, the stuff that Karen and Tecnium and Enrico and, like, the stuff that Llama gives us, this is the way. the model yourself, run it yourself, nobody's gonna change it on you unless you change it. And so you'll get the same prompts doing the same things. know, hopefully, with temperature 0 all the time. Go ahead, miss them, and then I think we'll we'll conclude and move on.
Okay. So I'm gonna speculate a bit why that all happened. I run benchmarks with thousands of medical questions. And, again, as Nate I said, if you have your prompting setup right, you're not gonna really notice that much of a difference.
What I did notice was it got a lot faster at that point, and then people started saying including myself that once in a while, it gets us something bad, and I think pure speculation that something changed in either the sparsity settings or whatever they're doing in their mixture of model, or the prompting was just leading to another expert model that was not that good at at coding. So it could have been either of those that it was following the system prompt more closely, and the system prompt was not coding related. And then when the code question was asked.
It was just routing to a model that was not that good at coding. So that's my first speculation. And second one is the sparsity settings They run it faster. And, yeah, I don't think the weights are, like, the stuff changed because often, it would just halt. So, yeah, that's about as much as I have on that.
But now with -- I will I will also have a news that we've some of those you and me before, it looks like the the paper, the kind of the the the gradation of performance paper, they evaluate this in the chat UPT interface. Am I am I wrong there? I don't think they used kind of the the API or something. And if they did use it only from the interface, Open AI kinda, you know, our favor, runs all the prompts through the kind of the moderation endpoint, and that can change without the weight of the GPT 4 models can change as well. I'm not sure that this is how they actually evaluated this, but I I followed up with with the folks who opened the INS like, hey.
If you're pressing models, will you be able to give us, like, a frozen version of the moderation API as well to be able to replicate everything? Moderation API for those 2, if you don't know everything in Chesapeake runs to that moderation. So if you ask, like, you know, different things or do different jailbreak, this moderation will stop the prompts from getting to the model. and you are actually able to use this for free. They're not counting this against your token or API usage. If you do want, And they said that maybe the moderation API also runs models and will also kind of be pinned at some point. Now that thinking about this the UI doesn't let you choose between the different models, the previous June ones, though, probably, they didn't do this via the UI.
Yeah. Just really quickly, Phil. If you're gonna write anything academic, make look up how to do a query. What's the moderation engine? I think now it's, like, text dash moderation dash 5, version 5 or 6, like, include that in your paper. Like, make it reproducible if is pretty basic stuff. You don't have to be a high end researcher or have even finished school to to know. Right? So Yeah. Anyway, disappointing the in what the paper said. But, again, agree that it did drop at some point, and now it's back up. I think that's about as much as we can Chris.
Yeah. Right. So with this, I will since we're already talking about OpenAI, close the loop on the last thing that was released today on Thursday, OpenAI gave everyone who uses the interface, the ability to have custom instructions. Right? So if you haven't seen this yet and you are paying for OpenAI, I think this one, they will release for everyone, so not only for paid folks. you are now able to do custom instructions. What do custom instructions do? Essentially, it's the prompt, or I think it's two prongs. One of them is, like, the personal 1, and one of them is the the how how would you like the model to respond?
So there's, like, 2 text areas in the DPT interface now that you can add that in, and we we can talk about all kinds of stuff that we can add there, and I would like some other folks in place also to kind of contribute to that. which kind of stuff, which kind of problems. But you cannot promise there, and then every new session that you open in the HR PPT interface. Right? So this doesn't apply to the API. It only applies to the interface itself. Also, on the mobile, it works. Right? So, like, it works on on your mobile app as well. They will inject this prompt into every statement that you have kind of on behind the scenes for you.
Examples photos from that I've seen and examples that OpenAI gave, some of them are, like, your location, or if you're using cacheivity for coding or, let's say, we've talked about NISTEN and YAMN like some other folks about the code interpreter part. So you can ask you to do some specific things via, like, via the code, like, do you prefer? Let's say you, like, react, and you don't, like, or you like a specific version of React, and you keep telling the TEGPT kind of UI what you're preferring, you can now put this in, like, one placed. It will be saved. You can edit this. You can see this is applied, and I think it's the great extension of the interface. I don't think I've seen this in many other places. I've seen this in some open store.
I think type in mind had some of this, but now we're having what's called, what they call, custom inspections. Basically, what we know is prompt injection. So with that, I wanna say, if folks ever already play with this or have ideas about what to add there, I still really feel free to chime in about this feature.
Yeah. I actually used it today. I think it's really great. I code with with strategic deal a lot. And so just having, like, a bunch of instructions as to how I want my code to be it's very helpful to just, like, save a lot of time that yeah, you have to mess with GPT to basically reiterate every single time how you want the code to come out, etcetera, and then it this up, and it seems to really take take those instructions and use them and every response, which is very nice.
Yeah. It's really great. I wanna introduce I wanna say hi to Art as well, up, and then Starke, you're talking about this as well. What is your use case for the custom instructions?
Yo. Yo. Thanks for the invite. I got a mouthful of ramen right now. So I'll chime in in a bit.
Thanks, though. Alright. If if we're still on topic, feel feel free to join in. Anybody else here? Todd, Nathan, maybe, or or Nysten on YAM, what can we use these custom prompts for? If you say jailbreak, I will agree with you.
No. No. No. Jailbreak in asking. Is it just the system prompt?
I mean, what do you think? It is essentially just the system prompt. Right? But it but it it just makes it so that I mean, for me, like, the experience was that, you know, when you give it an initial prompt, right, it would get lost in in con within a really long context. And it seems like they've done something to potentially inject that into every every interaction.
So it's a little bit beyond that.
It's, like, consistently throughout.
Yeah.
Yeah. So that's interesting. And we know that the previous versions, the March versions of GBP 25, weren't looking at the system prompt as heavily, and I think they also kind of did some updates to the steerability of the of the June models. So even the 3.5 will listen to kind of the system from better. So that's interesting to kind of test a little bit. And I know that some folks who have a jailbreak, quote on a call jailbreak, don't share them with because OpenAI will nerf it, but some folks are already kind of jailbreaking by default. Right? So, like, the imagine, like, you don't have to paste the jailbreak in.
It's just, like, the model that you get immediately is, like, acting as you want. Not that there are many jailbreak left, but there are definitely thumb. Yeah. You -- Yeah.
You -- You can just add it. It it just depends now. to the system prompt. So, yeah, I was able to do the whole prompt injection thing and actually get system prompt again and verified it with past months. So they haven't changed it much. They've doubled the execution time for Code interpreter to a 120 seconds, and they just tended in the end. They say user profile, and then they add your user profile, dot.dot. And then it says the user provided the additional info about how they would like to respond, and then it asked the the other 1500 tokens of of that. But that's interest.
It allows up to 6000 tokens to append to the system want. So you can add quite a bit in there. And I'd I'd be interested to see what people come up with with, like, very long initial system problems too. Maybe, like, you can give us some data, like, parts of your code base or some kind of your your creative writing style, if you wanted to keep writing like you, that that stuff should be interesting to see what you've come up with. We yeah. Again, you can put up to you can add up to 3000 words on it.
So I will add to this that we saw the with code interpreter, the context window for Chargebee T kind of UI, it killed those 2 to 8000 tokens. And the prompts, the the custom instruction prompt, both the personal user profile and the kind of the response preference, all of them get added to the contact window. as far as we know currently. And there's not, like, anything special here. It doesn't state tokens or anything, so it just gets added to this different prompt. However, I think that previously as users on the chat deputy interface, we didn't have access to the system prompt, and system prompt is heavily more biased.
Like, the the models are more to to listen to the system prompt because that's where, you know, Open the eyes says, hey. You're an open AI model and, you know, try try to be very nice. Right? So now we're having, like, a more direct access to to how we are experiences experiencing these models. And maybe the last thing I'll tell you is I think I said this before. It already applies to the code interpreter and the plug in models. And so you if you have interactions with plug ins, if you plug in developer This definitely is the helpful thing that we currently have. Go ahead, Yan.
Yeah. I just wanna say, for those who are curious about how how to make models follow a system prompt. I'm not gonna go into technical details, but on on the new paper of FLAMA 2, there is a section exactly on how they did it. it's really interesting. So those who did not read it, go read it, it's fine.
It's a good it's a good thing. After we finish updates, I have a little a hot tip on how to actually interact with Llama. I think somebody found the system prompts and instruction prompts for for Llama and actually and somebody that somebody was very loose from Llama in the So I'll go find that with after we finish talking, but, definitely, it looked like Llama is also improving in that regard. Yeah. I mean, is that what you're saying? Right?
The system prompt is getting better. Go ahead.
That was okay. Yeah. I was just going to say, have you guys heard about the whole, like, Chai GPT data in the pretraining?
The sorry.
Can you give repeat? Have you guys I'll I'll, like, complete the lesson. Have you guys heard about chat tpt data being in Llama 2's pretraining?
That's only in the chat model, though, where -- Well -- -- as an AI language model, or is it in the other one too?
So, actually, back. So in their paper, they say up to September 2022, I think. It's the cutoff date for the pretrained model. And then they they said that's what they do for pretraining. And then they don't use the word fine tune, but they use the word they say, like, tuned up to like, 2023 or something. And so, yeah, I'd like Chad, obviously, didn't exist during or before September of 2022, so the pretrained models shouldn't have any chat to PT data if that's how we're gonna interpret that part of the paper.
But puffin I was inferencing confident doing some experiments with it, and that's fine tuned on the Alama 2 model. And sometimes, I would catch it saying, as AI language model, and my knowledge cut off date is September 2021, which is exactly what Chachi Preeti says. and I'm like, wait wait a second. I'm pretty sure we've cleaned out anything that says anything remotely like that out of puffin, but let me, like, double Let me triple check the dataset. So I checked the puffing dataset. Those it never says anywhere in the puffing dataset. So the phrase September 2021.
It never even ever says knowledge cutoff or as as of cut off or anything like that. So I feel like it's pretty conclusive. Like, I'm pretty convinced in the pretrained model. they did have data way past September 2022, which must have include chatgpt data.
Yeah. Very interesting. Thanks thanks for pointing this out. And, folks, if you are in the audience, you wanna play a little bit with this as well. You notice this as well. There's no tick thought I thought you're on mute. Go ahead.
I was just gonna say that in puffin model also, we found that hit new very specific details about, like, LBJ can probably speak about the more specific examples that he wants to, but there was, like, he asked it what happened like, what did significant events happen in February of 2023, and it came up with some earthquake and got the exact magnitude, location, and date right about something that happened in February of 2023. So it seems pretty clear. because that wasn't at all in the examples either in the dataset. Yeah. So I -- -- keychain the model and something of this year, not not where they claim it.
The pretraining data ended. Yeah. Exactly. So pretty much I'll when I was doing puff in or doing the puff in experiments, like, what Techne is referring to right now is I brought up something about did any significant natural disasters happen 2023 or something like that. And one of the things that brought up was specifically 7.8 magnitude earthquake, February 6th the border of Turkey and Syria. Like, that's a very specific time and location. And then I look it up, and that's the exact time and location that the 7.8 back into the earthquake actually happened in Turkey in February of 2023.
And then I checked the puffing dataset just like I was talking about earlier. and I, like, double check the puffing dataset. There's no example or piece of data in the puffing dataset that even has the word turkey in the same conversation as the word earthquake. So, yeah, do with that information what you will.
So so, basically, it's not new information that you've added. This information was in the base model, and and it knows about recent event. Right? That that's the summary. And, potentially, it knows about you know, 10 GBP could have been trained on some of that.
Yeah. So, I mean, my best running theory I have going is they what they really kind of meant in the paper or maybe they were just worded it badly is that they pre trained, let's say, on the 2,000,000,000,000 tokens on data up to the September 2022 cutoff. And in the paper, they described that the the training lasted from I think, like, it lasted up to July of trying to make through something like that. And so after that pretraining phase finished, I could imagine they probably then continued the pretraining just on a few billion extra tokens from 2023.
And that would make a lot of sense because anything relating to 2023 sure it, like, is able to have some of the knowledge but it's, like, way less reliable, way higher hallucination rate with anything relating to 2022. So I think that is the best fit.
That's great. Very interesting. And, again, folks, if you noticed all of the stuff and things in this, then you will all of those stuff that people, like, It does as an AI language model on on the Llama. Llama 2, those diameters. Definitely let us know, and we're gonna keep track of it. Right. So I think that it's okay to move on to the next thing that was huge also, but it was, like it was it was only on, like, Sunday, I think. So now it's almost a lifetime ago. We already forgot, but I think it's huge. And folks who've been to Thursday, I hear. No. Definitely, I'm very, very excited about I wanna thank Roy for for tagging me and some of some of this.
So when GPT 4 was announced and released in March, of this year, the presentation that Greg Bachman showed showed 2 models, essentially, the t p t 4 model that we know and love and, quote, unquote, better performance. and the GPT Corps with Vision. And they back then said, and Greg Brokman presented the Vision 1. Greg Brokman presented the JPT for a reason by doing 2 things. 1 of them, he uploaded a screenshot of the Discord server of OpenAI and asked the JPT to kind of describe this. And So so, again, just to be very clear, it doesn't run to, like, an OCR service.
GPT 4, the way they've released it is the only tech pro, but the way they've change it, or, I guess, it may be a different, like, SharePoint. It's both it's multimodal. It's it's vision and text. I understand them together, and the the exact information, the DBT 4 extracted from that screenshot was just insane. It knew all the participants on the right side. It knew there was a disco interface. It knew that, like, you know, The highlighted channel is the channel that people are talking about. It didn't just do OCR.
It understood kind of who wrote which message, and this would just, like, drop dropping and so far away from the models that we've seen before, and then they didn't release it. They didn't give anyone the ability to use the multi model. Hence then, we start multiple attempts with our lava that recently, by the way, lava has also re Pryntooned on top of LAMA 2, and Lava is also great. So if folks don't know about Lava, the open source go check Lava out, l l a v a, I believe. However, I wanna announce that I've been in that moment, I've been, like, very waiting to have division capabilities as well, and it finally now here, not from OpenAI.
So being being tagged the creative version, we know that it runs GPT 4 underneath. And they have been testing the vision models for for a while now with, like, 10% of hope. And I think this Sunday they announced, and now I think it's strolled out. to everybody who uses Bing. If you haven't played with Bing just because you you hit the Edge browser, I have news for you as well. There's a Chrome extension. You can run it in Chrome. But a big model now is multimodal. And there's a little icon there that looks like a little little camera, almost like an Instagram icon that you can hit you can either take a picture or upload the pictures from your phone or browser, etcetera.
And this will use the GPT for with vision capabilities, which is incredible. A day before that, Google Embark announced that they are integrating the Google lens in in there as well so you are able to now upload JPEG into BART as well. And I unfucked even here on stage, trying to kinda recreate and call based on a screenshot. They'll that go that well. So the differentiation between the 2, at least where I'm coming from, and as far as I know so far in the documentation, at least, to a free to chime in, is that Barge is not trained in multimodal fashion, but it doesn't understand kind of the the images.
They just send the image to Google Lens and have a and back, and this is how it knows what's in the image versus Bing is in the the actual GPT 4. We saw folks from Microsoft confirmed this. This is GPT 4 with Vision the runs. and you're able to dial, do some incredible things. Unfortunately, it's not in the API yet, but, obviously, at some point, this is coming. And I strongly recommend everybody to just try this out. The results are very impressive. I actually use the same screenshot of the same Discord that uploaded back in March into Bing, and I got, like, a very nice result back. Not as good as his for some reason. Maybe the temperature, maybe Bing does some things, but very, very impressive bill.
And the one thing that I also did, and then I wanna open up to to folks in in on stage with know how that I am about multi multi model and and vision. And one thing that I did, I was to hang out with my kid, and there was, like, food truck. I took a picture of a food truck, like, 5 with no menu on on the picture, and just asked being like, hey, what do I order? So it understood kind of that I'm talking about, like, this could work specifically, and it understood the name. It went, and Bing is also connected to the Internet, and we know that, like, open Rockdust, and there's no access to the browsing integrity, but Bing has access to to Bing's in-depth. So it found that.
PUTrak found it and then told me what's inside of the truck. And all I did for that is took a picture of the side of the truck, which is it blew my mind back when it happened. And all of this, like, insanity happened second before, Llama until, like, everybody almost forgot. I didn't forget. I wanted to tell you guys, please go check out the vision. The multimodality YouTube is already here. And folks on stage, if you played with the vision model already through Bing, feel free welcome, and know you're in the vision space. So introduce yourself and tell us what you think.
Hi. Hello, everybody. Yeah. I'm I'm Peter Skowske. I will for Roboflow, which is, yeah, a computer vision company from from US. So a few thoughts. First of all, I had a really great conversation on one of the conferences this year with guys from Microsoft. And it's it's a fact about the the model being showed on the demo, but then was not released to the public. So why is that why has that happened is because of the GPU shortage. So Microsoft is responsible, obviously, for providing the infrastructure Chad GPT.
And they didn't want them to release the vision model because the vision version of 54. Apparently, it's significantly more research heavy, and the inference in general some more time on the GPU. So they said, oh, we don't didn't didn't want it to release it to the public because we barely faced we barely were able to supply the demand that was generated by GPT, the text version. So they said we couldn't release the vision version because then we would be we would be screwed. We wouldn't have enough compute power to to support it.
So that was the parent the reason why they stopped and waited so long to to deploy the actual model. As for the most were released. I played with Bing just a little bit, so I probably want take too much time to cover this, but I played with Bart. And, yeah, it's Yeah. OCR is is pretty cool.
I tried with quite significant, like, quite hard cases, like, I don't know, reading the serial number from the tire, for example, which is not really the very hard problem, and you usually would build, like, a whole team around that use case to try to read those numbers from the tires. So that was impressive. That was impressive, I admit. But on the other side, Bart Fail like, fails to process images of people, and I tried to do it. It's quite weird. I tried to upload a dime, and I I'm not from US.
I have no idea who is on the other side of the dime coin, but there is a person over there. and it says, oh, I cannot I I will not tell you what kind is it because I cannot purchase images of people. So it comes beyond whatever you would like, you know, have some certain probably, it's because of GDPR or some other reason that is legal, but they decided to and and the cutoff happens before you actually get to you cannot jailbreak jailbreak that. I tried to do that the there is some sort -- -- thing. Right? Like, the -- Yeah. Yeah.
There is some sort of person detector that happens probably at the very, very beginning. So probably they look for people, and probably they you you look for content that is not suited in any way. Yeah? Yep. And they they filtered that out at the very beginning. So if they will detect that, they will not allow the model to even try to process the image. So so there is that. And a part of the OCR, many who were super hyped about image caption.
There were there were some impressive example like the one with the cut and the orange that looked like a neck, by the way, actually was a cut with an orange in the middle. And those were very positive examples. But man, how how like, the level of hallucination of that model is crazy. I mean, like, the first sentences. Correct? And then there are 4 other sentences that are pretty much made up.
Yeah. I mentioned as well.
Yep. Yeah. So so I can ensure you that there are open source models that do image captioning right now and hacking spaces that are doing way, way, way better job of captioning the the images than whatever BART is doing. So, yeah, that's that's my that's my insight. I would say, yeah, Bartus yeah. There there is some multimodality there, but, yeah, we are far from what we saw on the on the GPU demo.
Yeah. That's -- Go ahead, Roy.
and then listen. Yeah. I played with the Bing multiple thing. It's pretty impressive in terms of ability to kind of, like, recognize things that are going on in the picture and describe them and whatnot. I even tried, you know, to to see if it can deduce some things beyond just, like, telling you what the pictures are, like, what the contents of the picture is, like, I took a picture of my cellisto, which is kind of like a fire pit or whatever. And I asked I asked it to kind of, like, identify, like, the most likely brand that is even though there's, like, no branding on the thing, and it actually did a pretty good job.
So there's some logic that goes on me on -- -- clarify about the barge multi model? No.
No.
No. No.
The bing the big the big one. Yeah. So that tells me that there's there's more work that it's been actually done there potentially with, like, looking at, you know, not just, like, the the the caption, but rather the of content and the embeddings themselves in the picture. Of course, it makes, you know, still a mistake. spray. So, like, it sees a picture of, like, a I don't know. Again, like, a fire like, a a fire pit with fire inside and then you ask it, is it likely that it's raining? And it would say it's probably not rain it it's it it said it what to say?
It said, I can't tell it's raining because there are no indication whether it's raining. And it's okay. I mean, there's some indication. There's, like, some core basic, you know, common sensical things that are not quite there. But other than that, it's pretty impressive.
Yeah. Impressive boost in capabilities.
Go ahead here. can I ask a question? Because I tried to do it with Bing and with BART and failed. So I tried to go beyond image capture functioning and go to for 0 shot object detection. So 0 shot object detection is when you try to detect objects on the image without ever explicitly training on that class of an object. So I there are some zeroes of detectors like I don't know, grounding dino, for example, and you can ask about I don't know. Where is the tail of a dog, for example, and they will locate the tail of the doc on the image. And I tried to do it with BART, and it hallucinated.
It thought that it can do it and provided me with coordinates of the bounding box, but those were incorrect. Have anybody who done experiments with being tried to do detection of an object and actually try to ask for core the nets of some object on the image.
I saw Nathan on mute. Nathan, if you want to jump in on this.
Probably that, LBJ? Yeah. I mean, I haven't really done the specific stuff. I coordinate thing you were just talking about, but in terms of general, like, image recognition, feel like it is kind of, like, Yeah. It's not it's not there. Like like, it feels like it should be better or, like, there's something unreliable about it, you know, inconsistent.
So I wanna also comment on this. The the the one additional thing that I did with with Bing, specifically, is a it was my birthday. And at some point, like, a Loon landed on my cat, and I thought it was a funny picture. I will bring you balloons, and I took a picture of, like, just the balloon on top of a cat. I'm sure that this wasn't in their data set. And when I uploaded it, Bing said, oh, what's a funny picture? Did your cat agree to the balloon or something, like, stupid like Right? And I it did on the object detection.
But to the point of hallucination afterwards, it seems like the beginning part starts with, like, actual understanding of the image, and then kind of the textual model continues kind of to complete tokens, and then it just, like, it's out of the image understanding. It feels like it then continues to just hallucinate, like, the language model that we know that hallucinate And that's that's at least as far as I've noticed. The the beginning is really sharp and the end of this. before I get to you, Nysten actually called me to a clubhouse conversation. Yes.
I'm supposed to use CapHouse with with the with the CEO or founder of BMI My eyes is the app is the only app that OpenAI gave the vision API to. They're doing kind of like, an AI assistant for blind folks. And he talked about pretty much the same where he, like, take a picture of a remote, and you ask him, like, what what are how to turn on the TV it's time for staying what numbers are there and, like, what buttons are there, and then it continues to host hostesses thousands of numbers, and they're not sure if this is, like, promptable away if it's just the limitation of this technology.
Go ahead, Peter. So this is the problem so the the problem of the fair sentence makes sense. And after that, free sentences that are complete hallucination, this is something that happened also in the open are seen. And there is a theory because how those datasets are created. So usually, somebody goes and do manual of the image. And then they try to artificially increase the size of datasets. So they use language models like GPT 3a half, for example. they say, oh, try to write the same thing but but differently.
So they try to have a a a physically created captioning by a person then create, like, for example, 4 or 5 alternative captioning based on this one. So, obviously, language models hallucinate and try to come up with descriptions to things that are not happening. So I don't know. You have an image that you stand in front of the building, and and suddenly language models at a sorry. I mean, this is sort of a bear of day happening in front of the building. something like that.
So there is a theory that because we use language models to artificially and the size of a dataset and have more examples, we we introduce the hallucination from language models. I'm not really sure if they use the same technique to train those models, but that definitely happened in the open source scene.
Yeah. For sure, there's not a lot that we know about the training of the multi models, GPT 4. Go ahead, Yam.
I just wanna say somewhere, it doesn't matter. Not not mentioning names or anything. Somewhere, there is a reason there is a rumor that the the partner for the image is separated from the all the other architecture. So we might and and everything you said in this conversation is, you know, is one training session away from being much, much better at the end. especially when you got the users prompting your model. So I I think that we might see in the very near future a much better capability these -- I also -- -- you can train.
Yeah. I'm a completely agree with you, and I also it's fairly true that the reason why Microsoft just released this free to anyone. Install that folks keep that thumbs up button, and so they start collecting, like, I already checked on, like, image quality as well, and then start, like, retraining. I think this is the version 0 point whatever, and we're gonna get a significant boost in, like, vision capabilities very soon. And, again, as we said, can't wait for this be an AP AI. And, also, I cannot wait for we we still have, like, the Technicol here, LBJ. I can't wait for this to come to open stores. Like, when is the next multimodal LAMA? When is that happening?
LAMA is really good.
I just wanna say LAMA there. My problem with LAMA is, again, it's two things that don't understand each other, slice together and try to understand each other. Right? Like, it does it does image capturing, and and and then it puts on top of LAMA, and Or is that not correct?
I think it's trained at the end. They are aligning the model and then actually train. the I'm not sure. But I think I think it is trained.
Everyone, I think it is pretty good. It's it's, like, it's it's post fine tuning. Right? it's not like the pretraining piece that we expect from GPT 4 or at least understanding images.
Yeah. So GPT 4 is a good model.
there is no no way around this. There's also the fact that GPT 4 is a good model. Yeah. For sure.
Yeah. Yeah. But but I think just like everything, open source, you know, open source catch up. So, yeah, it might not be the perfect.
But yeah. By the way, creative mode ping has been my way.
I think I'll just say I won't put him in here. Sorry. It didn't drop.
No problem. I was just gonna say real quick about the lava thing. like, it didn't press me a lot. I remember, I think it was called the mini GPT 4 or something like that.
That really looks like the same time.
I love it.
-- 2 different efforts, I think. But, yeah, both of them do pretty much the same.
We've been catching on top of that. And I remember the main GPT 4 got way more hype, but I was way more impressed with lava when I use it and how they actually implemented it in the paper. Yeah. Yeah. And I remember when I first used it and I compared it to other things. Like, at the time, Vicuda and whatnot. I would have a certain type of, like, reasoning and set of logic tests that I would test it with. Like, for example, somebody's holding a balloon and it's above the balloon is above their hand, so it's obviously floating. And they you cut the string. What happens to it?
And Vicuna and a bunch of models would say stuff like the balloon would fall to the ground or the balloon would pop and then Lava was one of the first models I actually tested that without any without even feeding an image at all, just text. It got this right, and it said the balloon would get released and flowed up to the air. And then doing different tests like that didn't start make can we think maybe part of GPT Four's improvements are the fact that having that image knowledge kind of intuition, maybe helps it even in just purely logical text based stuff.
So I can actually confirm this. And I think Yam wants to go next LGG, there is a very interesting conversation with Ilya's Talk cover and Jensen from NVIDIA. Ilia Saskar talked directly about this experience. And it says that -- Mhmm. -- with vision, they're able to train these models understand kind of the the the physical world way better and way faster. Right? These models know that, like, red and orange are connected somehow, but they know this from just tech And you need a lot of tech to get to the point of, like, the real world understanding and kind of the world model.
And with vision, it definitely helps these models kind of to reason about kind physical world. So it was, like, if if this was your intuition, it confirmed, like, chief scientist of OpenAI. Go ahead, Yam.
wanna say that we know pretty much for sure that multi models multi model models are good. It helps the model in both. tasks, both in image and text. There are papers about this. And moreover, on the paper of GPT 4, you got results with the vision part and without the reading part. So you can actually see the numbers first off on the paper. It's true.
Yeah. Yeah. In addition to that, all of the tech book examples, like, physics problems, math problems. They all have, like, drawings, and they also talked about how with Visen, the model is able to then solve those, like, problem way better because I also understand kind of the drawings and the diagrams and and and those things. Very exciting folk. Like like, just to repeat, if if Facebook wouldn't have released Llama Open Thirt on us or not. This would be still the thing that we're talking about. We got access to this, like, insanity. And now GBD 4 has basically has i'd. I love this, and and I'm if you haven't played with this, and I was the one to tell you about this, I'm very happy Go play with the vision.
Tell us next week what you think. I think unless some other comments from folk, Tinuum and Rick or Ray, if you wanna talk about the vision stuff, and if not, we'll move on to this thing, and then I think we'll conclude.
I'll just quickly say -- Anytime. Yeah. Start the vision model on your phone, and, yeah, use it for code. That's for some reason, I I I don't know. It's it's really good for that. Otherwise, yeah, it does help loosen it for for everything else. And by the way, Bing is completely jailbreakable, and the results are hilarious. I haven't posted them because they pictures were pretty funny. But yeah. Yeah. I should try Bart next. Yeah. Alright. I'm done.
Alright, folks.
So I think the oh, LPG, go ahead, and then we'll move on. Yeah. Did we cover the new lava fine tuned on Lamaitu?
So briefly, but, yeah, let's talk about it.
Can you give us the can you give us the brief -- Yeah. I mean, I haven't I haven't really done too much experimentation with it, but, I mean, yeah, that's just yeah, if anybody wants to try it, just, like, look up Lava demo. And, yeah, it's free.
I'm I'm great here. Yeah. The the Lava was an attempt to kind of build image captioning models on top of WAMA. and Llama's ability to kind of reason about them and give you, like, a cap with an image. Right? You would upload an image, you would understand it, and then kind of you would be able to then ask questions about this image, diff different reasoning, and they have refined tuned this on top of LAMA too. Right? Obviously, this is what we're talking about really quickly after the release. Yep. Mhmm. And it's great. And, folks, because we don't have access to the API, if you are doing vision stuff, if you are, like or if you and to do vision stuff.
One of the interesting things about this whole AI thing is that new capabilities get unlocked every day and suddenly new Impossible before use cases are getting a lot as well. If you wanna play with something until GPT 4 at some point will give us vision, lava is probably your best bet right now. pull up lava. It's running on top of llama too. Hopefully, you know, more fine tuning will come from this area, and we'll get to a point where we have, like, an incredible image capture. But if you think about building something super cool, first of all, use Lava. 2nd of all, try it on ping and see the differences.
And third, come to the next Thursday, I am tossed about I think with this, we'll move on to the last piece that I wanted to give an update about, and I think we're coming up close, and we've taken plenty of your time, and all of this will be summarized and sent in the in the new we have a newsletter now. There's a podcast, so you you all feel free to subscribe or post the link afterwards. The last thing that's also very interesting that was released, unfortunately, when Meta released, is Langmed. So, Langchain, we we we know about Langchain. We know Harris down. Like, Langchain has been around in in our peripheral view some of us even used this, and some of us even used this production.
Some of us didn't like using this in production. So lately, there was, like, a thing about land not being good for many, many things. I will I wanna keep this debate because Thursday, I will we're doing updates here. So if you if you have, like, very strong length pain feelings, feel free to to to hold to them and express them in the comment section. However, the undeniable thing is LinkedIn is a very important resource for folks to learn how to do things, not necessarily random in production, but very quickly, for example, the stuff that you able to do with previous LAMA. Now you were able to do via language team with, like, LAMA V2, and they're doing a bunch of stuff with integration with vector DBs.
There's a bunch of stuff that's really good with language chain. really great for hackathons and and quick demos. And, you know, if if you want to go to production, rebuild it from scratch. Lang chain has has released length Smith, and I I don't know if folks in the audience have already played with length Smith or or noticed it. but feel free to tell me some images if you ever heard of length lift. It's potentially a observability frame or for length pain, but it does not require you to use length pain. So it could be an observability framework for your agents as well. What does observability mean? I wanna defer. Royie, I still give a thumbs up.
Did you wanna you wanna give us the brief kinda what does observability mean in this case and what length of it does if you had the chance to take a look?
Honestly, I took a very cursory look, so I can't speak to it. in great detail. I'm just excited to see that, you know, the folks at line chain kind of understand that, like, there there has to be more tooling and more more more ability to kind of understand the performance of what what and how exact these the the LNs are doing -- Okay.
So so so I can stick to this and and talk to me on the stage. If you have looked into Lang Smith and you wanna talk about them, feel free to raise your hand and also join. Lank Smith allows you to kind of plug in whatever interface they have. I'm not sure if it's the only Python or Python JavaScript, and then Because, you know, Land Chain and other agents, they're doing kind of LLM in loop. They're doing sequential chains. They're doing different tokens, this allows you to then see everything that happened in in the in the process of, like, multiple calls Right?
So if you have, like, an agent agent's execution, imagine, like, an agent that goes dust something, then dust something else, then goes to GPT 4 to do react and figure out the next step, etcetera, all of these. It's really hard to then understand how much money it cost you, how long took what prompt work, what prompt didn't, like, all of these things. And this is exactly what Lang Smith is about to stall, and they even have this running on cloud. Right? So it's, like, my clean chain, the is the package that you install. This runs in their cloud and reports kinda metric to them. And the beautiful thing is the results are terrible.
So you can actually kind of have a run of your agent on, like, multiple, like, inputs and outputs, and then on the right, you can see the run 3. You can see all of the kind of the change that it executed, the overall time, how overall, how many tokens you spent on this. And then it breaks down to, like, each individual call. how many tokens, how long it took, and it and it really, really a great kind of attempt at doing observability on production, which is really hard. I don't know if they have any evaluation planned in there, but I think something from LinkedIn is also coming so that you'd be able to work and evaluate this with different prompts, etcetera. Definitely, very interesting.
They're on product comfort now. If you're friends with with LinkedIn, you'd love to go give them an upvote they launched today. They didn't even mean to. As somebody just went the program and launched them. So lengthmith, his stomach will notice. And if If length change popularity is anything to look at, and I think it is personally, I think length method is something that we need to learn as as as part of our tooling, for those of us who who use you know, who who run agent. I think that's mostly it. I think we've covered the main stuff anybody wants to to chime in about LinkedIn or or or length myth, feel free.
Raise your hand. Really quickly -- Yes. know a lot of people hate it, including myself, because you could do everything with just touchscreen templating. But I also wanna say that you can run an app with 100 of 1000 of users with lang chain, and it is reliable. So despite all the criticism and stuff, blank chain works. So while I myself would like to replace it at the end of the day, it does the job. Right? And even with changing models is is still works. So don't look too too much into the criticism. You can build something with blank chain. It's fine. If you're gonna use your own, own user on.
It's it's not that big of a deal.
I I will say there's one additional thing and then maybe somebody from the audience, I think, wanted to come up, and we'll see. But I will say this one additional thing, Nathan. I think you're correct. And I think, like, overthink in this will could prevent the Istanbul from going to production quicker. It runs on production. Like, it's fine, you know, could run faster if you write this on your own, but, like, it's fine. The abstraction layers there take a while for you to understand. However, the one thing I will add is Lengton is great at different connections, and the ecosystem for LinkedIn is great.
If you follow the PRs in LinkedIn, if you like to apply to the PRs, you will be able to learn are done about everything because every like, Roy, I think that Lendgren has an integration with Pankaj. Obviously, it has integration with most Doctor DeBs, if not all of them. if they don't have it, somebody will go and open a PR for that. So, like, LinkedIn pool request area is, like, a gold mine of learning what is the latest and greatest, and definitely worth noting, and I think the service that they do to our industry is great even despite the kind of negative feedback. Jimmy, you wanted to come up and say something about Lane Chain and Lang Smith.
Please be -- I'm just a little bit tired of constant advertisement about Lanechain. I don't understand why people have what who cares?
Yeah. Right. This is what happens when when you bring up folks from the audience who you haven't necessarily vetted. But I'm I'm sorry about this folks. Feel free. Do you have, like, a a positive comment. If you use length to length chain, feel free to come up. And if not, I think at this point, we will conclude the Thursday updates unless I miss, like, a super important thing, and we haven't talked about this.
You know, there was one thing I think that needs to be talked about a little bit, and that's the fact that Michael soft and Azure are playing this really, really interesting game with supporting both OpenAI and then, you know, having, you know, support for Llama to on the day it's released.
Are you perhaps talking about the selfie that with the the Zuckerberg and and Satya took together, and she tells me that Satya and stem Outman took together. Are you talking about the friendship of Microsoft?
not it's not just that. It's just, like, the actual fact that they're they're backing that with it's, like, a real action. Yeah. You know what I mean? And and it's, like, it's very interesting to think about, you know, like, the repercussions of that and, like, you know, specifically because Microsoft is not targeting how least. Right? Like, it's not targeting, like, your your your run of the mill quote unquote AI developers. They're targeting enterprise And to just, like, think about, like, the ramifications and, like, to think about, like, how they see the world, you know, and how both OpenAI things like Latu can coexist in their world. It's just very it's very interesting to to to to consider.
That's all. Agree. Scott, you go ahead.
I think that another thing that is worth maybe spending, like, few sentences to talk about is the license of Llama, which is we all say it's open source but there is an asterisk over there, which means that there are definitely companies that couldn't use Lamas. So if somebody some deeper thoughts on that, I would be keen to listen.
So, yeah, we should talk about the fact that, like, it's not fully open source, they have restrictions for multiple things. And one of them is, if you're a commercial company with more than 700,000,000 monthly active users, which is a very specific subset of companies. Right?
It's like -- Exactly.
That's what they meant. That is what they meant. Snapchat enough. It's like Snapchat's Google instance, the mother of blazers, they shouldn't they they can't use Llama Llama too commercially. Yam, you have comments on this.
Yeah. I just wanna say something something else happened this week. I think, like, 10 minute 10 minutes before the Llama launched Mosaic launched the the 4:10 minutes with the best model, 7b model, and, unfortunately, the worst time in the world, open source. They, you know, they are they are great and shout out to them, and I kind of feel bad that it's shadowed by the whole thing. But, yeah, it's worth mentioning. I think.
I think I started this briefly, and then I went into Lamb, obviously, as everybody else. But is that, like, a continued version of MPT? Right? The like, is the the 7 b or something that, like, out is performing better than the other, like, even 30 or something like that.
Right? Yeah. Yeah. It's of course, it's it's a continuation of the 7 MPT 7b, but it was the best model of its size at a time. It it was the best.
Yeah. And now LAMA 7 b is overshadowing this?
Yeah. I mean, every like, no one noticed. 10 minutes later, like, everyone was on NAMA. So yeah.
Yeah. Mosaic is is is the only thing And I think the Mosaic integration into Databricks now has completed finally. So now it's like Databricks or Mosaic team within Databricks. And not later breaks as kind of numbers aimed themselves. Yeah. I think I think with this, Yum, if you wanna add some other stuff that I missed that, like, very important from this week and and focus stage, NISTEN, Roy, Technium Art. Is there anything else that we haven't covered? And if not, I think it's time to just say thanks, then conclude. You Like, it's time to say thanks and conclude. Alright. So folks in the audience were still with us, and folks on stage were still with us.
I wanna, 1st of all, say thanks to sicknium to Enrico, to LTJ, to we had the whole now's team, Karan, We have the the whole news team on here. Follow them. They are doing great things to open source completely. You can use their models. It's great to just be The amount of stuff that you guys pair is impressive, and we all are indebted to you, and we really appreciate you. Tell her out to your sponsor as well. Redmond. Right? The the the the the guys could, like, sponsor all of this. Yep.
And follow these folks, I call him the the the Llama zookeeper because at some point, I think you posted the screenshot of how many Llama different versions you have on your on your own computer. And so thank you guys for joining. Thank you guys for the in-depth explanation of of the stuff that you do. And thank you for the time that you spend about the stuff you do. You're always welcome at Thursday. I wanna obviously stay high to to folks who are continuously here on stage, the the group of experts that help me when I have no idea what I'm talking about. Yum! folks to.
He does incredible research into multiple things and explains them fairly simply. Nissan is doing great stuff. Not all of it is in public, haven't been exposed to some of the private stuff. It's great, and a lot of it is coming. Escosky in NLP. Thanks for joining us and giving us your experience as well. Art welcome. You haven't talked because you were busy eating, but, you know, next time, I wanna hear your opinions division stuff. Royie, as always good having you here, Royie is working at Pankong. He's the dev role there. If you need the version vector database, follow Roy. He will tell you how to use them and probably which ones to use as well. Nathan was here before.
He dropped to to spend some stomach, but he's, like, listening. Nathan, thank you for coming up as well. LJ and Rico, I appreciate you guys being here as well. My name is Alex. I I I I'm the host of Thursday. I'm not the reason for Thursday. I I appreciate everybody here. We're talking together. We're learning together. Our motto is we stay up to date, so you know have to. And you're always welcome here every Thursday. Now there's a podcast and a stop tech to follow me. I'll post, like, the link to stuff, like, afterwards. If you aren't able to make this, you'll get an email with, like, very simply explaining the most important stuff. I I appreciate your attention.
I appreciate your time, and I think it's very very I'm very happy that this worked. I'm happy to folks find this useful, and feedback is also appreciated. Not the kind of feedback where you come up and stay. Why is folks giving ads to language not that kind of feedback. Please constructive feedback and positive. We're moving forward. We're learning together. And with that, I wanna say thank you, folks. Right on the top, look at this. It's 5 where I am at 4, where you are on different things. Thank you, and we'll meet next week.
Cheers.
Thank you for having us.
Thank you.
Thank you, everybody.
Thank you. This is Alex.
Thank you for calling Cheers boat.
Bye bye.