change(web): apply code-styling suggestions

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Joshua Horton 2025-08-28 21:38:59 +07:00 • committed by GitHub
parent 4e8b7c8ad4
commit 1f3d270846
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -165,11 +165,11 @@ export class ContextTokenization {
const tokenDistribution = alignedTransformDistribution.map((entry) => {
const remap: Map<number, ProbabilityMass<Transform>> = new Map();
for(let pair of entry.sample.entries()) {
for(const pair of entry.sample.entries()) {
remap.set(pair[0], {
sample: pair[1],
p: entry.p
})
});
}
return remap;