Tag: Models

Simulating Elections with Spatial Voter Models

Democracy: a concept almost universally revered, underpinned by the foundational act of voting. However, interpreting voting results to make fair and representative decisions is anything but straightforward. While it’s tempting to think the option with the most votes should just triumph, reali...

Evaluating Uplift Models

One of the most widespread applications of causal inference in the industry is uplift modeling, a.k.a. the estimation of Conditional Average Treatment Effects. When estimating the causal effect of a treatment (a drug, ad, product, …) on an outcome of interest (a di...

How To Setup & Use The Hundreds Of AI Models From Hugging Face

Whenever a new generative AI model becomes the talk of the town, chances are you’ll find a demo for it on Hugging Face. However, most of the time these demos are so heavily used that you have to wait for results, or the models running behind them require fast GPUs that aren’t ava...

World Models: The Next Frontier in Our Path to AGI is Here

If LLMs like ChatGPT are the hottest thing in AI, then world models are the holy grail. Hailed as the most probable path to AI superintelligence by two of the three most influential AI researchers in history, Yann LeCun and Yoshua Bengio, they represent a vision of an AI that learns abo...

How to Chat With Any File from PDFs to Images Using Large Language Models — With Code

So much valuable information is trapped in PDF and image files. Luckily, we have these powerful brains capable of processing those files to find specific information, which in fact is great. But how many of us, deep inside wouldn’t like to have a tool that can answer any question about a ...

Stop Training Models in DEV. Train Them in LAB.

Congratulations, ML professionals of all kinds! Only 10 years after Andrew Ng taught everyone about gradient descent, our respectable profession has almost entirely moved away from using the PROD environment for everything. Pat yourself on the back. Now shame on you! Because I...

This FREE AI Tool Can Create Human Models That Do Not Exist

Sure, another AI image generator tool, right? Describe the image, and the AI will produce an image based on the text descriptions. Well, not quite. In this article, I’m going to share a new AI image generator that doesn’t solely rely on text prompts. It has a wide array of UI contr...

Quantize Llama models with GGML and llama.cpp

Due to the massive size of Large Language Models (LLMs), quantization has become an essential technique to run them efficiently. By reducing the precision of their weights, you can save memory and speed up inference while preserving most of the model’s performance. Recently, 8-bit and 4-bit qu...

Large Language Models, Part 1: BERT

One of such models is BERT. It is primarily known for being able to construct embeddings which can very accurately represent text information and store semantic meanings of long text sequences. As a result, BERT embeddings became widely used in machine learning. Understanding how BERT builds text re...

A complete guide to running local LLM models

Meta just released Llama 2 [1], a large language model (LLM) that allows free research and commercial use. It’s expected to spark another wave of local LLMs that are fine-tuned based on it. The open-source community has been very active in trying to build open and locally accessible LLMs as...

[DDIA Reading Notes] Chapter 2 — Data Models and Query Languages

The book ‘Design Data Intensive Application’ is a quite popular book recently years. Why? The reason is that it is relatively ‘easy’ for the inexperience application software engineers to follow and get a glance of what distributed world looks like. This is my second time t...

Mastering Monte Carlo: How To Simulate Your Way to Better Machine Learning Models

In the tumultuous year of 1945, as the world was gripped by what would be the final throes of World War II, a game of solitaire quietly sparked an advancement in the realm of computation. This was no ordinary game, mind you, but one that would lead to the birth of the Monte Carlo method(1). The play...

A complete guide to running local LLM models

Meta just released Llama 2 [1], a large language model (LLM) that allows free research and commercial use. It’s expected to spark another wave of local LLMs that are fine-tuned based on it. The open-source community has been very active in trying to build open and locally accessible LLMs as...

Prompt Engineering: The Magical World of Large Language Models

Is it possible to combine machine learning with prompt engineering for large language models? A systematic data-driven approach to prompt engineering can be one of the most successful ways to generate the best prompts. In this article we’ll see exactly how this works by measuring and sco...

Revolutionizing Your Workflow with AI: The Future of Task-Specific Models

In the ever-evolving world of technology, one trend that has been consistently making headlines is Artificial Intelligence (AI). As we step into 2023, AI continues to transform industries, streamline processes, and reduce human error. But what if I told you that the future of AI is about to get even...

4 Lesser-Known Mental Models That Save Me 30+ Hours Every Week

I’m the kind of person who wants to exploit as much juice as I can out of my life. And hence, I like to be productive and taking as much action as I can. To that end, I’ve learned or developed mental models that allow me to save time and get more done on any given day. In this article...

AI Models Trained, Your Digital Workforce Awaits — How to Maximize Their Potential?

In a recent survey,  QuantumBlack, AI by McKinsey , reported that 75% of respondents expected #GenAI to cause significant transformation in their industry over the next 3 years. In this pivotal moment, we can incorporate and build upon lessons from previous technology-driven ...

Generative Models and the Dance of Noise and Structure

I like to think about what the inhabitants of Renaissance Italy, aflame with passion for the possibilities of the human imagination and rationality, would have found most astounding about our present-day technology. Leonardo da Vinci, dreaming of flying machines, would have surely been impresse...

Creating Personalized Animated Memes Using Fine-tuned Text-to-image Models

In this blog post, I’ll introduce the process of creating personalized & animated memes using Deforum and a fine-tuned Stable Diffusion (SD) model as a style transfer tool and present some examples of memes that I have made by personalizing videos. Just before starti...

LoRA: Low-Rank Adaptation of Large Language Models

Prompt engineering, fine-tuning, and model training are all viable options to get domain or task-specific results from a Large Language Model (LLM). One model training technique to consider is Low-Rank Adaptation of Large Language Models (LoRA). Background First introduced by Microsoft via the...

All About ControlNet Models

In an ever-evolving technological landscape, innovative models like ControlNet are reshaping image generation possibilities within Stable Diffusion A1111. They play a pivotal role in manipulating the diffusion model to generate accurate images. Example from Hugging Face T...

2022 Top Papers in AI — A Year of Generative Models

This year, we see significant progress in the field of generative models. Stable Diffusion  creates hyperrealistic art. ChatGPT  answers questions to the meaning of life. Galactica  learns humanity’s scientific knowledge but also reveals the li...

The X/Y Plot to Eliminate Some Stable Diffusion AI Art Models

Summary: in this post, I discuss the X/Y Plot script for a practical task: I want to analyze the 50+ models I have in my Stable Diffusion install to find any treasures I’ve missed and to bury models that I don’t like. I also study the impact of steps and CFG with the same ...

INDIAN MODELS

The Indian Female Models have always been in the limelight ever since their very first launch. However, there has always been a lot of difference between the earlier models and the current ones. The latest news is about the rise of female models in the fashion industry in India. There are ...

MODELS NEEDED FOR PHOTOSHOOT NEAR ME

Photoshoot events are fun events to organize, especially if you know what models are needed for photoshoots. This is an event where you will try to make a good impression on your client or fans. But, do not just arrive with all the models you can find. Make sure that you have all the models nee...

THE ULTIMATE GUIDE TO FEMALE PORTFOLIO PHOTOGRAPHY FOR MODELS

A model portfolio is a collection of photographs that showcase a model’s look, body type, versatility, and abilities. It is essential for any model who wants to succeed in the industry. When creating a female portfolio, there are a few things you need to keep in mind: Choose...

Redesigned PS5 models confirmed, out in November

So the rumors were true and the August Twitter leak was accurate: Sony will be launching two redesigned PlayStation5 models that will gradually replace the existing ones while offering more storage space and consumer choice in the process. The overall design of these new PS5 models is s...

Securing your Containerised Models and Workloads

Containerisation is now the de facto means of deploying many applications, with Docker being the forefront software driving its adoption. With its popularity also comes the increased risk of attacks [1]. Hence it will serve us well to secure our docker applications. The most fundamental me...

Falcon-40B: A Breakthrough in Large Language Models

The field of natural language processing (NLP) has seen tremendous advancements in recent years, thanks to the development of large language models (LLMs). These models are trained on massive amounts of data and are capable of understanding and generating human-like language. The Technology Innovati...

An Intro to PyMC and the Language for Describing Statistical Models

In our previous article on why most examples of Bayesian inference misrepresent what it is, we clarified a common misunderstanding among beginners of Bayesian Statistics. That is, the field of Bayesian Statistics IS NOT defined by its use of Bayes’ Theorem but rather by its use of probabi...

The Simple Mental Model That Changed My Financial Life

When it comes to spending money, I’ve made so many mistakes. When I think about the amount of money I’ve wasted in the past, I feel bad in my stomach. I didn’t have the best mental model for my financial life back then. As someone who practices Stoicism and Mindfulness, I&nbs...

Case Study: How Asset Tokenisation is Disrupting Traditional Asset Ownership Models

Real estate has always been one of the most significant, yet illiquid assets. Tokenizing real estate assets can unlock liquidity, increase transparency, and provide greater access to a wider pool of investors. One of the prime examples of tokenizing real estate assets was introduced by Harbor, a blo...

Disabled Women Need Role Models

Having role models is crucial for personal growth and development, especially for underrepresented individuals in the media. As a child, there were very few disabled people, let alone disabled women, in the media spotlight. Although this is changing, there is still a massive gap, which can cause sig...

Our Business Model is Co-Creation: We will no longer perform with you.

Happy New Year! As I approach 2024, I wanted to share a significant and long overdue change to #InvestBLK’s business model. For those who don’t know me, my name is Dennis Maurice Dumpson. I have spent 20 years navigating diverse communities — affluent communit...

Disabled Women Need Role Models

Having role models is crucial for personal growth and development, especially for underrepresented individuals in the media. As a child, there were very few disabled people, let alone disabled women, in the media spotlight. Although this is changing, there is still a massive gap, which can cause sig...

Harnessing Generative AI Models in Legal Work

The emergence of generative AI in the legal industry marks a significant evolution from its mainstream explosion in late 2022. Tracing back to the earlier releases of GPT models by OpenAI, including the notable GPT-3.5 which powers ChatGPT, the landscape has dramatically shifted. The rapid advent of...

Mental Models for thinking about FreightTech

Given there are so many different players and strategies in the logistics tech landscape, it’s helpful to start with a framework. Activant Capital shared their mental model in July 2023 and although the TMS landscape is not well articulated in general, it is one of the better summari...

Exploring the Complexity of Deploying Sensor Fusion Models

Sensor Fusion: Seamlessly Stitching Data Threads Sensor fusion acts as the conductor in the symphony of self-driving cars, orchestrating the harmonious blend of data streams from various sensors. Imagine each sensor as a musician playing a unique instrument — LiDAR, cameras, radar, and ultr...

openpilot port guide for Toyota models

The purpose of this post is to provide a simple how-to guide to port openpilot on currently unsupported Toyota models and trims. Making an openpilot port means you’ll have to fork the openpilot repo, change the code to incorporate the new car model or trim you want to have supported, and final...

A timeline of atomic models

Did you know that the atomic model has been changed over a long period of time? When scientific knowledge develops, scientists learn more and their ideas about the atomic model change. . This is a story of how the atomic model gets changed when new evidence comes along. Here is a timeline of som...

Foundation models in biological and chemical domains

With hundreds of large biological and chemical models being developed, it seems the field has achieved a lot. However, as the review pointed out, this area is still in its nascent stage. The authors highlight a few challenges, such as the lack of large-scale and high-quality training data, integrati...

Rutherford’s Atomic Model | Unveiling The Atom

The Road to Rutherford: Before Rutherford's time, the prevailing atomic model was J.J. Thomson's "plum pudding" model, which depicted atoms as a positively charged "pudding" with embedded electrons resembling "plums." However, as scientific advancements continu...

Training brain-inspired predictive coding models in Python

In this blog post, we first discuss how predictive coding learns. Then, how predictive coding models can be trained using open-source libraries. Finally, we showcase the remarkable flexibility of predictive coding to perform tasks such as classification, image generation, denoising, and image comple...

Diffusion Models: Midjourney, Dall-E Reverse Time to Generate Images from Prompts

If you’ve been reading some of my recent blogs, you know I’m a big user of the new AI tools that generate images from prompts, part of the recent AI spring (I pay a monthly fee to Midjourney for the privilege). A perception I’ve had about AI research is that it’s a race to...

Shaping Models With BMesh In Blender 2.90

This tutorial introduces Blender’s BMesh as a way to create and edit meshes in Blender through Python. The benefit of BMesh is that we have access to higher level operations than we would working with vertices and face indices; however, we avoid overhead incurred with ...

Markov models and Markov chains explained in real life: probabilistic workout routine

Thanks to this intellectual disagreement, Markov created a way to describe how random, also called stochastic, systems or processes evolve over time. The system is modeled as a sequence of states and, as time goes by, it moves in between states with a specific probability. Since the states are co...

Digitizing the Past: Should Museums Convert Artifacts Into 3D Models?

Museum collections hold treasures that whisper stories of the past, offering glimpses into diverse cultures and times. But these precious objects face a constant threat: deterioration. Light, temperature, humidity, and even human interaction can contribute to their decay, raising a critical question...

Like — Reject — Match, The Design Process, 100 Followers, Digital Models, Chinese New Year, and more. Summary of Week 3, 2022

2022 has been amazing so far. Why? Because I’m finally creating projects from my heart and the support I’ve been getting from the web3 community. As an artist and a designer, I strive to create things from my heart; things that reflect my views and experiences. Everyone’s experi...

Embracing Aging: Justine Bateman and the Importance of Role Models for Women

I am a woman in her midlife. A late bloomer when it comes to many things. Like menopause — still not officially in it, but already got the ticket — and enjoying the fruits of things I’ve always wanted to do. Such as motorcycling and having been able to finally make writing my profe...

Post-hoc analysis of Arabic transformer models.

Analyze the internal representations of Arabic transformer models. While there’ve been an extrinsic evaluation of Arabic transformer (AT) models, no work has been carried out to analyze their internal representations. This paper probe how Arabic linguistic information&n...