Reviewing Your Projects!
15:11
2 жыл бұрын
Пікірлер
@DontRunSean
@DontRunSean 20 сағат бұрын
0:18 ayo that glitch tho. she is ai for sure xD. the mouse moved and all tho
@felipegaeteroman
@felipegaeteroman 23 сағат бұрын
I use cloudscraper 👍🏻
@marcin3136
@marcin3136 Күн бұрын
That's why all Senior programmers have this feeling (internal/ deep need?) to repeat OOP 😂🤣😂🙃🤷
@amegomusictv6535
@amegomusictv6535 Күн бұрын
I'm so focused this tutorial is so great and who makes is beautiful ❤️😍
@talosong7409
@talosong7409 2 күн бұрын
I rarely comment on youtube videos, but I gotta mention just how much time I saved from the MEIPASS fix from your video. Absolute lifesaver.
@PythonSimplified
@PythonSimplified Күн бұрын
Yeeyyy!!! I knew folks will find it handy!! I also got stuck on it for a while until I finally figured it out 😉
@faisalali5025
@faisalali5025 2 күн бұрын
transparent glass table is an ugly idea...
@krishnendu_b
@krishnendu_b 2 күн бұрын
Thank you for mentioning the problems you encountered as well as how to solve them! I was facing similar problems when I was digging through StackOverflow and you saved me a bunch of time. I wasn't expecting this to be so detailed, truly a great guide. I don't usually leave comments but this is one of those niche things I don't see covered in such a simple manner. Subbed!
@rnpk9572
@rnpk9572 2 күн бұрын
i hope to find a tutorial to make my application available online with the same sq lite database . so any one can access it from around the world
@rnpk9572
@rnpk9572 2 күн бұрын
thanks this is the one
@rnpk9572
@rnpk9572 2 күн бұрын
Forget about the tutorial let me say you are really beautiful with due respect. 😍
@ISOPOINTQCS
@ISOPOINTQCS 2 күн бұрын
Your magic and energies inject life into my computer, and all the 0101010101010 that are in it... Thank you
@michaelomosebi6374
@michaelomosebi6374 3 күн бұрын
This video is giving me multiple ideas for new projects. This is indeed Python Simplified!
@francismannion7075
@francismannion7075 3 күн бұрын
Wow that was great ,thank you..
@sadeghkalami1822
@sadeghkalami1822 3 күн бұрын
All I can say, U have a hell of system 3090 RTX + i9-12900. daaaaammmmmn :DDD
@alexnefayne4266
@alexnefayne4266 3 күн бұрын
Looking good
@Ashes3123
@Ashes3123 3 күн бұрын
Best video on the subject.
@patricktang3377
@patricktang3377 3 күн бұрын
import time import torch # Set up device device = torch.device("cuda" if torch.cuda.is_available() else "cpu") # Check the number of available GPUs num_gpus = torch.cuda.device_count() print(f"Number of GPUs available: {num_gpus}") # Create random matrices matrix_size = 32 * 512 x = torch.randn(matrix_size, matrix_size) y = torch.randn(matrix_size, matrix_size) # CPU computation print("************ CPU SPEED ***************") start = time.time() result = torch.matmul(x, y) print(time.time() - start) print("verify device:", result.device) # Move tensors to GPU(s) if num_gpus > 1: # Split the tensor into chunks and move to different GPUs x_chunks = x.chunk(num_gpus, dim=0) y_chunks = y.chunk(num_gpus, dim=0) x_gpus = [x_chunk.to(f"cuda:{i}") for i, x_chunk in enumerate(x_chunks)] y_gpus = [y_chunk.to(f"cuda:{i}") for i, y_chunk in enumerate(y_chunks)] else: x_gpus = [x.to(device)] y_gpus = [y.to(device)] torch.cuda.synchronize() # GPU computation for i in range(3): print("************ GPU SPEED ***************") start = time.time() if num_gpus > 1: # Perform matrix multiplication on each GPU and combine results result_gpus = [torch.matmul(x_gpus[i], y_gpus[i]) for i in range(num_gpus)] result_gpu = torch.cat(result_gpus, dim=0).to( device ) # Move back to primary GPU or CPU else: result_gpu = torch.matmul(x_gpus[0], y_gpus[0]) torch.cuda.synchronize() print(time.time() - start) print("verify device:", result_gpu.device) Use this code if you have dual-GPUs in your system. This is the testing results for RTX3060 vs. Ryzen7 3700 (8-core) Number of GPUs available: 1 ************ CPU SPEED *************** 27.29117774963379 verify device: cpu ************ GPU SPEED *************** 1.6249408721923828 verify device: cuda:0 ************ GPU SPEED *************** 1.2608423233032227 verify device: cuda:0 ************ GPU SPEED *************** 1.2715833187103271 verify device: cuda:0
@cat108gbo
@cat108gbo 4 күн бұрын
How shallow are the men who comment on your appearance. To me, the only thing worth a comment is your hot angelic voice 🔥
@imoniteochie6355
@imoniteochie6355 4 күн бұрын
i like the way you teach it makes it so easy to under stand as a beginner
@geee7672
@geee7672 4 күн бұрын
Hi, I work in Photoshop and Adobe Illustrator, I have a plan to make a GUI that I want to customise (automate) my tasks. I am in flexographics and Frontend web. Can we have a private discusion, I send you a dummy project to be done in TKinter. You send me a quote for that automation project and the following prototypes will be discussed later. I would appreciate if we discuss this tomorrow.
@edited_official
@edited_official 4 күн бұрын
Hi PythonSimplified Admin! Thanks a lot from Karakalpakstan Republic❤
@LeonidasParigoris
@LeonidasParigoris 4 күн бұрын
Very nice video, small tip: its pronounced A'ttribute or A'ttributes when it's a noun, and attri'bute or attri'butes when it's a verb.
@madpallilalitha7147
@madpallilalitha7147 4 күн бұрын
You can explain the code for upi application building for fake logo detection system
@tuapuikia
@tuapuikia 4 күн бұрын
Lenovo legion is the best programmer laptop 😊😊😊
@realCleanK
@realCleanK 4 күн бұрын
Thank you!
@leahnjr
@leahnjr 5 күн бұрын
I get an error requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /deepset/roberta-base-squad2/resolve/main/config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))"), '(Request ID: b5581677-f42f-4f2a-93b9-f14fc90ea433)')
@marcioalexandre7610
@marcioalexandre7610 5 күн бұрын
Tech Kitty! ❤
@harundemirtas1181
@harundemirtas1181 5 күн бұрын
you are so beautiful as always
@superhacker1569
@superhacker1569 5 күн бұрын
why using root.geometry is a bad method i always use it in my projects root.update() sw=root.winfo_screenwidth() sh=root.winfo_screenheight() fw=root.winfo_width() fh=root.winfo_height() w=(sw-fw)//2 h=(sh-fh)//2 root.geometry("%sx%s+%s+%s"%(fw,fh,w,h) note: geometry method can be dynamic depending on the content inside
@sma1gdz
@sma1gdz 5 күн бұрын
very helpful informations
@ananana264
@ananana264 5 күн бұрын
I like you and the way you explain things. I need to hear this. Thank you.
@Conceptcenter-ut4yi
@Conceptcenter-ut4yi 6 күн бұрын
Thank you mariya for your lecture it was really helpful
@treedigital346
@treedigital346 6 күн бұрын
forgive me the only reason to subscribe this chanel and watching it your smile ,slang and your laugh not your coding
@dayanandaksh
@dayanandaksh 6 күн бұрын
What's the name of the bot again🤔
@PythonSimplified
@PythonSimplified 5 күн бұрын
The model that carries that question-answering mechanism is called Roberta-base. You can load it from Hugging Face with: from transformers import pipeline roberta_base = pipeline(model = "deepset/roberta-base-squad2") Then you can ask it anything with: roberta_base(question = "What Batman likes?", context ="Batman likes cars") And then it returns a dictionary that stores the answer ("cars"), the probability (a percentage indicating how confident the model is that the answer is correct), etc. Cheers! 😀
@Nickc86
@Nickc86 6 күн бұрын
Beautiful home
@PythonSimplified
@PythonSimplified 5 күн бұрын
Thank you 😊
@Edu77717
@Edu77717 6 күн бұрын
You explain in such a wondefull way!
@ridabrahim7604
@ridabrahim7604 6 күн бұрын
These bots require powerful computers
@PythonSimplified
@PythonSimplified 5 күн бұрын
I'll show you a workaround in the next few tutorials, but generally, you can solve it with GPU processing, TensorRT, or Inference Microservices 😉 If you work with a small context in the size of a sentence or two - the model will respond immediately. When you load a giant book like Genesis with thousands of sentences - the prediction process takes a long time as the model learns the context before it can reply. For example: even though "let there be light" is in one of the first sentences in Genesis - the model doesn't stop searching when it finds it because it may appear multiple times in the text. So it goes through the entire book, and only then it determines who said "let there be light" more frequently.
@ridabrahim7604
@ridabrahim7604 5 күн бұрын
@@PythonSimplified looking forward for these tutorials, it would be fantastic to think about deploying these bots on a remote server
@normandmendoza
@normandmendoza 6 күн бұрын
You will Ace your midterms!!💯
@PythonSimplified
@PythonSimplified 5 күн бұрын
Thank you, dear! I sure hope so! 😀
@marufmazumder8294
@marufmazumder8294 6 күн бұрын
conda install -c pytorch pytorch ====> did not include CUDATOOLKIT, why?
@jonnysegway7866
@jonnysegway7866 6 күн бұрын
Your mouse is haunted!
@pancakeaddict4320
@pancakeaddict4320 6 күн бұрын
Thank you!
@VOIDMW
@VOIDMW 6 күн бұрын
Why do you still use the discontinued brackets text editor when there's Microsoft visual studio code? enlighten me please.
@PythonSimplified
@PythonSimplified 6 күн бұрын
Does it really matter what editor or IDE you use? If it's free, requires no setup, and is easy to fit in a vertical KZfaq short - I'm a happy camper! 😉
@paanvaannd
@paanvaannd 5 күн бұрын
“Does it really matter what editor you use?” While I agree that it shouldn’t, people can get weirdly militant about their editor choice… see the vim vs. emacs holy war. - Vim user
@paulocoelho558
@paulocoelho558 6 күн бұрын
No Mariya! I want to chat with you not with your bot! 😛🤣🤩
@PythonSimplified
@PythonSimplified 6 күн бұрын
I'll be back to live streaming shortly... my university midterms are just around the corner 🙃
@paulocoelho558
@paulocoelho558 5 күн бұрын
@@PythonSimplified Mariya! I wish you lots of success! 😉😉😽
@destroyer9154
@destroyer9154 5 күн бұрын
​@@PythonSimplifiedhi sister what's ur age please let us know
@jpsuchoski
@jpsuchoski 6 күн бұрын
You have great content presented clearly and concisely. As an educator I've pointed many high school women to your channel, you are a source of encouragement and inspiration to many young women interested in STEM!
@PythonSimplified
@PythonSimplified 6 күн бұрын
Thank you so much for the incredible comment and feedback!!! It means a lot coming from an educator!! 😀😀😀 It's a great honor to inspire the young generation and I really appreciate your support!! 🙏
@austineoganga3595
@austineoganga3595 6 күн бұрын
Interesting 🤔
@PythonSimplified
@PythonSimplified 6 күн бұрын
Try it! By changing the context, you can turn it into lots of cool tools like a customer service assistant, or even a trivia contestant! I can't wait to see what folks will come up with! 😀
@affiliateanimalistic9607
@affiliateanimalistic9607 6 күн бұрын
Omg what a body 😮 of terminal data 😎 boom indeed 🔥
@PythonSimplified
@PythonSimplified 6 күн бұрын
🤣🤣🤣🤣🤣
@nikluz3807
@nikluz3807 6 күн бұрын
can you make a video about what nltk.corpus.genesis.raw(inputData) and nltk.corpus.gutenberg.raw(inputData) are genesis and gutenberg just names you make up? or are they existing models? is context just a tokenized version of the input data ?
@PythonSimplified
@PythonSimplified 6 күн бұрын
Hi Nik, it's been a while! I'm super happy to see you again in the comments! 😀😀😀 The inputData portion of your code represents the name of one of the text files that was downloaded by: nltk.download('genesis') or nltk.download('gutenberg') Where the book of Genesis includes the biblical masterpiece in different languages and different translations. For example: "english-kjv.txt" represents the King James Version ("kjv") in English. Gutenberg, on the other hand, represents the Gutenberg text corpus (large body of text) that currently includes over 70,000 e-books. You can find a full list at: gutenberg.org Alice in Wonderland ("carroll-alice.txt") is one of them, where "carroll" represents the last name of the author. So we are basically using NLTK to access different text files within much larger text corpora. I hope my explanation helps! 😀 If not, please check out how it's explained in the documentation: www.nltk.org/book/ch02.html
@nikluz3807
@nikluz3807 6 күн бұрын
@@PythonSimplified fantastic explanation. I just got a beefy PC now and I’m gonna dive into some LLMs soon so this is a perfect place to start. I might have to check out brackets too. Ps. You made me download anaconda again. lol I tried my hand and python without depending on anaconda for a while and honestly it’s not worth the trouble for me.