aifree.dev

Sao cùng một prompt mà lại ra câu trả lời khác nhau?

Temperature và lấy mẫu · Cơ bản · 3 phút · sampling, llm

Một language model không chọn từ tiếp theo tốt nhất; nó tung một con xúc xắc đã được "chỉnh" tỉ lệ trên mọi từ có thể đứng tiếp. Temperature (độ "nóng") định hình lại con xúc xắc đó: thấp thì lựa chọn hàng đầu gần như luôn thắng, cao thì từ ít khả năng cũng có cơ hội thật.

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

    Bạn gửi y hệt một prompt hai lần và nhận hai câu trả lời khác nhau. Vì sao?
  2. 2 Xem

    The loaded wheel, three ways

    1 / 3

    The cat sat on the ___

    floor53%
    bed24%
    couch9%
    ground8%
    edge5%

    temperature 0.2

    real GPT-2 small odds for this prompt (#220)

    Cold (0.2): the balls barely move and nearly all are "floor". Draw five times — same answer every time.

    Cùng một bộ tỉ lệ, ba mức nhiệt: lạnh thì lần rút nào cũng ra cùng một từ, nóng thì gần như lần nào cũng ra từ khác.

  3. Thứ model cho ra không phải một từ mà là các tỉ lệ: chẳng hạn "floor" (sàn nhà) 8%, "bed" (giường) 7%, "couch" (ghế sofa) 5%, cứ thế xuống hết danh sách năm mươi nghìn token (mảnh chữ). Sau đó một token được rút ra. Temperature kéo giãn hoặc ép dẹt các tỉ lệ đó trước khi rút.

  4. 4 Bạn là model

    Chỉnh nhiệt sao cho ba lần rút liên tiếp ra ba từ khác nhau. Rồi làm cho nó nhàm chán: ba lần giống hệt.

    The cat sat on the ___

    floor26%
    bed22%
    couch18%
    ground18%
    edge16%
    1.0
    coldhot
    Goal: three different pieces in a row.
  5. 5 Kiểm tra

    Ở temperature cao, các tỉ lệ thay đổi thế nào?
  6. 6 Nói lại bằng lời bạn

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

    Lấy một API key miễn phí, gửi cùng một prompt ở temperature 0 và 1.5, mỗi mức ba lần. Đếm xem mỗi mức cho ra bao nhiêu câu trả lời khác nhau.

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 20, 2026 · cập nhật Oct 20, 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