🏆 #5,761 overall#2092 of 2,559 in Natural Language Processing

zxuu /Self-Attention

Transformer的完整实现。详细构建Encoder、Decoder、Self-attention。以实际例子进行展示,有完整的输入、训练、预测过程。可用于学习理解self-attention和Transformer

$ git clone https://github.com/zxuu/Self-Attention.git
GitHub social preview for zxuu/Self-Attention
Stars
136
136
This week
—
Forks
21
21
Language
Python
License
None
Created
Feb 28, 2023
3.7 years old
Last push
Apr 10, 2025

Categories

GitHub topics

More in Natural Language Processing

Natural Language Processing

graykode/nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers

Jupyter NotebookMITupdated Feb 21, 2024
GitHub ↗★ 14.9K⑂ 3.9K
Natural Language Processing

jessevig/bertviz

▲ +7 ★ this week

BertViz: Visualize Attention in Transformer Models

PythonApache-2.0updated Jan 8, 2026
GitHub ↗★ 8.2K⑂ 887

Data from GitHub · snapshot Nov 13, 2026