You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 1.9 kB

1234567891011121314151617181920212223242526272829303132
  1. using LLama;
  2. using LLama.Common;
  3. using LLama.Examples;
  4. using LLama.Examples.NewVersion;
  5. using LLama.Examples.Old;
  6. Console.WriteLine("======================================================================================================");
  7. Console.WriteLine(" __ __ ____ __ \r\n/\\ \\ /\\ \\ /\\ _`\\ /\\ \\ \r\n\\ \\ \\ \\ \\ \\ __ ___ ___ __ \\ \\,\\L\\_\\\\ \\ \\___ __ _ __ _____ \r\n \\ \\ \\ __\\ \\ \\ __ /'__`\\ /' __` __`\\ /'__`\\ \\/_\\__ \\ \\ \\ _ `\\ /'__`\\ /\\`'__\\/\\ '__`\\ \r\n \\ \\ \\L\\ \\\\ \\ \\L\\ \\/\\ \\L\\.\\_ /\\ \\/\\ \\/\\ \\ /\\ \\L\\.\\_ /\\ \\L\\ \\\\ \\ \\ \\ \\ /\\ \\L\\.\\_\\ \\ \\/ \\ \\ \\L\\ \\\r\n \\ \\____/ \\ \\____/\\ \\__/.\\_\\\\ \\_\\ \\_\\ \\_\\\\ \\__/.\\_\\\\ `\\____\\\\ \\_\\ \\_\\\\ \\__/.\\_\\\\ \\_\\ \\ \\ ,__/\r\n \\/___/ \\/___/ \\/__/\\/_/ \\/_/\\/_/\\/_/ \\/__/\\/_/ \\/_____/ \\/_/\\/_/ \\/__/\\/_/ \\/_/ \\ \\ \\/ \r\n \\ \\_\\ \r\n \\/_/ ");
  8. Console.WriteLine("======================================================================================================");
  9. Console.WriteLine();
  10. Console.WriteLine("Please choose the version you want to test: ");
  11. Console.WriteLine("0. old version (for v0.3.0 or earlier version)");
  12. Console.WriteLine("1. new version (for versions after v0.4.0)");
  13. Console.Write("\nYour Choice: ");
  14. int version = int.Parse(Console.ReadLine());
  15. Console.WriteLine();
  16. if(version == 1)
  17. {
  18. await NewVersionTestRunner.Run();
  19. }
  20. else
  21. {
  22. OldTestRunner.Run();
  23. }