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 855 B

1234567891011121314151617181920212223
  1. namespace LLama.Benchmark
  2. {
  3. internal static class Constants
  4. {
  5. public static string ModelDir
  6. {
  7. get
  8. {
  9. return Environment.GetEnvironmentVariable("BENCHMARK_MODEL_DIR") ?? "";
  10. }
  11. }
  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("llava-v1.6-mistral-7b.Q3_K_XS.gguf");
  15. public static string LLavaMmpPath => Path.Combine("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. }