Jupyter Notebooks to visualize various topics in Linear Algebra
https://github.com/fastai/numerical-linear-algebra?tab=readme-ov-file
🆔 @Python4all_pro
https://github.com/fastai/numerical-linear-algebra?tab=readme-ov-file
🆔 @Python4all_pro
یک فانکشن کاربردی برای پاکسازی کامل RAM سیستم و GPU VRAM از آبجکتهایی که در ادامهی کد بهشون نیازی ندارین و مشاهدهی فضای اشغالشدهی GPU.
🆔 @Python4all_pro
import gc
import time
def clear_memory():
# Delete variables if they exist in the current global scope
if "inputs" in globals():
del globals()["inputs"]
if "model" in globals():
del globals()["model"]
if "processor" in globals():
del globals()["processor"]
if "trainer" in globals():
del globals()["trainer"]
if "peft_model" in globals():
del globals()["peft_model"]
if "bnb_config" in globals():
del globals()["bnb_config"]
time.sleep(2)
# Garbage collection and clearing CUDA memory
gc.collect()
time.sleep(2)
torch.cuda.empty_cache()
torch.cuda.synchronize()
time.sleep(2)
gc.collect()
time.sleep(2)
print(f"GPU allocated memory: {torch.cuda.memory_allocated() / 1024**3:.2f} GB")
print(f"GPU reserved memory: {torch.cuda.memory_reserved() / 1024**3:.2f} GB")
clear_memory()
🆔 @Python4all_pro
Online database design tool and SQL generator
https://github.com/drawdb-io/drawdb
#پایتون
🆔 @Python4all_pro
https://github.com/drawdb-io/drawdb
#پایتون
🆔 @Python4all_pro
اگه می خواین پایتون بیشتر به صورت Functional بنویسید به این سه تا لایبری یه نگاه بکنید:
1- functools
2- itertools
3- more-itertools (https://more-itertools.readthedocs.io/en/stable/api.html)
#پایتون
🆔 @Python4all_pro
1- functools
2- itertools
3- more-itertools (https://more-itertools.readthedocs.io/en/stable/api.html)
#پایتون
🆔 @Python4all_pro
دوره آموزش بازی سازی موبایلی را امروز با قیمت باورنکردنی با ۹۵٪ تخفیف تهیه کنید
دوره برای ده نفر اول ۹۵ درصد تخفیف داره
بعد از اون تخفیف کم میشه
👇👇👇
zaya.io/jhwfo
با این دوره یه مهارت جالب و جذاب رو ياد بگیرید وبه بازار پرسود ساخت بازی برای موبایل وارد بشید
دوره برای ده نفر اول ۹۵ درصد تخفیف داره
بعد از اون تخفیف کم میشه
👇👇👇
zaya.io/jhwfo
با این دوره یه مهارت جالب و جذاب رو ياد بگیرید وبه بازار پرسود ساخت بازی برای موبایل وارد بشید
🔥 MetaGPT
Metagpt is a framework that converts a simple text description of the problem into a full package of design documentation and code!
🌟 He models the work of an IT company, assigning various roles, such as a product manager, project manager, engineer and others, each of which corresponds to an agent based on a large language model. These agents interact with each other, following standardized operating procedures (SOP), which allows you to effectively develop complex software products.
🔐 License: MIT
🖥 Github
#پایتون #علم_داده
🆔 @Python4all_pro
Metagpt is a framework that converts a simple text description of the problem into a full package of design documentation and code!
🌟 He models the work of an IT company, assigning various roles, such as a product manager, project manager, engineer and others, each of which corresponds to an agent based on a large language model. These agents interact with each other, following standardized operating procedures (SOP), which allows you to effectively develop complex software products.
🔐 License: MIT
🖥 Github
#پایتون #علم_داده
🆔 @Python4all_pro
ERD Lab
Erd Lab is a free online tool designed for professional design and visualization of databases using the “Essence-Svyaz” diagrams (ERD)! It allows you to import existing SQL scripts or create new databases without the need to write code, which simplifies the process of developing and documenting data structures.
🔗 link: https://erdlab.io/#home
#پایتون #علم_داده
🆔 @Python4all_pro
Erd Lab is a free online tool designed for professional design and visualization of databases using the “Essence-Svyaz” diagrams (ERD)! It allows you to import existing SQL scripts or create new databases without the need to write code, which simplifies the process of developing and documenting data structures.
🔗 link: https://erdlab.io/#home
#پایتون #علم_داده
🆔 @Python4all_pro
این دوره کوتاه Secure Coding in Python رو جایی ذخیره کنید و حتما ببینید و برای دوستانتون هم بفرستید تا با آسیبپذیریهای رایج در اپلیکیشنهای پایتون آشنا بشید و بتونید اپلیکیشنهای پایتون امنتری توسعه دهید
https://downloadly.ir/elearning/video-tutorials/secure-coding-in-python/
#پایتون
🆔 @Python4all_pro
https://downloadly.ir/elearning/video-tutorials/secure-coding-in-python/
#پایتون
🆔 @Python4all_pro