Skip to content

Commit

Permalink
reuse the abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidalyafeai committed Jun 22, 2024
1 parent a372062 commit c82574d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/embeddings_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def compute_embeddings(texts: List[str], model_name: str) -> List[List[float]]:


def build_dataset_prompt(dataset: Dict[str, Union[str, int]]) -> str:
return f"{dataset['Name']} {dataset['Description']} {dataset['Tasks']}"
return f"{dataset['Name']} {dataset['Description']} {dataset['Tasks']} {dataset['Abstract']}"

0 comments on commit c82574d

Please sign in to comment.