You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* LLama.Examples: RepoUtils.cs → ConsoleLogger.cs
* LLama.Examples: Examples/Runner.cs → ExampleRunner.cs
* LLama.Examples: delete unused console logger
* LLama.Examples: improve splash screen appearance
the llama_empty_call() no longer shows configuration information on startup, but it will display it automatically the first time a model is engaged
* LLama.Examples: Runner → ExampleRunner
* LLama.Examples: improve model path prompt
The last used model is stored in a config file and is re-used when a blank path is provided
* LLama.Examples: NativeApi.llama_empty_call() at startup
* LLama.Examples: reduce console noise when saving model path
conststringSystemInstruction="You're an intelligent, concise coding assistant. Wrap code in ``` for readability. Don't repeat yourself. Use best practice and good coding standards.";
Console.WriteLine("WARNING: the model you selected is not a Code LLama model!");
23
+
Console.WriteLine("For this example we specifically recommend 'codellama-7b-instruct.Q4_K_S.gguf'");
24
+
Console.WriteLine("Press ENTER to continue...");
25
+
Console.ReadLine();
26
26
}
27
27
28
28
varparameters=newModelParams(modelPath)
@@ -35,12 +35,14 @@ public static async Task Run()
35
35
36
36
Console.ForegroundColor=ConsoleColor.Yellow;
37
37
Console.WriteLine("The executor has been enabled. In this example, the LLM will follow your instructions."+
38
-
"\nIt's a 7B Code Llama, so it's trained for programming tasks like \"Write a C# function reading a file name from a given URI\" or \"Write some programming interview questions\"."+
38
+
"\nIt's a 7B Code Llama, so it's trained for programming tasks like \"Write a C# function reading "+
39
+
"a file name from a given URI\" or \"Write some programming interview questions\"."+
0 commit comments