Language mix: The probability of sampling is not equal to the original ratio
The proportion of sources seen during model training is determined by the sampler and does not necessarily correspond to the size of the sources on disk.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explanatory material mix: mechanisms and prerequisites that do not equal the original share
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Probability distribution and training token
Issues and mechanisms
The proportion of sources seen during model training is determined by the sampler and does not necessarily correspond to the size of the sources on disk. Small-source sampling weights could be increased to accommodate codes, natural languages and specific areas; This also means that the same content is repeated more times. The mixed scheme must record the cumulative token and the sole content, and the number of repeated samples cannot be described as the scale of the additional knowledge.
Defines whether the sampling unit is a document, fragment or token, and then gives the probability of origin. If the document is sampled evenly, the long document will contribute more token; If the token budget controls are applied, the number of documents per source may vary considerably. When applying smooth rules such as temperature, the original size and the probability of conversion should also be recorded, avoiding the publication of only one super-parameter without rebuilding the training stream.
A concrete example
The synthetic source A has 900,000 token and B has 100,000. (a) B approximately 10 per cent by original size; If the two were to be set in half, at a total training of 1 million token, B would have been used for approximately 500,000 token, equivalent to an average of five repetitions of the original content, and A would have been used for approximately 500,000. The number of rounds is expected to be the same number of records and is not guaranteed and is actually affected by packing, cutting and random sequencing.
Borders and checks
Small-source oversampling may improve this area and may exacerbate memory and damage other distributions. Sub-source verification and fixed combined weights should be available, not only for the total loss. The mixed ratio change would also have an impact on the suitability, length and computational utilization rates of tokenizer, which should be matched by a fixed range of valid counts and assessments.
A method of verification
A small sample stream can be counted from a small range of actual sources and compared with the range of expectations for establishing probability. If the target is controlled by token and the observation results are measured only by document, the result is distorted by the difference in length document. Rehabilitating training also requires the preservation of the sampler ' s location and random state to avoid repeated repeats of the same source after restart. The multi-organic environment should check whether processes have been duplicated, otherwise the contents of diskettes remain unchanged and the actual cumulative duplication increases, changing the original commingled target.
Check understanding
The source B was raised from 10% to 50%, which is 40% of the data added?
No, it's not. It is usually a possibility to change the reuse of existing content, and the only language is not increased. The source size and actual training sampling should be reported separately.
Half the document, half the token?
Not necessarily. Different lengths of documents change the token contribution; Sample units must be identified and the ratio of token valid from actual training streams must be established.
Sources and reconciliations
Definitions, methods and interfaces are available.
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.