mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Add summarization name mapping for MultiNews (#18117)
* Add summarization name mapping for MultiNews * Add summarization name mapping for MultiNews
This commit is contained in:
parent
195133363e
commit
fde22c75a1
@ -286,6 +286,7 @@ summarization_name_mapping = {
|
||||
"xglue": ("news_body", "news_title"),
|
||||
"xsum": ("document", "summary"),
|
||||
"wiki_summary": ("article", "highlights"),
|
||||
"multi_news": ("document", "summary"),
|
||||
}
|
||||
|
||||
|
||||
|
@ -266,6 +266,7 @@ summarization_name_mapping = {
|
||||
"xglue": ("news_body", "news_title"),
|
||||
"xsum": ("document", "summary"),
|
||||
"wiki_summary": ("article", "highlights"),
|
||||
"multi_news": ("document", "summary"),
|
||||
}
|
||||
# endregion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user