From f41d26fe32da95ef49da20c06fdf5dda58b9eadd Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Thu, 26 Oct 2023 00:55:00 +0100 Subject: [PATCH] Removed hardcoded model path --- LLama.Examples/NewVersion/BatchedDecoding.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/LLama.Examples/NewVersion/BatchedDecoding.cs b/LLama.Examples/NewVersion/BatchedDecoding.cs index 702e8799..b48a1ccd 100644 --- a/LLama.Examples/NewVersion/BatchedDecoding.cs +++ b/LLama.Examples/NewVersion/BatchedDecoding.cs @@ -22,13 +22,12 @@ public class BatchedDecoding public static async Task Run() { Console.Write("Please input your model path: "); - //todo:var modelPath = Console.ReadLine(); - var modelPath = @"C:\Users\Martin\Documents\Python\oobabooga_windows\text-generation-webui\models\llama-2-7b-chat.Q5_K_M.gguf"; + var modelPath = Console.ReadLine(); Console.WriteLine("Prompt (leave blank to select automatically):"); var prompt = Console.ReadLine(); if (string.IsNullOrWhiteSpace(prompt)) - prompt = "I would like to tell you about"; + prompt = "Not many people know that"; // Load model var parameters = new ModelParams(modelPath);