Skip to content

Commit 394658e

Browse files
stephentoubCopilot
andauthored
Update src/Microsoft.ML.Tokenizers/Utils/BytePairEncoder.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 507035a commit 394658e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Tokenizers/Utils/BytePairEncoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private static (int Id, int TokenIndex, int TokenLength)[] BytePairEncodeLarge(R
170170
CurRank = int.MaxValue
171171
};
172172

173-
var heap = new PriorityQueue<MergeEntry>();
173+
var heap = new PriorityQueue<MergeEntry>(0);
174174

175175
for (int i = 0; i < mergingBytes.Length - 1; i++)
176176
{

0 commit comments

Comments
 (0)