Skip to content

Commit

Permalink
Pick number exactly representable as a Float
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed May 6, 2024
1 parent 8e34015 commit 45f2efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/GoogleAITests/GenerationConfigTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class GenerationConfigTests: XCTestCase {

func testEncodeGenerationConfig_allOptions() throws {
let temperature: Float = 0.5
let topP: Float = 0.95
let topP: Float = 0.75
let topK = 40
let candidateCount = 2
let maxOutputTokens = 256
Expand Down

0 comments on commit 45f2efc

Please sign in to comment.