Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ class MultimodalRunnerTest: XCTestCase {
MultimodalInput(String(format: chatTemplate, userPrompt)),
], Config {
$0.sequenceLength = sequenceLength
$0.maximumNewTokens = 128
$0.temperature = 0
}) { token in
text += token
if token == "<end_of_turn>" {
Expand All @@ -143,6 +145,8 @@ class MultimodalRunnerTest: XCTestCase {
MultimodalInput(String(format: chatTemplate, userPrompt)),
], Config {
$0.sequenceLength = sequenceLength
$0.maximumNewTokens = 128
$0.temperature = 0
}) { token in
text += token
if token == "<end_of_turn>" {
Expand Down Expand Up @@ -237,7 +241,7 @@ class MultimodalRunnerTest: XCTestCase {
)),
MultimodalInput(String(format: chatTemplate, userPrompt)),
], Config {
$0.maximumNewTokens = 256
$0.maximumNewTokens = 128
$0.temperature = 0
}) { token in
text += token
Expand Down
Loading