We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9492d47 commit 83164c2Copy full SHA for 83164c2
Tests/GenerationTests/GenerationIntegrationTests.swift
@@ -54,6 +54,7 @@ final class GenerationIntegrationTests: XCTestCase {
54
var config = GenerationConfig(maxNewTokens: 3)
55
config.doSample = false // Greedy mode
56
config.eosTokenId = -1 // Disable early stopping
57
+ config.maxLength = 10
58
59
let generation = TestGeneration()
60
let startTokens = [0] // Start with token 0
0 commit comments