Varuna Jayasiri: 선형 편향 어텐션(ALiBi)Varuna Jayasiri: Attention with Linear Biases (ALiBi)
위치 인코딩 대신 어텐션 점수에 거리에 비례하는 음의 편향을 더하고, 헤드마다 기울기를 다르게 주는 ALiBi를 PyTorch 코드와 함께 한 줄씩 설명한 labml.ai의 주석 달린 구현Documented implementation with explanations of Attention with Linear Biases (ALiBi)
Stella Biderman 외: 회전 임베딩: 상대 위치의 혁명Stella Biderman et al.: Rotary Embeddings: A Relative Revolution
토큰 임베딩을 복소수로 보고 위치를 회전으로 걸어 절대 위치와 상대 위치 방식을 하나로 묶는 회전 위치 임베딩(RoPE)을 직관, 유도, 구현 코드, GPT-NeoX와 Mesh Transformer JAX 실험, 실행 시간까지 차례로 살펴본 EleutherAI의 글Rotary Positional Embedding (RoPE) is a new type of position encoding that unifies absolute and relative approaches. We put it to the test.
Varuna Jayasiri: 스위치 트랜스포머Varuna Jayasiri: Switch Transformer
토큰마다 라우터가 여러 FFN 전문가 가운데 하나만 골라 계산하게 해서, 파라미터는 늘리되 계산 비용은 FFN 하나만큼으로 묶어 두는 스위치 트랜스포머를 작은 PyTorch 구현과 함께 한 줄씩 설명한 labml.ai의 주석 달린 구현This is an annotated implementation/tutorial a miniature version of Switch Transformer in PyTorch.
Exploiting Contemporary ML최신 ML 활용하기
HCI 연구자를 위한 최신 ML 모델 활용 가이드A guide to putting recent ML models to work for HCI researchers
