Skip to content

Commit 83164c2

Browse files
kashifpcuenca
andauthored
Update Tests/GenerationTests/GenerationIntegrationTests.swift
Co-authored-by: Pedro Cuenca <[email protected]>
1 parent 9492d47 commit 83164c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/GenerationTests/GenerationIntegrationTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ final class GenerationIntegrationTests: XCTestCase {
5454
var config = GenerationConfig(maxNewTokens: 3)
5555
config.doSample = false // Greedy mode
5656
config.eosTokenId = -1 // Disable early stopping
57+
config.maxLength = 10
5758

5859
let generation = TestGeneration()
5960
let startTokens = [0] // Start with token 0

0 commit comments

Comments
 (0)