Lego Arduino Tutorials-Blink
7:32
4 жыл бұрын
Lego Arduino Tutorials for Kids
0:43
Arduino, Lego Clock-My First Build
5:09
Arduino LCD I2C Tutorial-Visuino
1:57
Headphone Jack Repair Tutorial
1:06:36
5 жыл бұрын
Пікірлер
@ivandrofly
@ivandrofly 3 күн бұрын
What are the difference between "User" and "Assistant" on the chat. Also give example for "Assistant" if you know
@videotronicmaker
@videotronicmaker 2 күн бұрын
You are the user. The AI is the assistant.
@ivandrofly
@ivandrofly 2 күн бұрын
@@videotronicmaker lol... I know that - if you have LM Studio, make sure you upgrade to the most recent version and go to the chat, you will see that there are now "User" and "Assistant" mode you can input with both. Previously "System" role: Use this field to provide background instructions to the model, such as a set of rules, constraints, or general requirements.
@DannyC777
@DannyC777 16 күн бұрын
This is cool there's a speech to speech app for LM Studio here it recognizes speech in 90 languages and has over 1400 Voices to choose from kzbin.info/www/bejne/omLYioerj9R1bLM
@videotronicmaker
@videotronicmaker 16 күн бұрын
I took a peak. I will look at it more later. Looks good. Thx.
@drimscape
@drimscape Ай бұрын
i installed text-generation-webui-main + bark . responses became so slow so it is unusable. i have rtx3070, 64 gb ram i7 12700 k but it works vey slow. 2-3 minutes per answer
@채진기-q7e
@채진기-q7e Ай бұрын
what is the version of openai library? when you type 'pip list' at your cmd.
@videotronicmaker
@videotronicmaker Ай бұрын
openai==0.28.0 Here is the GitHub repo: github.com/VideotronicMaker/LM_Studio_Local_Server
@godned74
@godned74 Ай бұрын
Just to let you know. It is possible to use a powerful llm with out a gpu using gpt4all interface which is an lm studio alternative with the main difference being you can use a powerful open source llm with even the most modest computer even if you have no gpu. the trick is to add the token count to the python script.
@MaxJM74
@MaxJM74 2 ай бұрын
👀
@chappie505ec
@chappie505ec 2 ай бұрын
What do the labels mean please
@chappie505ec
@chappie505ec 2 ай бұрын
Can anyone tell me
@videotronicmaker
@videotronicmaker 2 ай бұрын
I am not sure which labels you are referring to exactly. There are several. Here is the link to the Uno Pinout Diagram. Most of the labels are the same: docs.arduino.cc/retired/boards/arduino-uno-rev3-with-long-pins/#osh-schematics If you want the labels for the others sections of the shield you can look at my other two videos that go deeper into the shields to get a better sense of how to use the shield and what each section of the shield may be. kzbin.info/www/bejne/nYDSaGOLgdtgr6s kzbin.info/www/bejne/mauqpKKmjZd2gas I don't believe that Arduino made a diagram for this shield. That is why I originally made the video. I hope this helps a little. I was hoping someone else would jump in. Let me know exactly which labels you are referring to.
@krakenking1597
@krakenking1597 2 ай бұрын
Thanks for the inspiration. Ive been wanting a "Jarvis"
@SarveshGoyal-e8x
@SarveshGoyal-e8x 3 ай бұрын
Re we suposed to download a library beforehand because I got the error " ModuleNotFoundError: No module named 'openai' "
@videotronicmaker
@videotronicmaker 3 ай бұрын
Yes. It sounds like you haven't installed the Openai library. 2 solutions: 1- go to my GitHub repo and run the requirements.txt file 2- Alternatively you can just use an AI assistant. Whenever you get errors just copy them and paste them into your AI assistant and it will tell you what to do.
@DihelsonMendonca
@DihelsonMendonca 3 ай бұрын
That's wonderful. Thank you very much. 🎉❤
@kaashen33
@kaashen33 3 ай бұрын
ur so funny lol you also sound like a teddy bear
@Jaron-Wilson
@Jaron-Wilson 3 ай бұрын
Hey, just to let you know, I was currently programming this into java spring boot, and this is very helpful to see. This is a sub from me and a like. Will update comment when I upload the video on my account @JA_RON
@Artificial-Cognition
@Artificial-Cognition 3 ай бұрын
How do you feel about Gemma 2 (9B and 27B)? They're way better than Gemma 2B and 7B, I haven't found a better LLM.
@videotronicmaker
@videotronicmaker 3 ай бұрын
I recently broke my main PC and I have been preoccupied with figuring out how to use non quantized models on my old MacBook Pro. I have still been stuck on Gemma 2b and Stable LM Zephyr 1.6b. I tried to inference the base Gemma 9b with no success. I hope to inference it very soon. I will say that because I was very impressed with 2b, I am sure that 9b and 27b will be impressive. I am gpu poor these days so...In time. Also, Google has really started to impress me lately with Gemini. All good things! I will be sure to edit this in a few days after I get a chance to try them. I guess I will try it out on Vertex AI in the meantime. Thanks for the question. I now have a next project to get into!
@Jesulex82
@Jesulex82 3 ай бұрын
Pero puedes mantener una conversacion con este modelo? Habla en español? ¿Podemos descargarlo?
@videotronicmaker
@videotronicmaker 3 ай бұрын
The model used in this video is the Phi 2 model by Microsoft. This model only understands English. Here is the huggingface page with more information. huggingface.co/microsoft/phi-2 You would need a different model for Spanish. I am not sure which models this size understand Spanish. However, I have seen models where other people have added a second version of the base model and made it in a different language so I would say check on hugging face and search for something like, "Phi-3-sp".
@DihelsonMendonca
@DihelsonMendonca 3 ай бұрын
That's great. I wish I had your knowledge to implement this in my LM Studio. But I would need an eternity to learn python and several other things. I already use voice mode on Chatgpt 4o for Android, but it's different than running our own local LLMs. 🎉❤
@videotronicmaker
@videotronicmaker 3 ай бұрын
Thank you for commenting. I want to both encourage you and make something clear. I believe that all you need to implement or create this from scratch and on your own, is to utilize something like Chat GPT 4 or Google Gemini Advanced. That is exactly how I did it. I am not a coder, mathematician, computer science major or anything like that. My profession is television production and I also do a little web design. I was only able to do this by going back and forth with GPT 4. I gave it some code I found in another video and asked it to give me variations of that. Then, step by step I asked it to add an additional feature. It gave me the code. I pasted the code and usually there was an error. I then copied and pasted that error back into GPT 4 until it gave me code that worked. I knew nothing about python environments, anaconda, libraries or dependencies. When those items came up I asked it to explain. It did and I learned and moved to the next step. I must say that as of the release of GPT 4 o, I had a difficult time with GPT 4 o's performance so I stopped using it. I started using Gemini Advanced and to my surprise it has been great. I do not know how to code in Python. One thing I wanted people to get from this is that AI is amazing because it enables you to complete projects like this one. Use it. Contrary to what some say, AI is very useful beyond writing emails, planning trips and shopping. Also, I am using Gemini Advanced to tutor me in Python. I ask it to start simple and take me step by step and be my instructor. It works. That is what this channel is about. I show people what I am learning as I learn it. It is amazing to me so that is why I tell others. In this video, even though the AI is writing the code, I am learning little by little in the process. It may not be the most common approach but it is working for me. I hope this helps.
@DihelsonMendonca
@DihelsonMendonca 3 ай бұрын
@@videotronicmaker Thank you for the excellent and lengthy answer that I will read with time, it's a true class what you did. I will follow your advice. I'm also a video producer and a musician. I know a little bit of computers and coding, but too little. Thanks. 🙏👍💥❤️
@relexelumna5360
@relexelumna5360 4 ай бұрын
Hi glad i found this video. Does this mean I can use LM studio to be connected online like Chatgpt using Local Server so it should give me answer from realtime internet? like "which party get the most vote Democrats or Republican right now?"
@videotronicmaker
@videotronicmaker 4 ай бұрын
LM Studio is for running an offline llm. There is no connection to the Internet as far as I know. No realtime interaction or retrieval of info from the web. LM Studio has made many updates lately and added many new features so I can't say for certain. That is a great idea actually. I bet there is a python library that can be used to accomplish that.
@relexelumna5360
@relexelumna5360 4 ай бұрын
@@videotronicmaker Thanks for the clarity. Many youtubers didn't talk abt this except you I think. I really wish they integrate this feature. It will be a game changer once and for all!!
@mountainmonkey15
@mountainmonkey15 4 ай бұрын
Hopefully Open WebUI will support this server interface in the future.
@Techn0man1ac
@Techn0man1ac 5 ай бұрын
It's need more context
@Techn0man1ac
@Techn0man1ac 5 ай бұрын
KITT, is that car KITT?
@videotronicmaker
@videotronicmaker 5 ай бұрын
Yes. Next will be Twiggy.
@Techn0man1ac
@Techn0man1ac 5 ай бұрын
@@videotronicmaker 👍
@XinYue-ki3uw
@XinYue-ki3uw 5 ай бұрын
I had fun watching! Great learning pal.
@videotronicmaker
@videotronicmaker 5 ай бұрын
Glad you enjoyed it
@Visdagon
@Visdagon 5 ай бұрын
I have been trying to find a Free way to add a local TTS to local LM Studio in such a way that I could walk around the house with a headset and converse with an LM Studio LLM. Something at least on the level of coqui tts voice quality.
@videotronicmaker
@videotronicmaker 5 ай бұрын
Yes. So have I. That is one goal. I hope to get there soon. For now GPT 3.5 is the closest option. Maybe GPT 4 o will be the next best. However, I haven't gotten the headset version working yet
@Visdagon
@Visdagon 5 ай бұрын
@@videotronicmaker Yeah 4o looked pretty awesome, but Im sure it will be a while before its available to put on a home PC.. if its made public at all
@amrohendawi6007
@amrohendawi6007 5 ай бұрын
very nice video. comprehensive and easy to follow
@nashad6142
@nashad6142 6 ай бұрын
Bro make more content don't give up 😢
@nashad6142
@nashad6142 6 ай бұрын
Omg this is f up
@Beauty.and.FashionPhotographer
@Beauty.and.FashionPhotographer 6 ай бұрын
Grok's LLM 334Gb on an external SSD card and on a M2Pro Mac , can it be used with LM studio ?
@videotronicmaker
@videotronicmaker 6 ай бұрын
I haven't tried it yet. I see some gguf Grok models on Hugging Face. Give it a shot. But I would not use a file that size on an SD card. I would use a file smaller than 15gb on an internal SSD drive otherwise you will have to wait 2 days to get a response to "Hello."
@Beauty.and.FashionPhotographer
@Beauty.and.FashionPhotographer 6 ай бұрын
@@videotronicmaker external thunderbolt 4, newest version , with a throughput of 40Gb /sec, and a external NVME 20 GB/sec 2 TB ,..not an SD ...LOL
@Artificial-Cognition
@Artificial-Cognition 3 ай бұрын
Typo? If you have a 334GB LLM then you'll need to run it on cloud hardware because otherwise you'd need 334GB of VRAM or RAM in order to run it locally. I tried a 60GB model and it was generating one token per minute. Not per second, per minute 😂
@genericwannabe
@genericwannabe 6 ай бұрын
Do we have to install the openai package? I mean we are running locally, why do we need that?
@videotronicmaker
@videotronicmaker 6 ай бұрын
As far as I know, yes. If you're using software that incorporates the OpenAI library to run a local inference server, even if you're not directly using OpenAI's models, there could still be benefits. For example, the software might leverage the OpenAI library for compatibility, ease of integration, or additional functionalities provided by the library, such as optimized model loading, efficient inference processing, or support for various model architectures. In this scenario, using the OpenAI library within the software could streamline the setup and operation of the local inference server, enhancing its performance and capabilities. You might also want to read the GitHub repo info for the openai library as it contains more information regarding this. github.com/openai/openai-python And just to be clear, the openai library is not the same thing as the openai API or the chat GPT llm. The library contains all the other things required to use an llm. Everything is still local
@ChuCannon
@ChuCannon 7 ай бұрын
This is so helpful!! Thank you for sharing! :)
@videotronicmaker
@videotronicmaker 6 ай бұрын
Glad it was helpful!
@vedforeal7835
@vedforeal7835 7 ай бұрын
getting an error that system_message.txt nit found
@videotronicmaker
@videotronicmaker 7 ай бұрын
Make sure you first create the file named system_message.txt. Second, make sure you put the correct path to that file in your code.
@jhin6324
@jhin6324 7 ай бұрын
Is there the possibility of choosing in which language the model responds to me? greetings!
@videotronicmaker
@videotronicmaker 7 ай бұрын
As far as I know there are two steps you can take to accomplish this. First, choose a model that speaks in your preferred language and then speak to the model in that language. Next, you can specify in the system prompt / system message that the model should always respond in a particular language. I have not attempted this yet because I do not speak any other language other than English however this would be my first approach if I wanted to do this.
@igbomeziemichael1929
@igbomeziemichael1929 7 ай бұрын
Great video man. I believe the issue you had with the original code is to simply install the openai third party library using "pip install openai" in your vscode cmd terminal. That worked for me.
@videotronicmaker
@videotronicmaker 7 ай бұрын
Thanks for the comment. I tried that. For some reason it didn't work. I may try one more time. I definitely have that library installed in my env.
@ashaghar666
@ashaghar666 7 ай бұрын
Bro you are the best, keep making videos,
@glenishenriquez5300
@glenishenriquez5300 7 ай бұрын
Amazing!!!
@Raspupin
@Raspupin 8 ай бұрын
Thank you! OpenAI changed the way you interact with their key when using API so it made most of the videos around YT from 3-2 months ago kind of missing out on how to use your key especially when using local machine such as the LM Studio.. great help!
@videotronicmaker
@videotronicmaker 8 ай бұрын
I'm glad to know I'm not the only one that was having trouble with that. I'm starting to think it was just me.
@madushandissanayake96
@madushandissanayake96 8 ай бұрын
Ask this question from the Gemma 2B model " Who is the first person to set foot on the moon" . You will get an amazing answer 😂
@videotronicmaker
@videotronicmaker 8 ай бұрын
That was funny! Thanks for the laugh. Gemma said, "There is no evidence or record of a person setting foot on the moon." Well...at least it's consistent. 🤣
@madushandissanayake96
@madushandissanayake96 8 ай бұрын
@@videotronicmaker yeah 😂, may be Google has begun to use data from an alternate universe to train these AI models. That's why Google's AI products are behaving so weirdly recently.
@videotronicmaker
@videotronicmaker 8 ай бұрын
No matter what I change with the Hugging Face model hyperparameters via LM Studio it responds the same. So that is probably my error because when I go on Vertex AI, choose the Gemma model and use these settings on the right where it says, "Try out Gemma" : temperature = .8 top-p = .7 top-k = 30 ** Gemma responds: "Neil Armstrong was the first man to walk on the moon. So the answer is Neil Armstrong. I hope this helps! Please let me know if you have any further questions.**Best regards,** **The Answer Guy****Additional information:** Neil Armstrong was born in 1930 and was an American astronaut. He was the first human to set foot on the moon on July 20, 1969.He was a pioneer in the field of space exploration and his accomplishment is one of the greatest in human history. I hope this additional information is helpful.**" Here is the link to where I got that response: console.cloud.google.com/vertex-ai/publishers/google/model-garden/
@madushandissanayake96
@madushandissanayake96 8 ай бұрын
@@videotronicmaker Thank you so much for the answer, I still haven't tried to use it on vertex AI, so I will try it now. Thanks!
@videotronicmaker
@videotronicmaker 8 ай бұрын
Nope. I was wrong. I think I had the 7B selected in Vertex AI. I tried again to verify and no matter what, it said , "...no evidence..." For now, here is my conclusion. Google states: USE CASES Content Creation and Communication Text Generation: These models can be used to generate creative text formats such as poems, scripts, code, marketing copy and email drafts. Chatbots and Conversational AI: Power conversational interfaces for customer service, virtual assistants, or interactive applications. Text Summarization: Generate concise summaries of a text corpus, research papers, or reports. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I don't think the 2B models are trained on enough data to know the answer. The 7B does. I'm guessing that this is an example of the compromise when we choose a small model. I am making a video of my user experience now.
@errorgradov8050
@errorgradov8050 8 ай бұрын
OMG bro i wouldn't notice such thing between versions,thanks a lot i was really sad that i wasn't able to run 2b model 💀now everything is okay
@Alex29196
@Alex29196 8 ай бұрын
i tried yesterday on hugging face playroom, and the 8k model, and the result was pretty bad.
@videotronicmaker
@videotronicmaker 8 ай бұрын
I definitely understand. The way I look at it is that it's not going to perform at the level of GPT 3.5 and 4 or at the level of Gemini Pro and Ultra however, out of all the small and fast models that you can find on hugging face I really believe this is the absolute best one. It has the ability to brainstorm and have conversations but it's definitely no GPT 3.5. I see it as a great way to get started on a local server if you have a small or low end computer. It's great for testing out and I believe that there is great potential for it to be trained and fine-tuned. I guess the short of it is that it may be the best starting point so far for models at that size. I would definitely be interested to hear some details of your experience because I am getting ready to make a part two to this where I go a little more in depth and take my time a little bit and make a more organized video. I made this video last night at 3:00 am and I was scrambling because it was a breaking news situation. Today I want to give it a little more time and use the q8 version.
@karanamvenkatesh4099
@karanamvenkatesh4099 8 ай бұрын
How to use it?
@videotronicmaker
@videotronicmaker 8 ай бұрын
It's coming out soon. Not released yet.
@hannahpadilla2699
@hannahpadilla2699 8 ай бұрын
Wow, everything in the video looked so real yet they were all created by Open AI, it's amazing. Can't wait for more content!!
@Alex29196
@Alex29196 8 ай бұрын
Thanks for your dedication, your content is top level.
@jagsdesign
@jagsdesign 8 ай бұрын
pretty cool stuff and may be as we generate more options there will be a way to build an open source TTS model for the right job. Thanks
@videotronicmaker
@videotronicmaker 8 ай бұрын
All instructions and files are in the GitHub repo linked in the description.
@garylarson3751
@garylarson3751 8 ай бұрын
is there a shield like this with access to the digital pins for the mega 2560 that you know of.
@videotronicmaker
@videotronicmaker 8 ай бұрын
ElectroCookie has this one for $15. It's a 2 pack! I made a video about ElectroCookie shields for the Uno. They make good shields. This seems to be the best answer: www.amazon.com/ElectroCookie-Arduino-Prototype-Stackable-Expansion/dp/B0841ZFP1C/ref=sr_1_13?crid=CZFWT2PHTQUW&keywords=arduino+proto+shield&qid=1707607942&s=electronics&sprefix=arduino+proto+shield%2Celectronics%2C384&sr=1-13 This is the one I bought but it is not available right now: www.amazon.com/gp/product/B0169WHVGS/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1 Elegoo has this but it's a kit and costs $65: www.amazon.com/EL-KIT-008-Project-Complete-Ultimate-TUTORIAL/dp/B01EWNUUUA/ref=sr_1_1_sspa?crid=2W8V77GCU2ZX8&keywords=arduino+mega+kit&qid=1707607831&s=electronics&sprefix=arduino+mega%2Celectronics%2C386&sr=1-1-spons&ufe=app_do%3Aamzn1.fos.006c50ae-5d4c-4777-9bc0-4513d670b6bc&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1
@videotronicmaker
@videotronicmaker 5 ай бұрын
Shield without headers soldered on. store-usa.arduino.cc/products/arduino-mega-proto-shield-rev3-pcb
@videotronicmaker
@videotronicmaker 8 ай бұрын
I have been trying throughout the day to install the Gemini app and I just saw that they have removed it from the Play store. I am on the east coast USA.
@DesignDesigns
@DesignDesigns 8 ай бұрын
Thank you.....Very helpful.
@videotronicmaker
@videotronicmaker 8 ай бұрын
Glad it was helpful!
@Alex29196
@Alex29196 8 ай бұрын
i Like the aproach of your content. Congrats!
@videotronicmaker
@videotronicmaker 8 ай бұрын
I appreciate that!
@hannahpadilla2699
@hannahpadilla2699 8 ай бұрын
Great video! This really helped me a lot especially since I've been looking for a more detailed explanation!
@videotronicmaker
@videotronicmaker 8 ай бұрын
Glad to hear it!
@Alex29196
@Alex29196 8 ай бұрын
Cool bro, please integrate it with ai style tts instead of local tts. thanks !!
@videotronicmaker
@videotronicmaker 8 ай бұрын
Definitely. Coming shortly.
@hannahpadilla2699
@hannahpadilla2699 8 ай бұрын
I found this video very helpful!!
@videotronicmaker
@videotronicmaker 8 ай бұрын
Glad I could be of service ;-)
@videotronicmaker
@videotronicmaker 8 ай бұрын
Here you go. Better natural language processing. Latest video with code: kzbin.info/www/bejne/ooTRqod5aNGba9E
@bellaandromeda8331
@bellaandromeda8331 9 ай бұрын
It came out almost the same as my recording. You were in Stuart and I live in Port St Lucie.
@videotronicmaker
@videotronicmaker 9 ай бұрын
Yes. I saw your video. It appears that my shot starts just after yours ended. It was a very unique thing to see in the sky. It was unlike anything I ever saw before.
@ElektronikMirek1976
@ElektronikMirek1976 10 ай бұрын
Wielkie dzięki, dopiero zaczynam z Visuino. Bardzo potrzebny instruktaż.
@videotronicmaker
@videotronicmaker 10 ай бұрын
You are very welcome.