peptidedigest.model_prompts
#
Functions for generating model prompts for the Peptide Digest LLM.
Module Contents#
Functions#
|
Summarizes a scientific article into bullet points and a concise summary. |
|
|
|
- peptidedigest.model_prompts.summarize_article_segments(fulltext, tokenizer, model)[source]#
Summarizes a scientific article into bullet points and a concise summary.
- Parameters:
fulltext (list of str) – A list of text chunks from a scientific article.
- Returns:
final_summary (str) – A concise summary of the scientific article.
bullet_points (str) – Bullet points summarizing the scientific article.