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.

Constants.cs 895 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.InteropServices;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace LLama.Benchmark
  8. {
  9. internal static class Constants
  10. {
  11. public static string ModelDir { get; set; } = "";
  12. public static string Generative7BModelPath => Path.Combine(ModelDir, "llama-2-7b-chat.Q3_K_S.gguf");
  13. public static string EmbeddingModelPath => Path.Combine(ModelDir, "all-MiniLM-L12-v2.Q8_0.gguf");
  14. public static string LLavaModelPath => Path.Combine(ModelDir, "llava-v1.6-mistral-7b.Q3_K_XS.gguf");
  15. public static string LLavaMmpPath => Path.Combine(ModelDir, "mmproj-model-f16.gguf");
  16. public static string LLavaImage => "Assets/extreme-ironing-taxi-610x427.jpg";
  17. public static string TextCompletionPromptsFilePath = "Assets/TextCompletionPrompts.txt";
  18. }
  19. }