Тёмный
No video :(

Create Custom AI Characters Easily 🎭 How To Fine-Tune LLMs For AI Role Play 

Matthew Berman
Подписаться 307 тыс.
Просмотров 47 тыс.
50% 1

Thanks to Gradient for sponsoring this video: grdt.ai/mberman
In this video, I show you how to fine-tune an open-source LLM to behave like any character from movies, TV shows, comics...even yourself from text messages!
Enjoy :)
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewber...
Need AI Consulting? ✅
forwardfuture.ai/
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew...
USE CODE "MatthewBerman" for 50% discount
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Links:
colab.research...

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 163   
@matthew_berman
@matthew_berman 9 месяцев назад
Should I clone myself with AI and try to fool my family?
@AD-tw1do
@AD-tw1do 9 месяцев назад
I would definitely love to see that!
@Ziggurat1
@Ziggurat1 9 месяцев назад
Yes, check if mum is catching on
@marilynlucas5128
@marilynlucas5128 9 месяцев назад
Hi @ mathew_berman , In your autogen courses, you've never used open interpreter. I wonder why
@matthew_berman
@matthew_berman 9 месяцев назад
@@marilynlucas5128 I have an entire video of open interpreter :)
@jamesdrummond187
@jamesdrummond187 9 месяцев назад
Yep.
@JasonEllingsworth
@JasonEllingsworth 9 месяцев назад
Finally! I can automate my friendships, have the AI give me the highlights/details of any important information, and get back to living as a hermit.
@christianmeza4941
@christianmeza4941 5 месяцев назад
🤣
@Uterr
@Uterr 9 месяцев назад
I see a problem here: how do we know, that model responses "kinda" like Rick not because model knew of this character before finetuning? Any model can do what you did in this video right now, without finetuning.
@marcfruchtman9473
@marcfruchtman9473 9 месяцев назад
Very cool! This is really another step into creating our own content... I love the last line where he is going to use the portal gun to go back in time and stop the portal gun from being invented! hilarious.
@unc_matteth
@unc_matteth 9 месяцев назад
honestly dude i feel like you specifically know what i'm doing and are making videos to help me. you keep giving me exactly what i need. i need ai agents to set up ai agents for me. smh. great video again! i'm saving this one
@elwoodfanwwod
@elwoodfanwwod 9 месяцев назад
Love your channel man! It's always the first thing I watch when it pops up. I have been playing around with famous characters using character sheets and Oobabooga. I've found that with only a few hundred tokens I can create a scary good interaction because (model dependent) everything is already baked in and all you need to do is point out who you want to talk to. I'm willing to bet that Rick and Morty script was part of your models training data set already. That said, AS ALWAYS, your video has filled my head with day dreams. The idea of training a whole model for a single character is so cool. My challenge to you and anyone that reads this is how small of a model can you train into being a coherent and usable roll play bot.
@robertbyer8189
@robertbyer8189 9 месяцев назад
THANK YOU!!! I was just getting ready to go down this exact rabbit hole when you posted this. I WOULD LOVE to see a video of this BUT but using all open source/local llms/software.
@tsentenari4353
@tsentenari4353 9 месяцев назад
I support this notion
@prakharsaxena763
@prakharsaxena763 5 месяцев назад
This should be very easy! I want to build a youtube social media audience, should I start my first video with that? Or a blog would be better?
@antonpictures
@antonpictures 9 месяцев назад
00:00 🎭 You can create a custom AI roleplay bot for characters from TV shows, movies, comics, and even yourself using fine-tuning techniques. 00:27 📊 Data for fine-tuning can be obtained from sources like Kaggle for scripts, which are available in CSV format, or other websites for various dialogues. 01:50 📄 You can also fine-tune a model based on your own text messages, DM history, or telegram messages by converting them into CSV format. 03:02 📂 Google Colab is used to prepare data for fine-tuning, and Gradient AI makes fine-tuning models easy and efficient. 05:36 ⚙ Fine-tuning is performed using NAOUS Hermes 2, and you can adjust the fine-tuning process as needed. 07:01 🗨 The model's responses are generated by providing a query, and you can customize the system message and instructions for roleplay. 08:50 🤖 You can deploy the AI roleplay bot for any character, and the process is versatile, allowing you to mimic various personalities.
@adrianfiedler3520
@adrianfiedler3520 9 месяцев назад
Yes! Today I was researching how to fine tune Mistral 7B on my dataset and now you post this video! ❤ Would be great to also get a tutorial how to fine tune with HuggingFace AutoTrain. This way it could be uploaded to HuggingFace and used from Text-Generation-Webui.
@stickmanland
@stickmanland 9 месяцев назад
What about an open-source tutorial. NO THIRD PARTY poo poos (I mean gradient is great and all, but come on!)
@Link-channel
@Link-channel 3 месяца назад
He does not seem to understand that using a product is not what "learning" means 🙁
@spencerfunk6697
@spencerfunk6697 9 месяцев назад
The man himself is back. I been looking forward to your uploads you always got so much dope information
@Josh-Casey
@Josh-Casey 9 месяцев назад
Nice! Thanks Matt! Looking forward to this one. Introducing the real, the one, the only, Skippy The Magnificent!
@hypnokitten6450
@hypnokitten6450 2 месяца назад
This is fascinating - all of your videos that I've seen so far are! Thank you so much for having a good fine-tuning video. I am very curious about two things that I am not seeing covered much... (1) The topic you mentioned - creating good prompts.. particularly from large bodies of unrefined data. For example 'all the works of Shakespeare' or 'the Guttenberg project'. Especially where those works have both dialog and non-dialog 'things' that happen as part of the writing style. (2) How to work entirely locally, assuming you have the memory / GPU for it - such as if you are working with a large body of local data and you don't want to keep trying to move it into the cloud during training, or you just want to use your own resources.
@OutlawMantis
@OutlawMantis 9 месяцев назад
Know what I'd really like to see? A guide on an open-source installation of multiple roleplay chatbots that can exist on a Discord server as Discord bots with the ability to communicate with each other and humans. That's my dream chatbot project, my server would love it.
@TheReferrer72
@TheReferrer72 9 месяцев назад
Your videos have risen in quality and sophistication. Brilliant.
@matthew_berman
@matthew_berman 9 месяцев назад
Thank you
@dolevmp
@dolevmp 9 месяцев назад
Amazing thank you! 1. How much data did you use there? How much is needed? 2. Why did you choose that base model?
@gradientllm
@gradientllm 9 месяцев назад
nous Hermes is an unlocked Llama2 13B model - it’s more performant and also a little spicier
@johnzacharakis1404
@johnzacharakis1404 9 месяцев назад
Yeah! Do it!!! The clone-yourself video! 🙌
@taeyangoh7305
@taeyangoh7305 9 месяцев назад
amazing! looking forward to have another video for this subject !!💙
@terbospeed
@terbospeed 9 месяцев назад
I used to do this with markov chains way back, and had an IRC channel full of different characters that would discuss social media posts. One plus of markov chains was they could learn, but couldn't get that big, I wonder if llama index can replace the need for training.
@keithprice3369
@keithprice3369 9 месяцев назад
Can you share how you got to rick & morty wiki from Fandom? I search on rick & morty and got a ton of stuff that wasn't you showed in the video. Would also love to see a how to use Fandom for finding dialog from other movies & tv shows. I spent about 5 minutes (not a lot, I know) and really didn't find anything I thought I could use for fine tuning.
@rolandrodriguez
@rolandrodriguez 9 месяцев назад
…You had me at Rick Sanchez. Subbed. 👍🏽
@NakedSageAstrology
@NakedSageAstrology 9 месяцев назад
I use this through CHATGPT custom instructions and voice chat while I make dinner or work on code. I have Rick Sanchez roast me on everything like a Jerry! 🤣
@kenknudsen7478
@kenknudsen7478 9 месяцев назад
Very well done! Looking forward to the future fine tuning videos
@aldoyh
@aldoyh 9 месяцев назад
Yes definitely interested in chatting with a Mathew AI .. just don't trick your family members! 😂
@avidrucker
@avidrucker 9 месяцев назад
I agree on both accounts
@to-mi1949
@to-mi1949 Месяц назад
Could you do some kind of tutorial of how to make a realtime voice conversation chatbot? So kinda like this where you train it to be the character you want, then add a speech-to-text and text-to-speech chat? Maybe something where you can add your own custom voices.
@dabdab10
@dabdab10 9 месяцев назад
Can you clone yourself and ask the model questions that you have answered before and compare the accuracy?
@UVishnuVardhan
@UVishnuVardhan 9 месяцев назад
yeah! we need self clone with AI video. Eagerly waiting for your video sir
@Mr.Laffin
@Mr.Laffin 9 месяцев назад
Could you please Do more videos on autogen specifically how to get autogen running with mem GPT and llm and maybe what are you using for if you're using it at all
@antigravityinc
@antigravityinc 9 месяцев назад
Thanks. Not really sure about any use case implementations. I think you mentioned using this anywhere, but there’s no context. Maybe you’re assuming most subscribers already have this knowledge?
@DeianGiNet
@DeianGiNet 9 месяцев назад
YES we want that video! :)
@redneq
@redneq 9 месяцев назад
I was waiting for you to ask how to pronounce PENALTY. 😂Great video again.
@pafnutiytheartist
@pafnutiytheartist 9 месяцев назад
Two problems with the video: 1. You haven't compared the fine-tuned model with the original. Nous-hermes can roleplay at about this level with character prompt and no fine tuning so we don't really know if you did anything at all by fine-tuning the model. 2. The process for doing this locally for free has significant differences to what you shown, so it's not really useful as a tutorial. You wouldn't want to use collab for local training and you probably would use different libraries. Only data collection and preprocessing would be similar.
@LongTheRevolution
@LongTheRevolution 9 месяцев назад
yes i would love to see a video of you cloning yourself and tricking your family. Great work as always boss. so awesome..
@bardaiart
@bardaiart 9 месяцев назад
Noob question: how to get the fine-tuned model? Does GradientAI allow downloading the model/lora? or do we need to use its API to interact with the model?
@ernesto.iglesias
@ernesto.iglesias 9 месяцев назад
Good question
@wrOngplan3t
@wrOngplan3t 8 месяцев назад
That's Rick Sanchez alright 🤣Cool stuff!
@darren1833
@darren1833 9 месяцев назад
love your channel. please bring back the AI News videos!
@TechUbus
@TechUbus 9 месяцев назад
Yes do the clone and video keep up the good work you do I enjoy all your videos 🎉
@CronoBJS
@CronoBJS 9 месяцев назад
DeepSeek Coder 6.7b Instruct is the only Open Source LLM that I was able to get to generate SNAKE!!!!! It works so well! And I tried the 33b version on their chatbot webpage and it also did it even better. I hope you make a video soon!
@SlickSonicTitan
@SlickSonicTitan 4 месяца назад
Did you ever do a video on unstructured data for finetuning in the end?
@glumpfi
@glumpfi 4 месяца назад
That's exactly what i wanted to try out, thanks! :) I would love to see if you can trick your family
@kritikusi-666
@kritikusi-666 9 месяцев назад
Great stuff. Make a version to do this locally.
@DeianGiNet
@DeianGiNet 9 месяцев назад
YES and if you can make it work off a local llm that would be great
@titusfx
@titusfx 9 месяцев назад
Yes to both videos
@kallamamran
@kallamamran 9 месяцев назад
You're incredibly helpful :D
@MrBademy
@MrBademy 9 месяцев назад
do it, i think thats the next step, life tuning on your personality and create an alter ego bot of yourself, that would be epic
@yagoa
@yagoa 9 месяцев назад
Imitation episode would be awesome
@RandomButBeautiful
@RandomButBeautiful 9 месяцев назад
Missed opportunity, you should have asked Rick "What is my purpose?" :)
@prestonmolloy808
@prestonmolloy808 6 месяцев назад
I don't see anyone mentioning this so: Here is a case where if you don't know something, the AI will confidently tell you something wrong. Rick doesn't believe in time travel... He would never postulate using a portal gun to "go back in time", but it sure sounded good to everyone who doesn't know that about Rick. Anyone who knows, would know this was an imposter Rick.
@jtjames79
@jtjames79 9 месяцев назад
As a weaponized autistic, the world is going to regret this tutorial.
@mexicanameric4n
@mexicanameric4n 9 месяцев назад
You win the internet today i'm fkn dead, LOL
@arnaudlelong2342
@arnaudlelong2342 9 месяцев назад
Cool see ya in the next one. Bravo!
@rafael.gildin
@rafael.gildin 9 месяцев назад
Great video 👏
@edifox86
@edifox86 9 месяцев назад
How long did it take roughly to complete the fine tune?
@maxiria
@maxiria 9 месяцев назад
Yes!! Would love to see you cloning urself
@JimmyTheGreek2121
@JimmyTheGreek2121 9 месяцев назад
Cloning yourself I think would be really cool. Would it be possible that instead of csv 2 columns to use audio files? Might be able to feed it an audio memoir or autobiography and make it more real and nuanced
@alefalfa
@alefalfa 9 месяцев назад
I absolutely want you to finetune a model, clone your voice with elevenlabs and trick your family member in a phone call
@infini_ryu9461
@infini_ryu9461 8 месяцев назад
>fine-tune my AI on my own data >find them super annoying and hate their guts >"Oh god, is that what I sound like?"
@marilynlucas5128
@marilynlucas5128 9 месяцев назад
This is great!
@py_man
@py_man 9 месяцев назад
Thanks matt❤
@casperd2100
@casperd2100 9 месяцев назад
Rick would actually do that lmao... He would go back in time to prevent the portal gun from being invented. But he would know he can't
@andy111007
@andy111007 9 месяцев назад
Thanks Matt for another great video, is the data accessible. How did you copy data from fandom and added in the file?. I would really appreciate if you can share that information.
@tomski2671
@tomski2671 9 месяцев назад
Here an idea for for anybody willing to do it: Fine tune a GPT model to help users install/configure Autogen locally, connect to various LLMs (including local ones) and thereafter quickly generate autogen code of various structures/configurations/tools - I would pay to use that model. Just unsuccesfully spent several hours trying to get local Autogen going.
@Mind_ConTroll
@Mind_ConTroll 9 месяцев назад
Does this only work for character behavior and personality or would it work with information if you loaded a database of writings, like, could it think like a person based on a dataset like that, so like talking to Einstein for instance?
@auriocus
@auriocus 9 месяцев назад
In principle, yes - this is roughly how chatGPT and stuff were built. However it takes a ridiculous amount of data and compute power to actually change some more fundamental capabilities, that's why truly models with improved coding, better reasoning, better math etc. come out at a much slower pace then models with role playing this and that. The foundational models were trained with just a gigantic corpus of natural language and therefore they are extremely good at writing and translating between languages, but not that much with other stuff like science and the behaviour of the physical world.
@Mind_ConTroll
@Mind_ConTroll 9 месяцев назад
@@auriocus I have seen where they are trying to make something where you can talk historical figures, but I think it is more novel than actually functional. I am really waiting for a way to have a Jarvis, like, an avatar on my pc, a head, or body, doesn't matter, but I can talk to it and have it open programs and perform tasks within those programs like 2 people working together on a project, but with knowledge to help me through problems that I may have. I don't see how this is that far off, internet access, speech capabilities, both talking and listening, and a memory system... I think we are close, like a true AI assistant.
@CherryGarcia77
@CherryGarcia77 9 месяцев назад
Thanks for the vid - curious about the cost for this one...
@monnef
@monnef 9 месяцев назад
Okay demonstration, though I would strongly prefer seeing local approach.
@Paulina-ds5bg
@Paulina-ds5bg 9 месяцев назад
From where the model takes the informations besides the input .csv? And why the model making up responses if it dont know the answers? For what the input csv is, if I can chat with thant model with only the system message that inform it who he is?
@TheAbrahamHD
@TheAbrahamHD 7 месяцев назад
I wonder if it would be possible to do this with video/audio of myself...
@jasonsalgado4917
@jasonsalgado4917 2 месяца назад
if i finetune model in gradient and then later decide to no longer use gradient, do i iose access to those models?
@flethacker
@flethacker 9 месяцев назад
so how much did that all cost, and how do you download the new model?
@TrekGravityou81
@TrekGravityou81 9 месяцев назад
Bring on the clones ❤😂
@jeremietisby2206
@jeremietisby2206 9 месяцев назад
Who wouldn't! I mean, strictly for yuks of course, **and that point has to be emphasized with a disclaimer.** The subject would have to be selected carefully (the more sense of humor they have the better; not too young or old). Maybe do multiple friends/relatives and select the best one. The subject would have to be debriefed afterward, possibly on video. But given all this I think it would be a great video.
@RZRRR1337
@RZRRR1337 9 месяцев назад
I love this! Do you know any way to do clone voices as well? Goal: Generate a Rick Sanchez Voice using some GPT-generated text
@NourEldin_z3r0
@NourEldin_z3r0 8 месяцев назад
my question is, now if i did this, how i use it as an api to incorporate it in my apps?
@Malito2010
@Malito2010 9 месяцев назад
It is really good but can you give it his voice and run it on his own ecosystem some thing like a raspberry pi with mic speaker....
@Piotr_Sikora
@Piotr_Sikora 9 месяцев назад
BTW… there is a way to fine-tune model to use other language than English?
@fabriai
@fabriai 9 месяцев назад
I love the idea of cloning oneself, but is tricking someone into thinking they’re talking to a human when they’re not an unethical version of the Turing’s experiment?
@trackerprince6773
@trackerprince6773 9 месяцев назад
is is possible to take fine tuned model from gradient to runpod? or can i fine tune in runpod?
@nufh
@nufh 9 месяцев назад
I want to have a chat interface. I mean like a What'sApp chat with voice. That Chainlit thingy is still hard for me.
@JJBoi8708
@JJBoi8708 9 месяцев назад
Can I use this to fine tune my model that is not for AI roleplay?
@tomski2671
@tomski2671 9 месяцев назад
There are going to be breaking charges in the world of AI for the next several years as we all figure out exactly how to best use this AI thing.
@riggitywrckd4325
@riggitywrckd4325 9 месяцев назад
Id like to see if you could get a good enough model to trick people you know for sure lol
@samsonthomas6797
@samsonthomas6797 9 месяцев назад
Trick them, I want to see how they'll react,, Create the clone of you
@buggbear
@buggbear 9 месяцев назад
Can this tell me how to make concentrated dark matter?
@lukewang476
@lukewang476 11 дней назад
But how to do it without gradient that's not real opensource
@remsee1608
@remsee1608 9 месяцев назад
Hello can anyone help me create an Alan Watts bot
@ScottzPlaylists
@ScottzPlaylists 9 месяцев назад
👎 You have to contact them for pricing.. Not my cup of tea. How much would it have cost to train your example if it wasn't sponsored.❓ Can you do an fully open source free version of the same task? ❓
@Paulina-ds5bg
@Paulina-ds5bg 9 месяцев назад
Can I fine tune in other language than english?
@Septimius
@Septimius 9 месяцев назад
if "Rick == row["name"]? Sir, Yoda conditions do not have a reason to exist
@neojabin1329
@neojabin1329 4 дня назад
rick doesn't do time travel.
@hectornonayurbusiness2631
@hectornonayurbusiness2631 9 месяцев назад
Okay what about this AutoGen + memGPT + open interpreter?
@shaw-krowdashsabe2302
@shaw-krowdashsabe2302 9 месяцев назад
ive been trying all of your videos i cant get a single one of them to work AHHHHHHH
@anshrathod
@anshrathod 9 месяцев назад
how to do it without gradient?
@pandoraeeris7860
@pandoraeeris7860 9 месяцев назад
I'm RickGPT!
@ezzye
@ezzye 9 месяцев назад
Do it!
@conradjulian5409
@conradjulian5409 9 месяцев назад
Yes plz
@edmundkudzayi7571
@edmundkudzayi7571 9 месяцев назад
slow down! i'm one week behind
@erikvogt8500
@erikvogt8500 9 месяцев назад
Make the vid!
@Breakopen
@Breakopen 5 месяцев назад
How does this handle foreign language?
@ThaiNeuralNerd
@ThaiNeuralNerd 9 месяцев назад
Clone yourself 🎉
@ewhorlow
@ewhorlow Месяц назад
This is interesting and clever but it's pointless asking questions about its plan about anything. There's no permanence. It's just learning words and phrases and then outputs those to questions asked. The AI doesn't have missions and goals, likes or dislikes or any moral's, at least none that are permanently instilled in it. Not yet anyway.
@thomasschon
@thomasschon 9 месяцев назад
Yes, trick your family.
Далее
МЕГА МЕЛКОВЫЙ СЕКРЕТ
00:46
Просмотров 489 тыс.
Former Google CEO Spills ALL! (Google AI is Doomed)
44:45
Run your own AI (but private)
22:13
Просмотров 1,4 млн
All You Need To Know About Running LLMs Locally
10:30
Просмотров 141 тыс.
МЕГА МЕЛКОВЫЙ СЕКРЕТ
00:46
Просмотров 489 тыс.