Posts

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,...

𝗚𝗿𝗮𝗽𝗵𝗤𝗟 vs 𝗴𝗥𝗣𝗖 vs 𝗥𝗘𝗦𝗧

Image
  Developers can pick from a variety of client-server communication protocols when it comes to designing an application. Utilizing GraphQL, gRPC, and REST is rather common in contemporary projects. Each protocol can provide a variety of advantages depending on the requirements of your application. 𝗚𝗿𝗮𝗽𝗵𝗤𝗟 is a flexible approach for making data requests that focuses on specific requests and provides only what is necessary. The fact that GraphQL is client-driven distinguishes it from other APIs. Instead of handling it the standard way, where the client makes all the decisions. Its 𝗮𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲𝘀 are that it is language agnostic, requests are made through a single endpoint, and it is strongly typed, as it has schemas. 𝗥𝗘𝗦𝗧 is the most popular one. It is a great fit when a domain can be described as a set of resources. REST is a stateless architecture for data transfer. Some 𝗮𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲𝘀 of REST are that is a well-established standard, it is simple to use, and ...

How Two Irish brothers 7 Lines of Code Turned Into a $36 Billion Empire

Image
Two Irish brothers in their 20s outplayed the finance industry with seven lines of code On June 24 last year, Patrick Collison, the co-founder of Stripe, posted a Tweet saying   Hit our engagement metrics this weekend! The Tweet was accompanied by an engagement ring — which explained the kind of metrics Patrick was talking about. Suhail Doshi, the founder of Mixpanel, was quick with a response:   That’s one way to increase user retention.   Yeah, it’s safe to say these guys have a great sense of humor. Which isn’t surprising, considering their seemingly absurd solution to online payments.   Instead of chasing 1000-hour programming contracts to build clunky payments solutions for each individual client, the Collison brothers built 7 lines of code that developers could simply plug into their websites. The result is Stripe — a company that has more cash than it knows what to do with. Here are the two main reasons why this worked so well.   1. They empowered develo...

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...

Selenium : Element is not clickable at point (X,Y)

Now a days most of them using selenium as one of the scraping tool due to its build in library and community support. Even though many of us feel its hard to implement in selenium.  In my previous post  explained how  effectively we can use the selenium in different use cases. Most of us known selenium is a automation testing tool. Currently people using this as most successful scraping methodology.  The most scraping tools are developed with the help of selenium only.  For example Scrapy . To know more about how to crawl a website follow this post http://ramakavanan.blogspot.com/2017/09/website-crawl-or-scraping-with-selenium.html. Issue: One day I started to crawl  Cricbuzz website. In the middle of crawling, The crawler should move to the next page. So I want not click the " next "  button in the pagination list.  But the crawler throws the issue like WebDriverException : Message : Element is not clickable at point ( 91...