Пікірлер
@clayherz_
@clayherz_ Ай бұрын
sir what if i dont have an acc of google cloud biling enabled, so i cant deploy it to google cloud run?
@noone-dc4uh
@noone-dc4uh Ай бұрын
are you running models on GPU or ANE?
@_cestd9727
@_cestd9727 2 ай бұрын
hey really great video, you are super clear explaining complex concepts, thanks!
@DragonkinHero
@DragonkinHero 3 ай бұрын
is it possible to set a custom url? or if its not possible on google cloud itself, is there some way to do so while still having google cloud have your container?
@petergreis
@petergreis 4 ай бұрын
Why the x86 version of rust?
@hireshbremanand661
@hireshbremanand661 4 ай бұрын
Saved me a lot of time. Thank you so much!
@rick75916
@rick75916 5 ай бұрын
Thanks Faizi for sharing the instructions! Following the steps I faced 2 issues but luckily could solve them: 1) I could not create the rosetta terminal. Executing "env /usr/bin/arch -x86_64 /bin/zsh --login" in a terminal solved this. (btw I'm using os version "Sonoma 14.3") 2) After having installing pytorch and tensorflow, the tests failed because module "chardet" could not be found. This could be solved by running "pip install chardet". After that all worked fine. Thanks again!
@raghavmangla2481
@raghavmangla2481 5 ай бұрын
why is mac so costly if everything is difficult on it
@naveenpoliasetty954
@naveenpoliasetty954 5 ай бұрын
now how do I use that ml_env I am able to activate it on terminal but I how do make it on my .py files, How do I add this ml_env onto my folders
@aimademerich
@aimademerich 6 ай бұрын
Wow I did it!! had a few extra steps for me, ended up doing it in iTerm in order to duplicate the terminal to make it Rosseta and that gave me a few extra steps I think but chatGPT worked me around a few errors I had but I got it, 99.9%! Thank you!
@candikahandaru3414
@candikahandaru3414 8 ай бұрын
is it free?
@emmastro
@emmastro 8 ай бұрын
Hey, is cloud run a good option for streamlit though? Streamlit session management for example is in memory, so the session data will be lost every time the instance is shutdown given that's how cloud run or serverless work in general. How did you go about that?
@othoapproto9603
@othoapproto9603 8 ай бұрын
Ha Ha, and that's why I left apple to the dark side.
@mariaprokofieva1923
@mariaprokofieva1923 9 ай бұрын
I LOVE YOU DEARLY! seeing [{'label': 'POSITIVE', 'score': 0.9998656511306763}] was the BEST NEWS after two days of back-forth with my M1!! LOVE YOU!
@gustavogallegos1962
@gustavogallegos1962 11 ай бұрын
Anyone following this guide, if you need to run a terminal shell in rosetta on Ventura, just open a terminal window and type 'arch -x86_64 zsh'
@fatimaalhammadi8687
@fatimaalhammadi8687 Жыл бұрын
Thank you so much, this is so helpful. While following your steps I faced many issues and solved most of it. The only part I'm really struggling from is when I try to install tokenizers=0.11.1. The error is that tokenizers=0.11.1 is not available from current channels, and when I tried to download it in version 0.13.3 the transformers will not work :( . would be really great and will save my time, if you could advise me what to do to solve this. thank you.
@gustavogallegos1962
@gustavogallegos1962 11 ай бұрын
if you look at the instructions he erased, git install the tokenizers repo, then cd into the tokenizers/bindings/python directory and do "pip install -e ."
@j220493
@j220493 23 күн бұрын
I solved this installing transformers library first, then installing tokenizer with conda. It worked for me
@BreHuang
@BreHuang Жыл бұрын
thank you so much for taking the time to put this tutorial together. saved me a ton of headache!
@fadhlounmohamed2536
@fadhlounmohamed2536 Жыл бұрын
i think this tutorial is outdated but please confirm if it is not the case , as i only installed pytorch accelerated for m1 and then followed by pip install transformers , then ran the same script proposed by HF transformers as shown in the video in the start to prove that Transformers was installed and it works pretty fast and with no erros . so i think you do not need to install rust . can you please confirm ?
@naveenpoliasetty954
@naveenpoliasetty954 5 ай бұрын
have you installed it @@fadhlounmohamed2536
@jonathan-6948
@jonathan-6948 Жыл бұрын
No idea why this was in my feed. Don't even know huggingface
@pingstarnight3801
@pingstarnight3801 Жыл бұрын
Thank you so much Faizi! This is so helpful! (:
@mohammedkalshakhori
@mohammedkalshakhori Жыл бұрын
Thank you! I highly recommend this tutorial.
@noyshulman4515
@noyshulman4515 Жыл бұрын
You are a true hero!
@GetPureEnergy
@GetPureEnergy Жыл бұрын
Thanks for this. Unfortunately, I couldn't get past step 2. When I put in the command "conda create --name ml_env python=3.8" I get back "command not found: conda". I tried it a few times with the same result. I have no idea how to proceed. Any guidance would be greatly appreciated. I'm not a coder or programmer so this is all foreign to me. My goal is to get Dreembooth running on my MacBook Pro (M1 Max chip).
@mariaprokofieva1923
@mariaprokofieva1923 9 ай бұрын
you need to get conda install first - see his notes!
@pagemaestro
@pagemaestro Жыл бұрын
This is an amazing guide, thank you!
@zakoyaki
@zakoyaki Жыл бұрын
You are a star!!!!!!!! Thank you so so much!!!
@charlene1413
@charlene1413 Жыл бұрын
hi could I check if this works on Jupiter notebook? im trying to do hugging face there but am unsure how to do it
@DarshanGowda
@DarshanGowda Жыл бұрын
Thanks for the video, I was also looking to add in google's Oauth to authorize my users through Institution gmail. But it failed as I was encountering version conflict of protobuf, Please do let me know if you have any reference for this.
@jslime
@jslime Жыл бұрын
Hi there, thank you for your video and helpful tips. If the video goes well; would love to see you run a tutorial on doing one of your fine-tunes to see how it goes.
@hamzehalshibly6182
@hamzehalshibly6182 Жыл бұрын
thank you so much ! but how to get this work with jupyter notebook
@hamzehalshibly6182
@hamzehalshibly6182 Жыл бұрын
in VS code ...
@TomParish
@TomParish Жыл бұрын
Hey, I didn't know about these details. Big thank you. Really. Appreciate the time you took to record and post this.
@brucequinn
@brucequinn Жыл бұрын
You might want to change the head line to TUNING…
@YasinNabi
@YasinNabi Жыл бұрын
if you start a business or make money, you need to master a high income skill to be able to do it... based on my own experience. enjoyed watching your video... a fellow creator
@digitalcreatoravi
@digitalcreatoravi Жыл бұрын
Hey, great content. Is it possible to get into contact with you to discuss a possible partnership?
@faizififita3010
@faizififita3010 Жыл бұрын
Most definitely! Let's chat via LinkedIn, you can find me by the same name
@Max-ci9cv
@Max-ci9cv Жыл бұрын
that mouse pointer scared the hell out of me
@khadembadiyan3687
@khadembadiyan3687 Жыл бұрын
yeah, wtf Faizi!
@chaseclingman
@chaseclingman Жыл бұрын
super helpful thank you.
@lot25
@lot25 Жыл бұрын
I was also unaware of hyperparameters. Keep up the sharing of your process. Lots of newbies out here as well.
@czr5014
@czr5014 Жыл бұрын
Could you make a video on how to create a dataset for n00bs. Would get a lot of hits, I’m trying to build a chatgpt based on ancient texts, to ask generic questions, would appreciate it, thanks, also where did you learn how to do the datasets, any good material I could review? Thanks again
@faizififita3010
@faizififita3010 Жыл бұрын
Great recommendation! I'll try make one soon. I would check out Brillibits on KZfaq, he has a bunch of really good content
@SwimnBird
@SwimnBird Жыл бұрын
Same actually!
@arailymjussupova4380
@arailymjussupova4380 Жыл бұрын
Thank you so much, Faizi!
@Nova-Rift
@Nova-Rift Жыл бұрын
Thanks
@etaredaferaphaeljuliethai1220
@etaredaferaphaeljuliethai1220 Жыл бұрын
Hi Faizi, how is it going? Nice video, how about we hop on a call to discuss you helping fine tune the model to suit our business case?
@faizififita3010
@faizififita3010 Жыл бұрын
Shoot me a message on LinkedIn 😁
@steam2277
@steam2277 Жыл бұрын
This is awesome thanks bro!
@markuswj1333
@markuswj1333 Жыл бұрын
Hi, downloading rust using your method got me the wrong version : stable-aarch64-apple-darwin installed. Now when trying to uninstall using 'rustup self uninstall' i get this error: command not found: rustup. Anyone else encountered the same problem?
@xxish123
@xxish123 Жыл бұрын
any update on the ci cd vid?
@faizififita3010
@faizififita3010 Жыл бұрын
Ahh yes, thanks for checking in. I got hung up on trying to resolve an issue (most cases people won't be bothered by it) and wanted to make sure I covered all my bases before doing a walk through. But its been a while so I'll probably make one anyway and you guys can help resolve the issue and I'll make a followup video. I'll try get it done this week, sorry for the wait.
@euvieeugenio
@euvieeugenio Жыл бұрын
Thanks for the detailed walkthrough. I have carefully followed your step and ran successfully until the part of installing “tensorflow-deps” where it says “PackagesNotFoundError: The following packages are not available from current channels: tensorflow-deps”. It’s been days looking and trying for solution for this m1 machine. No luck yet. Hope you care to help 😊
@faizififita3010
@faizififita3010 Жыл бұрын
Did you follow the instructions on apple's developer page for installing tensorflow metal and all it's dependancies? The link is here developer.apple.com/metal/tensorflow-plugin/
@euvieeugenio
@euvieeugenio Жыл бұрын
Yes. But couple of things I didn’t have when I tried to do the process, miniconda and miniforge. Do I need them first? Will re-run the process
@faizififita3010
@faizififita3010 Жыл бұрын
@@euvieeugenio Oh yeah definitely, the apple developer documentation that I linked above specifies using a conda environment, specifically via miniconda. Follow those instructions meticulously and then let me know if you still have problems. Good luck!
@euvieeugenio
@euvieeugenio Жыл бұрын
@@faizififita3010 got them working just few hours ago man. Thanks a lot 🙏🏻 currently running my BERT models now.
@faizififita3010
@faizififita3010 Жыл бұрын
@@euvieeugenio That's awesome!! Happy coding :)
@jaxton6448
@jaxton6448 Жыл бұрын
ᑭᖇOᗰOᔕᗰ ☀️
@mcadasdas
@mcadasdas Жыл бұрын
Many thanks for your nice article on the medium and this helpful video. Enjoyed every second of it. When you have the availability and the resources, could you please film the 2nd part (linking to github, and using continuous deployment), Sir? Thanks again
@faizififita3010
@faizififita3010 Жыл бұрын
Planning to post it this week! Sorry for the wait
@furry2fun
@furry2fun 11 ай бұрын
@@faizififita3010 have u posted it yet?
@erensarnic4058
@erensarnic4058 Жыл бұрын
I did the same process as you did. Deployed it without any errors but when I open the public url the app is stuck in "Please Wait..." screen. Did you encounter such issue?
@faizififita3010
@faizififita3010 Жыл бұрын
Ahh yes, Streamlit has documentation regarding this specific issue here docs.streamlit.io/knowledge-base/deploy/remote-start. Hope this helps!
@erensarnic4058
@erensarnic4058 Жыл бұрын
Yeah tried them, unfortunately the result is the same.. However I managed to deploy it on heroku. Will try to deploy on aws, gcp or azure. Thank you for the video and response anyway 🙌
@xxish123
@xxish123 Жыл бұрын
I'm using AWS but I can't get the ci/cd aspect of docker to work, so a vid on google continuous deployment would be good.
@faizififita3010
@faizififita3010 Жыл бұрын
Awesome, I'll make that happen this week! Thanks for the recommendation, stay posted 😁
@xxish123
@xxish123 Жыл бұрын
@@faizififita3010 you got linked in my guy?
@faizififita3010
@faizififita3010 Жыл бұрын
@@xxish123 I do (under the same name as my KZfaq), but I haven't updated it in a while. I should probably change that soon 😂
@xxish123
@xxish123 Жыл бұрын
what interpreter did you use after? I got it working in CL however I need it to get it working in VS code but u get a "None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used." error
@faizififita3010
@faizififita3010 Жыл бұрын
Did you select the rosetta interpreter for your vs code CL?
@xxish123
@xxish123 Жыл бұрын
@@faizififita3010 yeah , I fixed it. had some issues dockerizing the app, but got that working as-well. (one pointI faced was you need to download the tensor flow file apple gives you.) But this video deserves more views and attention than it gets.
@faizififita3010
@faizififita3010 Жыл бұрын
@@xxish123 Im so glad you got it figured out! It really means a lot that you found the video helpful
@dikshyakasaju7541
@dikshyakasaju7541 Жыл бұрын
I had installed transformers on M1 few months ago without having to install rust compiler but today I happened to uninstall Miniconda & Miniforge and after reinstalling them, I tried reinstalling transformers too and stumbled upon an error prompting to install rust compiler. Tried installing rust however encountered another error: "could not amend shell profile: '/Users/username/.bash_profile': could not write rcfile file: '/Users/username/.bash_profile': Permission denied (os error 13)" Was able to install only using brew however the arch type is arm64 instead of x86error, so that didn't work either. Sat through the entire video and since you'd created an environment to install Tensorflow and PyTorch which I already had in my M1 couple of months ago, activated the env and ran the following command: "conda install -c huggingface transformers" and it's working now. Although I do remember installing transformers using "pip install transformers" before I messed up my system today. To my surprise, I didn't have to install rust compiler although I tried to but failed and just activating the env and running this line: "conda install -c huggingface transformers" did the job. But thank you so much..Was helpful although I didn't have to go through the pain of installing everything.
@faizififita3010
@faizififita3010 Жыл бұрын
That's awesome, I'm really glad the video helped you! Yeahh in some cases you don't need to have Rust installed for Transformers to work. Transformers itself doesn't need Rust, but if you use Tokenizers in any way then you will need Rust. For example when you try to import 'pipeline' from Transformer youre going to need Rust since pipeline uses Tokenizers.
@liambetts
@liambetts Жыл бұрын
Dope video. Keep it up!