Skip to content

Commit fe7ae5e

Browse files
committed
I hate formatters
1 parent 7fadb99 commit fe7ae5e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tests/TokenizersTests/ChatTemplateTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ class ChatTemplateTests: XCTestCase {
1717
static let phiTokenizerTask = Task {
1818
try await AutoTokenizer.from(pretrained: "microsoft/Phi-3-mini-128k-instruct")
1919
}
20+
2021
static func sharedPhiTokenizer() async throws -> Tokenizer {
2122
try await phiTokenizerTask.value
2223
}
2324

2425
static let tokenizerWithTemplateArrayTask = Task {
2526
try await AutoTokenizer.from(pretrained: "mlx-community/Mistral-7B-Instruct-v0.3-4bit")
2627
}
28+
2729
static func sharedTokenizerWithTemplateArray() async throws -> Tokenizer {
2830
try await tokenizerWithTemplateArrayTask.value
2931
}
@@ -276,4 +278,3 @@ class ChatTemplateTests: XCTestCase {
276278
}
277279
}
278280
}
279-

0 commit comments

Comments
 (0)