aifree.dev

Vì sao model 30 GB chạy được trên laptop của tôi?

Lượng tử hoá (quantization, số bit mỗi trọng số) · Thực hành · 5 phút · llm, transformer · học sau Training: loss và gradient descent

Quantization (lượng tử hoá) lưu mỗi trọng số của model bằng ít bit hơn, ví dụ 4 thay vì 16, nên file và bộ nhớ nhỏ đi khoảng bốn lần. Chất lượng gần như không đổi đến 4 bit và sụp dưới mức đó; ngữ cảnh cần thêm bộ nhớ.

Trước khi bắt đầu: bạn giải thích được chuyện này cho bạn bè không?

1 = hoàn toàn không · 5 = dễ dàng

  1. 1 Đoán trước

    Gemma 3 27B nặng 55 GB ở độ chính xác đầy đủ. Ollama còn có bản 17 GB. Cái gì đã thay đổi?
  2. 2 Xem

    Same model, fewer bits

    1 / 4

    Gemma 3 27B: one model, three downloads

    16-bit55 GB
    8-bit30 GB
    4-bit17 GB

    download sizes: ollama.com/library/gemma3/tags (checked 2026-10-21)

    One model, three downloads: 55 GB, 30 GB, 17 GB. Same weights, stored with fewer bits.

    Kích thước file = số trọng số × số bit: từ 16 xuống 4 bit, model nhỏ đi khoảng bốn lần, mất vài điểm ở 4 bit, sụp ở 3 bit, và ngữ cảnh cần thêm bộ nhớ.

  3. Một trọng số (weight) là một con số model học được, thường lưu bằng 16 bit. Quantization làm tròn mỗi trọng số xuống ít bit hơn: 8 bit gần như không mất gì, 4 bit mất một chút. Việc làm tròn làm một lần, trước khi bạn tải về. Tag như `q8_0` hay `q4_K_M` trên Ollama là tên cách làm tròn; `fp16` là file chưa làm tròn.

  4. 4 Bạn là model

    Bạn chọn bản tải về. Với mỗi laptop, chọn file Gemma 3 mạnh nhất mà vẫn còn chỗ trống: ưu tiên nhiều tham số trước, rồi nhiều bit hơn.

    laptop 1 of 3 · keep the download under 75 % of RAM

    A laptop with 8 GB of RAM

    sizes: ollama.com/library/gemma3/tags (checked 2026-10-21) · the 75 % rule is an illustrative rule of thumb

    Pick the most capable download that still fits: more parameters first, then more bits.
  5. 5 Kiểm tra

    File 4 bit nhỏ hơn file 16 bit khoảng bao nhiêu lần?
  6. 6 Nói lại bằng lời bạn

  7. 7 Nhiệm vụ · 5 phút

    Cài Ollama (miễn phí), rồi chạy: ollama pull gemma3:270m và ollama pull gemma3:270m-it-fp16 (292 MB và 543 MB). So kích thước bằng ollama ls, hỏi cả hai cùng một câu bằng ollama run, và xem bộ nhớ bằng ollama ps. Rồi thử bản vừa nhất với laptop của bạn từ phần đóng vai.

Ba câu nhanh

Rút ngẫu nhiên từ bộ câu hỏi của bài; lần sau sẽ khác.

Xong chưa?

Còn bây giờ: bạn giải thích được cho bạn bè chưa?

1 = hoàn toàn không · 5 = dễ dàng

Trả lời ba câu nhanh trước đã.

Nguồn

Đăng Oct 21, 2026 · cập nhật Oct 21, 2026

Never miss new offers and news

New tools, credits, and AI news are added regularly. Pick how you want to hear about them.

Telegram channel
Join @aifree_dev and get new free AI offers and news right in your Telegram feed.
Browser notifications
Turn on push notifications and get an alert on this device whenever something new is posted. No account needed.
Email newsletter
A weekly digest of new, changed and expiring free AI offers. Double opt-in, one-click unsubscribe.

Unsubscribe anytime. Privacy

Frequently asked questions

What is aifree.dev?

aifree.dev helps everyone access AI through a curated directory of free AI tools, API credits, free tiers, and startup programs for coding, image, voice, video, and students - verified regularly.

How are offers presented?

Each offer includes its access details, free models when available, and expiration information when provided. Limited-time deals stay visible so they are easy to compare.

Do education and startup programs need verification?

Yes. Providers usually ask students to verify their status with a school email, student ID, or a program like the GitHub Student Pack, and ask startups to verify company details such as age, funding, or website. Check each offer’s claim page for the exact requirements.

What kinds of free AI offers are listed?

Free tiers and free trials from AI providers, free API credits, startup and student programs, and free tools for coding, image generation, voice, and video.

How can I suggest a tool or report a broken link?

Use the submit form: paste the offer page URL and a short note. A person checks every submission before anything is listed. Broken links and changed terms go through the same form.

+

Know a good one?

Tell us about an AI tool worth knowing. Found a broken link? We want to hear that too.

Submit an offer