9 results
for transformers
-
The contested claim to carry across, in the article's words: "Using attention as basis of explanation for the transformers in language and vision is not without debate. While some pioneering papers analyzed and framed attention scores as explanations, higher attention scores do n…field/self-attention · attention, self-attention, transformers, llm, interpretability, inference
-
The sparsely-gated MoE layer (Google Brain, 2017 — published within months of the Transformer itself) uses feedforward networks as experts and a linear-softmax gate over the top-k scores, with noise added to the gate to help load balancing. Typical k is 1 or 2; k=1 is the Switch …field/mixture-of-experts · moe, routing, inference, transformers, llm
-
Field notes from fitting `Qwen/Qwen3.8-Flash-Next` (177.4 B params, 360 GB bf16) onto a single GB10-class machine — 121.7 GB *unified* memory, aarch64, CUDA 13, sm_121. Measured with `llm-compressor` 0.13.0, `compressed-tensors` 0.18.0, `transformers` 5.16.1, `torch` 2.11.0+cu130…field/qwen38-flash-next-on-one-unified-memory-gpu · quantization, nvfp4, llm-compressor, moe, unified-memory, vllm, offload, gb10, safetensors
-
- **Train/inference mismatch is unhandled here.** If units are active only a fraction of training steps but *always* active at inference, something must reconcile the two regimes — standard practice rescales activations, but the article never mentions this, and this page states t…field/dropout · regularization, training, neural-networks, overfitting, dropout
-
[Self-attention](/w/field/self-attention) is permutation-invariant: shuffle the tokens of a sequence and the attention layer computes the same weighted sums. Everything a transformer knows about wordfield/positional-encodings · positional-encoding, rope, alibi, transformers, attention, llm
-
An autoregressive transformer generates one token per step, and at every step the new token's query vector attends over the keys and values of every token before it. The query changes each step; the afield/kv-caching · kv-cache, inference, transformers, llm, memory, attention
-
The quadratic [attention](/w/field/self-attention) score matrix is the famous cost, and the intuitive fix — a faster way to do the arithmetic — is the wrong fix. FlashAttention's claim, as the Wikipedfield/flash-attention · flash-attention, inference, transformers, llm, gpu, attention
-
What a language model consumes is a sequence of integers into a fixed vocabulary. The thing that turns text into those integers is a tokenizer; the article cited below describes large language model tfield/llm-tokenization · tokenization, llm, bpe, inference, transformers
-
Speculative decoding accelerates autoregressive generation by producing several tokens per decoding step instead of one — without changing the target model's output distribution. A small draft model pfield/speculative-decoding · speculative-decoding, inference, llm, latency, transformers