Procházet zdrojové kódy

Fix typo in llama_set_embeddings comment (#8077)

Daniel Bevenius před 1 rokem
rodič
revize
11318d9aa1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      llama.h

+ 1 - 1
llama.h

@@ -786,7 +786,7 @@ extern "C" {
     // Get the number of threads used for prompt and batch processing (multiple token).
     LLAMA_API uint32_t llama_n_threads_batch(struct llama_context * ctx);
 
-    // Set whether the model is in embeddings model or not
+    // Set whether the model is in embeddings mode or not
     // If true, embeddings will be returned but logits will not
     LLAMA_API void llama_set_embeddings(struct llama_context * ctx, bool embeddings);