Transformer 自注意力机制图
中文完整提示词
一张 NLP 会议论文风格的 Transformer 缩放点积自注意力机制图。左侧六个词元嵌入竖条(「The」/「cat」/「sat」/「on」/「the」/「mat」,深蓝到金色渐变色谱),各词元分叉三条线性投影箭头到 Q(钴蓝)、K(青绿)、V(珊瑚)矩阵网格。中央 6×6 注意力分数矩阵(白到深海军蓝渐变填充),标注 "Attention Scores QKᵀ / √dₖ";Softmax 小柱状图标;输出为 V 向量加权和,右侧渐变色竖条表示输出词元表示。Q 到每个 K 的箭头线宽反映注意力权重。右上角 Encoder 块结构小插图(Add & Norm、Multi-Head Attention、Feed Forward 层叠)。白色背景,学术论文版式,9pt 标注。
English full prompt
A detailed academic diagram illustrating the scaled dot-product self-attention mechanism in a Transformer model, styled for an NLP conference proceedings paper. Left side: a sequence of 6 token embeddings shown as vertical colour-coded rectangles ("The", "cat", "sat", "on", "the", "mat" — coloured from deep blue to gold in a spectrum), each 40 × 200 px. Three linear projection arrows branch from each token rectangle to Q (query), K (key), and V (value) matrices, depicted as three stacked grids of cells in cobalt, teal, and coral respectively, all labelled. A dot-product connection matrix in the centre (6 × 6 grid with varying cell fill intensity from white to deep navy) is labelled "Attention Scores QKᵀ / √dₖ". A softmax normalisation step is shown as a small bar-chart icon, then the output is computed as weighted sum of V vectors. Final output token representations are shown as gradient-filled vertical bars at the right. Arrows connecting every Q to every K with varying line widths indicating attention weight. An inset at top-right shows the full Encoder block structure (Add & Norm, Multi-Head Attention, Feed Forward) as a compact stack diagram. White background, academic-paper layout, 9 pt labels. 相关案例
-
CRISPR-Cas9 基因编辑机制图
生成一张 4:5 竖版「CRISPR-Cas9 基因编辑机制图」案例图,所属分类为「科研与学术图」。四格扁平矢量图,展示 CRISPR-Cas9 切割 DNA 的全过程,深蓝螺旋、灰色 Cas9 蛋白、琥珀色 PAM 位点及红绿结果分支。画面需要完整呈现上述主体、构图、配色、材质、光线和整体风格;可见文字以自然简体中…
-
mRNA 疫苗细胞作用机制
一张教科书风格的等距信息图,展示 mRNA 疫苗在人体细胞内的分步作用。背景米白,脂质纳米颗粒(LNP)为珊瑚粉,核糖体为青绿色,刺突蛋白为金色。从 LNP 进入细胞膜,到 mRNA 释放、核糖体翻译刺突蛋白,再到靛蓝 Y 形抗体结合刺突蛋白,共五步,珊瑚色圆形数字徽章标注步骤,细箭头连接,无阴影扁平风格,适合 Sc…
-
神经突触横截面图
一张高端神经科学教科书风格的化学突触横截面图。上半部为突触前末梢,布满淡紫色囊泡(内含神经递质小点)与暖橙色线粒体;突触间隙为极淡黄色细缝,神经递质分子飞渡其中;下半部突触后膜嵌有青绿色 Y 形受体通道,部分开放部分关闭,标注微小离子流箭头。小圆形插图放大一个囊泡融合事件。深紫背景,细领线标注,9pt Helveti…
-
抗体-抗原结合免疫图
一张免疫学讲义风格的 IgG 抗体结合抗原示意图。深钴蓝重链与天蓝轻链构成经典 Y 形,Fab 区末端与病原体(棕褐色粗糙衣壳弧面)上的表位形成锁-钥结合。Fc 区底部微发光暗示补体激活。右下角圆形插图以 ribbon-diagram 风格展示一个结合口袋的分子互补性。白色背景,金色高亮结合区,细灰色领线标注,整洁无…