Posts

Showing posts with the label Data Science

Falcon-180B Takes Open Source LLMs Closer to GPT-4

Image
Just a few months ago, The Technology Innovation Institute (TII) in the United Arab Emirates (UAE) shook the world of foundation models with the release of Falcon LLM, setting a new benchmark for open-source AI Falcon-180B, the latest masterpiece from TII, is here to rewrite the rules once again! This colossal model boasts a jaw-dropping 180B parameters, making it a true game-changer in the world of AI. Trained on a staggering 3.5 trillion tokens, utilizing 4096 GPUs and a whopping 7M GPU hours, Falcon 180B stands as a testament to human ingenuity and the limitless potential of open-source AI It is touted as the "Llama 2" killer due to its higher performance as a pretrained-only model. As of September 2023, Falcon 180B ranked as the highest-performing pretrained LLM on the Hugging Face Open LLM Leaderboard . The model is big. Inference requires 640GB of memory — a mere eight A100 80GB GPUs — when quantized to half-precision (FP16). Alternatively, we can quantize down to int4,...

Face Mask Detector using Deep Learning (PyTorch) and Computer Vision (OpenCV)

Image
Overview The World Health Organization (WHO) reports suggest that the two main routes of transmission of the COVID-19 virus are respiratory droplets and physical contact. Respiratory droplets are generated when an infected person coughs or sneezes. Any person in close contact (within 1 m) with someone who has respiratory symptoms (coughing, sneezing) is at risk of being exposed to potentially infective respiratory droplets. Droplets may also land on surfaces where the virus could remain viable; thus, the immediate environment of an infected individual can serve as a source of transmission (contact transmission). Wearing a medical mask is one of the prevention measures that can limit the spread of certain respiratory viral diseases, including COVID-19. In this study, medical masks are defined as surgical or procedure masks that are flat or pleated (some are shaped like cups); they are affixed to the head with straps. They are tested for balanced high filtration, adequate breathability a...

Decision Tree Algorithm in Machine Learning

Image
Decision Tree in ML Decision Tree algorithm belongs to the family of supervised machine learning algorithm. It is simple and popular and is based on choices as suggested by its name. This algorithm works both for continuous as well as choice variables i.e. it can be used for both classification as well as regression problems. The article unfolds in three sections, commencing with a general introduction of the algorithm, followed by the mathematical concepts that builds the blocks for the same and we shall conclude with a code walk through on building a  Decision Tree model in Python using Loan approval data set. 1. Introduction Decision Tree learns decision rules inferred from prior data that we use to train it. The motive is to predict the target variables or predict the class based on these decision rules. As the name suggests, the algorithm solves problems by using a tree representation. Each internal node of the tree are attributes and the leaf nodes corresponds to the...