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))