Double max_length for bart-large-cnn to 2048
Summaries still kind of suck, maybe this will help.
This commit is contained in:
parent
6cdcd1efd4
commit
d878b2bf8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user