Illustration of AI models of different sizes as building blocks next to a memory gauge

What ’70 Billion Parameters’ Actually Means

Introduction to AI model parameters

So, you want to learn about AI models. That’s a great start! You know how sometimes you hear about AI models being really smart, but you don’t know what makes them tick? It all starts with something called parameters. Think of parameters like building blocks. They’re the internal numbers that make up an AI model.

Why this matters: Understanding what AI model parameters mean and how they affect the model’s capabilities and memory requirements will help you make the most of AI basics.

A parameter is like a single brick in a massive Lego structure. The number of parameters affects an AI model’s behavior. The more parameters an AI model has, the more complex its behavior becomes. But here’s the thing: parameters require memory. So, if you have a lot of parameters, you need a lot of memory to store them.

The Anatomy of a Parameter

Let’s take a closer look at what a parameter is. A parameter is one of the internal numbers that make up an AI model. Each parameter has a specific value. When you combine these parameters, you get complex patterns and relationships. Training an AI model involves tuning its parameters to get the right results.

More parameters mean more complex and nuanced behavior. But, they also mean greater memory requirements. It’s like having a big box of Legos. The more pieces you have, the more complicated the structure can be, but you also need a bigger box to store them all.

The Math Behind the Madness

So, how much memory do these parameters take up? Each parameter takes about 2 bytes of memory at full precision. That might not sound like a lot, but when you have 70 billion parameters, it adds up. In fact, 70 billion parameters require approximately 140 gigabytes of memory. That’s a lot of space!

But, there’s a way to reduce memory requirements. Quantization can help. Compressing parameters to 4 bits reduces memory requirements significantly. For example, 70 billion parameters compressed to 4 bits require about 35-40 gigabytes. That’s a big difference!

Comparing Model Sizes

Now, let’s talk about model sizes. A model with 1 billion parameters is considered small. A model with 8 billion parameters is mid-range. And a model with 70 billion parameters? That’s massive! The size of the model affects its capabilities and memory requirements.

A 1B model is suitable for simple tasks like image classification. An 8B model can handle tasks like language translation or object detection. But, a 70B model? That’s capable of handling complex tasks like language generation or image synthesis. It’s like having a superpower!

The Graphics Card Connection

So, what does this have to do with your computer? Well, the graphics card memory determines what AI models can be run on your computer. Consumer graphics cards commonly have 8-24 GB of VRAM. High-end workstation cards can have 32 GB or more of VRAM.

But, if you want to run a 70B model, you need at least 35-40 GB of VRAM. That’s a lot of memory! If your graphics card doesn’t have enough VRAM, you might need to choose a smaller model or upgrade your graphics card.

From Parameters to Practice: A Real-World Example

Let’s look at an example. Rachel is a freelance graphic designer who wants a local AI to help with writing. She has a graphics card with 16 GB of VRAM. If she wants to run a 70B model, she’ll need more memory than she has. So, she chooses an 8B model instead.

The 8B model needs only about 5 GB of memory, which is well within her graphics card’s capabilities. With the 8B model, Rachel can get answers in seconds and write in a voice she can edit quickly. It’s like having a personal assistant!

Common Misconceptions About Parameters

Now, let’s talk about some common misconceptions. More parameters don’t always mean better performance. Parameter count is not the only factor in determining model size. Other factors like model architecture and compression techniques affect model size too.

And, just because a graphics card has more VRAM, it doesn’t mean it’s better for AI models. GPU architecture and memory bandwidth also affect a graphics card’s ability to handle AI models. It’s like choosing the right tool for the job. You need to consider all the factors, not just one or two.

Putting Parameters into Practice: A Step-by-Step Guide

Let’s look at another example. Emily is a solo bookkeeper who wants AI help with invoicing. She has a mid-range graphics card with 16 GB of VRAM. She rules out the 70B model due to memory requirements and chooses an 8B model instead.

With the 8B model, Emily feeds the model a sample invoice and asks it to draft the invoice wording. She reviews the draft and adjusts the wording. It’s like having a personal assistant, but with more control!

Questions beginners ask

So, what’s the minimum parameter count required for a decent AI model? Well, there’s no one-size-fits-all answer. A good starting point for parameter count is around 1-2 billion parameters. Low-end graphics cards can be used to run AI models, but they might limit performance.

A mid-range graphics card with 16 GB of VRAM is a good starting point. And, the right AI model should be chosen based on the task, output complexity, and memory requirements. It’s like choosing the right tool for the job. You need to consider all the factors, not just one or two.

Try this today

So, what can you do today? You can explore AI models available online and look at parameter counts and memory requirements for different models. Try running a few models and see how they perform on your system. It’s like experimenting with a new recipe. You might be surprised at what you can create!

BootupBasics runs free, hands-on workshops in Colorado for anyone who wants a guide in the room.

Check yourself

Quick questions: tap “See the answer” after each one to check yourself.

1. What is a parameter?

  • A. One of the internal numbers that make up a model, tuned during training
  • B. A setting you type into a chatbot
  • C. The price of the model
See the answer

A. One of the internal numbers that make up a model, tuned during training: A model is billions of these numbers. ’70B’ means roughly 70 billion of them.

2. At full precision, about 2 bytes per parameter, how much memory does a 70B model need?

  • A. About 7 GB
  • B. About 70 GB
  • C. About 140 GB
See the answer

C. About 140 GB: 70 billion times 2 bytes is about 140 GB, which is why full precision stays in data centers.

3. What does compressing (quantizing) a 70B model to 4 bits do?

  • A. Shrinks it to roughly 35 to 40 GB so it can fit on strong home hardware
  • B. Makes it exactly twice as smart
  • C. Deletes half the parameters
See the answer

A. Shrinks it to roughly 35 to 40 GB so it can fit on strong home hardware: Quantization stores each number in fewer bits. It is the reason big models can run on a home machine at all.

4. True or false: more parameters always means a better model.

  • A. True
  • B. False: more parameters can help, but they cost memory and speed, and architecture and compression matter too
See the answer

B. False: more parameters can help, but they cost memory and speed, and architecture and compression matter too: Size is one ingredient, not the whole recipe. A well-built smaller model can beat a sloppy bigger one for many jobs.

Check yourself

Pick an answer for each question. Get one wrong? You can try again, or peek at the answer.

1. What is a parameter?



2. At full precision, about 2 bytes per parameter, how much memory does a 70B model need?



3. What does compressing (quantizing) a 70B model to 4 bits do?



4. True or false: more parameters always means a better model.


Keep learning

More from BootupBasics:

Similar Posts