There was an error while loading. Please reload this page.
1 parent 7fadb99 commit fe7ae5eCopy full SHA for fe7ae5e
1 file changed
Tests/TokenizersTests/ChatTemplateTests.swift
@@ -17,13 +17,15 @@ class ChatTemplateTests: XCTestCase {
17
static let phiTokenizerTask = Task {
18
try await AutoTokenizer.from(pretrained: "microsoft/Phi-3-mini-128k-instruct")
19
}
20
+
21
static func sharedPhiTokenizer() async throws -> Tokenizer {
22
try await phiTokenizerTask.value
23
24
25
static let tokenizerWithTemplateArrayTask = Task {
26
try await AutoTokenizer.from(pretrained: "mlx-community/Mistral-7B-Instruct-v0.3-4bit")
27
28
29
static func sharedTokenizerWithTemplateArray() async throws -> Tokenizer {
30
try await tokenizerWithTemplateArrayTask.value
31
@@ -276,4 +278,3 @@ class ChatTemplateTests: XCTestCase {
276
278
277
279
280
-
0 commit comments