aifree.dev

Sao nó biết "king" gần với "queen"?

Embedding · Cơ bản · 5 phút · embeddings, llm · học sau Token

Embedding (vector nghĩa) là dãy số mà mô hình dùng làm vị trí của một từ trong một không gian hàng nghìn chiều. Những từ hay xuất hiện trong ngữ cảnh giống nhau sẽ nằm gần nhau, và quan hệ giữa các từ trở thành những hướng có thể cộng trừ.

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

    Mô hình lưu việc "king" và "queen" có liên quan ở đâu?
  2. 2 Xem

    Where words live

    1 / 3
    kingqueenprinceprincessmanwomanboygirlapplebananacherrygrapeparisfrancetokyojapanromeitalyhappygladsadangrydogcatpuppy

    real gpt2 embedding positions, PCA to 2-D (#220)

    Every piece becomes a point in a space with thousands of dimensions — squashed here to two.

    Các từ tự tụm thành cụm mà không ai sắp xếp, và mũi tên king→queen cũng chính là mũi tên man→woman.

  3. Mỗi mảnh chữ được đổi thành một dãy số, dài hàng trăm hoặc hàng nghìn số. Coi dãy số đó là tọa độ thì mỗi từ là một điểm. Quá trình huấn luyện xê dịch dần các điểm cho đến khi những từ hay đi chung ngữ cảnh nằm sát nhau.

  4. 4 Bạn là model

    Chạm vào một ngôi sao để xem các từ lân cận. Sau đó kéo mũi tên xanh sao cho đuôi nằm trên "man", rồi xem đầu mũi tên chỉ tới đâu.

    kingqueenprinceprincessmanwomanboygirlapplebananacherrygrapeparisfrancetokyojapanromeitalyhappygladsadangrydogcatpuppy
    Tap a star to see its neighbours. Then drag the green arrow onto "man".
  5. 5 Kiểm tra

    Vì sao "apple" và "banana" nằm gần nhau?
  6. 6 Nói lại bằng lời bạn

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

    Lấy một key embedding miễn phí rồi embed ba từ: "king", "queen", "banana". So khoảng cách giữa chúng (cosine similarity) và xem cặp nào gần nhau nhất.

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