那注意力机制到底是怎么算的?
注意力可以理解为「按相关程度加权求和」:每个词算出查询 Q、键 K 和值 V,拿自己的 Q 和所有词的 K 做点积,点积越大越相关。
得到这些分数之后,模型先把它们除以 √dk,再送进 softmax,变成一组加起来等于 1 的权重。除以 √dk 是为了防止点积随维度增大而变得过大,让 softmax 落进梯度几乎为零的区域。
So how is attention actually computed?
Attention is a weighted average by relevance: each token computes a query Q, a key K and a value V, and takes the dot product of its Q with every token's K; a larger product means a stronger match.
The scores are then divided by √dk and passed through a softmax, which turns them into weights that sum to 1. Dividing by √dk keeps the dot products from growing with the dimension and pushing the softmax into a region where its gradients all but vanish.
哪句没看懂,就问哪句。 Stuck on a sentence? Ask about just that one.
在 AI 回答里选中看不懂的一句话,右键「旁注追问」,一个只针对这段话的小对话就在原地展开。主对话不被打断,也不用上下翻找。
Highlight the sentence you don’t get in an AI answer, right-click “Ask in a side note”, and a small conversation about just that passage opens in place. The main chat stays untouched, and you never scroll away.
Gemini、豆包免费用unlocks every site, paid once
free on Gemini and Doubao
七个 AI 网站,装上就能用Seven AI sites, ready when you are
用你已经登录的账号直接追问,不需要 API Key,也不用另开窗口。
Ask with the account you are already signed in to. No API key, no extra window.
ChatGPT
Claude
Gemini免费free
DeepSeek
Kimi
豆包Doubao免费free
腾讯元宝Yuanbao
各网站名称和标志归其所有者,仅用于说明兼容性。
Names and logos belong to their owners and are shown only to indicate compatibility.
三步用上Three steps
插件免费安装,在 Gemini 和豆包上直接就能用;其他网站在本站购买激活码后解锁。
Install the extension for free and use it on Gemini and Doubao right away; unlock the other sites with a code bought here.
-
免费安装插件Install for free
从 Chrome 应用商店或 Edge 扩展商店安装。装好就能在 Gemini 和豆包上用,不用登录。
Get it from the Chrome Web Store or Edge Add-ons. It works on Gemini and Doubao straight away, no sign-in needed.
去 Chrome 应用商店安装 →Install from the Chrome Web Store → Edge 扩展商店即将上架Edge Add-ons coming soon -
在本站购买激活码Buy a code here
想在 ChatGPT、Claude 等其他网站上用,花 $5 买一个激活码,可以用银行卡、微信支付、Apple Pay 或 Google Pay。付款成功后,激活码会发到你付款时填写的邮箱。
For ChatGPT, Claude and the other sites, a code costs $5, by card, WeChat Pay, Apple Pay or Google Pay. After payment the code is emailed to the address you enter at checkout.
-
登录并激活Sign in and activate
点浏览器工具栏上的 Glossa 图标,用邮箱收验证码登录(也可以用 Google 登录),再输入激活码。激活码随即失效,之后换电脑、重装插件,用同一个邮箱登录即可恢复。
Click the Glossa icon in the toolbar, sign in with a code sent to your email (or with Google), then enter the code. The code is then used up; on a new computer or after reinstalling, sign in with the same email.
价格与须知Price & terms
付款之前,这五条请先看一遍。
Please read these five notes before you pay.
- 价格Price
- Gemini 和豆包免费使用。ChatGPT、Claude、DeepSeek、Kimi、元宝需要激活码:$5,一次性付款,不订阅。
- Free on Gemini and Doubao. ChatGPT, Claude, DeepSeek, Kimi and Yuanbao need a code: $5, paid once, no subscription.
- 需要You need
- 电脑上的 Chrome 或 Edge 浏览器,以及一个能收邮件的邮箱(QQ、163、Gmail 等都可以),激活和换设备时都要用到。不支持手机。
- Chrome or Edge on a computer, and an email address you can receive mail at, used for activation and when you move devices. Phones are not supported.
- 激活码The code
- 付款后发到你在收银台填写的邮箱,通常一两分钟内到达。一个激活码只能激活一次,绑定一个账号。
- Emailed to the address you enter at checkout, usually within a minute or two. Each code activates once and binds to one account.
- 回答从哪来Who answers
- 旁注用你在当前网站已登录的账号提问,不需要 API Key。ChatGPT、Claude、Gemini、元宝使用临时或无痕对话,不留记录;DeepSeek、Kimi、豆包没有临时对话,旁注会话在回答结束后立即删除,回答期间可能在历史记录里短暂出现。
- Side questions are asked on the site you are on, with the account you are already signed in to. No API key. ChatGPT, Claude, Gemini and Yuanbao use temporary or incognito chats that leave no history. DeepSeek, Kimi and Doubao have no temporary chat, so the side chat is deleted as soon as its answer is in; it may show in your history while it is being answered.
- 退款Refunds
- 付款后 14 天内,无论是否激活,都可以无理由全额退款。详见退款政策。
- Within 14 days of payment you can get a full refund, no questions asked, activated or not. See the refund policy.
常见问题Questions
能先免费试试吗?Can I try it for free?
可以。装好插件后在 Gemini 或豆包上直接用,不用登录,也不用激活码。觉得好用,再买激活码解锁 ChatGPT、Claude 等其他网站。
Yes. Install the extension and use it on Gemini or Doubao right away, with no sign-in and no code. If you like it, buy a code to unlock ChatGPT, Claude and the other sites.
可以直接在这个网页上用吗?Can I use it on this page?
不能。上面那段是演示,回答是预先写好的。Glossa 是浏览器插件,装好后在你平时用的 AI 网站上划词即可使用。
No. The chat above is a demonstration with a prepared answer. Glossa is a browser extension; once installed, you use it on the AI sites you already use.
激活码丢了怎么办?I lost my code. What now?
先在邮箱里搜索「Glossa 激活码」。如果找不到,并且还没激活,请把付款邮箱和 Waffo 的付款收据发到 support@glossaai.app,核实后为你补发。如果已经激活,就不再需要激活码了:在新设备上用同一个邮箱登录即可。
Search your inbox for “Glossa activation code” first. If it isn’t there and you never activated, send your checkout email and Waffo’s receipt to support@glossaai.app and we will reissue it after checking. If it was activated, you no longer need it: sign in with the same email on the new device.
它会读取我的聊天内容吗?Does it read my chats?
只在你主动发起旁注时,读取你选中的段落和它所在的那条回答,交给你当前所在的网站作答。聊天内容不会发到 Glossa 的服务器;我们只记录订单和激活所需的信息,见隐私政策。
Only when you start a side note, and only the passage you selected and the answer it belongs to, which go to the site you are on. Chat content is never sent to Glossa’s servers; we keep only what orders and activation need. See the privacy policy.
网站改版后插件失效了怎么办?What if a site redesign breaks it?
这些网站改版频繁,我们会尽快更新适配,已激活的用户会自动收到更新。遇到问题请发邮件告诉我们。
These sites change often. We update the extension as quickly as we can, and activated users receive the fix automatically. Email us if something stops working.
可以在几台电脑上用?How many computers can I use?
激活码绑定的是你登录的邮箱,不是电脑。在 Chrome 或 Edge 里用同一个邮箱登录即可使用。
The code binds to the email you sign in with, not a computer. Sign in with that email in Chrome or Edge to use it.
提供技术咨询吗?Do you offer technical consulting?
提供。软件使用、AI 工具应用和程序开发方面的一对一线上答疑,按次收费。请发邮件到 support@glossaai.app 说明你的需求。
Yes. One-to-one online help with software, AI tools and programming, charged per session. Email support@glossaai.app with what you need.