From fe116f857d7782b8262a61fc98b16f1abe606807 Mon Sep 17 00:00:00 2001 From: David Koski Date: Fri, 1 Mar 2024 23:26:25 -0800 Subject: [PATCH] swift-format --- Applications/LLMEval/ContentView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/LLMEval/ContentView.swift b/Applications/LLMEval/ContentView.swift index 48de844..3741c58 100644 --- a/Applications/LLMEval/ContentView.swift +++ b/Applications/LLMEval/ContentView.swift @@ -2,10 +2,10 @@ import LLM import MLX +import MLXRandom import Metal import SwiftUI import Tokenizers -import MLXRandom struct ContentView: View { @@ -100,7 +100,7 @@ class LLMEvaluator { // augment the prompt as needed let prompt = modelConfiguration.prepare(prompt: prompt) let promptTokens = MLXArray(tokenizer.encode(text: prompt)) - + // each time you generate you will get something new MLXRandom.seed(UInt64(Date.timeIntervalSinceReferenceDate * 1000))