Double max_length for bart-large-cnn to 2048

Summaries still kind of suck, maybe this will help.
This commit is contained in:
Tyler Hallada 2024-09-13 20:38:39 -04:00
parent 6cdcd1efd4
commit d878b2bf8b

View File

@ -126,7 +126,7 @@ async fn request_ai_summarization(
let client = reqwest::Client::new();
let request_body = SummarizeRequest {
input_text: input,
max_length: 1024,
max_length: 2048,
};
let response = client