Type: huggingface.summarization.Summarize

Namespace: huggingface.summarization

Description

Summarizes text using a Hugging Face model. text, summarization, AI, LLM

Properties

Property Type Description Default
model hf.text_generation The model ID to use for the text generation {'type': 'hf.text_generation', 'repo_id': '', 'path': None, 'variant': None, 'allow_patterns': None, 'ignore_patterns': None}
inputs str The input text to summarize ``
max_length int The maximum length of the generated text 100
do_sample bool Whether to sample from the model False

Outputs

Output Type Description
output str  

Metadata

Browse other nodes in the huggingface.summarization namespace.