Tlola ho litaba
Dense Transformers

10. Li-Transformer tse Teteaneng

Papiso ea li-block tsa pele le tse fetotsoeng ka FP64

Marako a teteaneng a kopanya RMSNorm ea scalar, attention ea GQA, tlatsetso ea residual le SwiGLU/GeGLU. Liphetoho tsa Q/K li fetolana le RoPE ‘me li arolelana li-rotation tsa 2×2 le likhato tsa contragredient tsa sehlopha ka seng sa KV. V/O e sebelisa lipara tsa general-linear tseo li-inverse tsa tsona li hlakolang ho output projection.

Mela ea gate/up ea FFN e permuted, lekala la up le lekantsoe, ‘me likholomo tsa down li permuted pele ho scaling ea inverse. Regression e ile ea fumana le ho lokisa tatellano ea scale-pele-ho-permutation; ts’ebetso ea hajoale e netefatsa ho lekana ho nepahetseng ha FP64.

Li-pipeline le output ea client

Li-stage li boloka basis e tloaelehileng ea residual ka hare ‘me li sebelisa T=UnextUprev⊤T=U_{next}U_{prev}^\top feela moeling. Client e khutlisa hidden state ea ho qetela ‘me e sebelisa RMSNorm ea ho qetela hammoho le LM head e ruuoang ke client. Ho hloekisa ho etsahala feela ka mor’a hore moeli o fetoleloe ho serialized, ho qoba bofokoli ba pele ba basis e entsoeng zero. Li-checkpoint tsa mofuta oa Llama li sebelisa RoPE ea half-split ho e-na le tlhophiso ea adjacent-pair; compiler e rekota kopano e khethiloeng ho metadata e netefalitsoeng. Teko e tobileng ea logit ea Hugging Face e fetile ho FP64 atol=3e-8, rtol=1e-6, e leng ho lekana ho thehiloeng ho tolerance, eseng ho tšoana ha bitwise.

Li-adapter tsa moaho li arola semantics ea tensor ho lisebelisoa tsa weight. MHA/GQA/MQA e teteaneng, QKV e kopantsoeng, FFN e nang le gate, li-expert tse arolelanoang/tse tsamaisoang, MLA, marako a recurrent le li-projection tsa VLM li amoheloa feela ka adapter e hlakileng ea semantic. Li-tensor tse kopantsoeng le tse nang le padding li aroloa ka greid e tšoanang ea likarolo ka ts’ebetso; li-router, li-embedding, lihlooho tsa output, likhato tsa normalization le boemo ba nonlinear li lula ho combiner e tšepehang. Semantics tse sa tsejoeng tsa graph ha li akanngoe ho tsoa mabitsong a lifaele.

Sebelisa laboratori ea conjugation ho hlahloba ho khutlisa basis le li-invariant tsa sebopeho.

Kgetha puo ya hao

Dipuo tsohle di lekana. Kgetha eo o batlang ho e sebedisa ha o bala.

Yuropa

Middle East le Afrika Leboea

Asia Boroa

Asia Boroa-Botjhabela

Asia Botjhabela

Asia e Bohareng le Caucasus

Afrika

Oceania

Lipuo tse Entsoeng le tsa Khale