relative position drums: close and fine, remote merge
The relative position bias can assign learning scores to different distances, but the table will be expanded with the range if each possible distance parameter is used.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explanation of relative location drums: close proximity, remote merger mechanisms and premises
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Location Difference & Part Functions
Issues and mechanisms
The relative position bias can assign learning scores to different distances, but the table will be expanded with the range if each possible distance parameter is used. The drums map multiple distances to the same bias item, with a common design that retains fine particle size close to it and uses a thicker logarithm scale for the distance. It condensed a distance description, not a combination of the distant text itself.
Defines the distance function, direction and drum boundary, with the focus fraction plus the deviation of the corresponding drum. Two-way tasks may be assigned to different barrels in both positive and negative directions, while one-way tasks are concerned only with the permitted history. (a) The barrel boundary is fragmented and one distance change may cross the boundary and the bias will follow; The content matching score is still continuously calculated from the query key.
A concrete example
Plumbing instructions: one barrel at zero, one and two separate distances, one barrel at three to four, one barrel at five to eight, and more than nine barrels at the last. The distance between four and five, although one difference, is different; Distances five to eight are given the same location bias, but the content keys differ, and the ultimate weight may not necessarily be the same. If the drum is zero, minus 0.1, minus 0.2, minus 0.4, minus 0.7, plus 0.7 at six. This table is used to explain that it is not a item-by-item re-entry of the original configuration of T5.
Borders and checks
To replicate a specific model, the barrel number, maximum distance and one-to-two-way rules should be read and the manual boundary of this paper cannot be replaced. The shared bias over the final boundary does not guarantee that the model has the same understanding of these distances. Caches need to be measured at a real and valid location between padding in the batch, and the length of completion cannot be considered a true starting point for each sequence.
A method of verification
The drum test shall cover the first, the last and the last of each boundary and shall test the positive and negative direction separately. The central distance of the drum alone will miss the error between the whole and the closed zone. If there is one bias table for each head, check whether the drum index is shared and the argument is independent. For the maximum added length, a review of the change in the ratio of the last barrel hit can be found to have a significant amount of distance crushed in the same description; This is only the input of distributed diagnostics, which vary from proof of complete loss of long-range information.
Check understanding
Do you have to get the same Attention weights for the two locations in the same barrel?
Not necessarily. Only shared location bias, and content matching scores may still differ; softmax will also be affected by scores in other visible locations.
The last barrel covers all the distances and does it solve the problem of infinity?
Nothing. It limits the list of position parameters, but there are still calculation, cache and generalization limits in the long text. The ability to calculate a bias that is not equal to mission performance can be extrapolated indefinitely.
Sources and reconciliations
Definitions, methods and interfaces are available.
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
- Attention Is All You Need
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.