Skip to content

Commit

Permalink
cleanup whitespace 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dfokina authored Oct 3, 2023
1 parent 3302b50 commit 3e65f9a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ def __init__(
"Represent the 'domain' 'text_type' for 'task_objective'", where:
- "domain" is optional, and it specifies the domain of the text, e.g., science, finance, medicine, etc.
- "text_type" is required, and it specifies the encoding unit, e.g., sentence, document, paragraph, etc.
- "task_objective" is optional, and it specifies the objective of embedding, e.g., retrieve a document, classify the sentence, etc.
Check some examples of instructions here: https://github.com/xlang-ai/instructor-embedding#use-cases
- "task_objective" is optional, and it specifies the objective of embedding, e.g., retrieve a document,
classify the sentence, etc.
Check some examples of instructions here: https://github.com/xlang-ai/instructor-embedding#use-cases.
:param batch_size: Number of strings to encode at once.
:param progress_bar: If true, displays progress bar during embedding.
:param normalize_embeddings: If set to true, returned vectors will have the length of 1.
Expand Down

0 comments on commit 3e65f9a

Please sign in to comment.