/ Модель

Характеристики

Контекст
131 072 токена
Параметры
69,5 млрд
Размер весов
141 ГБ
Архитектура
llama · dense
Базовая модель
Llama-3.1-70B-Instruct
Опубликована
15 окт 2024

SummLlama3.1-70B

Генерация текстаТекст → текст8 профессий

SummLlama3.1-70B — дообученная на предпочтениях модель Llama для создания точных, полных и лаконичных сводок длинных текстов и диалогов.

21скачиваний за 30 дней9лайковвеса обновлены13 ноя 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

SummLlama3.1-70B — модель DISLab для суммаризации текста, дообученная на базе meta-llama/Llama-3.1-70B-Instruct методом Direct Preference Optimization (DPO). Обучение использовало более 100 тысяч примеров обратной связи о качестве суммаризаций для текстов разных типов и длины, включая диалоги и недиалоговые документы из новостей, повседневной жизни, отчётов, медицины, интервью и встреч.

Модель содержит 69,5 млрд параметров, построена на плотной архитектуре Llama и поддерживает контекст до 131 072 токенов. Она предназначена для создания кратких сводок с акцентом на точность относительно источника, полноту ключевой информации и лаконичность; в README рекомендован конкретный формат запроса с инструкцией summarize. Метаданные также отмечают интерфейсы чата и вызова инструментов, но основное назначение модели — суммаризация.

README сообщает об оценках качества на человеческих и автоматизированных тестах, однако приведённые таблицы содержат результаты других конфигураций SummLlama и не позволяют установить отдельные численные результаты для версии 3.1-70B. Лицензия в предоставленных данных не указана.

Сценарии применения

  • суммаризация новостных статей
  • краткие сводки медицинских текстов
  • подведение итогов рабочих встреч
  • суммаризация интервью и диалогов
  • сжатие длинных отчётов и документов
  • составление краткого пересказа повседневных текстов

Ограничения

Отдельные численные результаты оценки именно версии 3.1-70B в README не приведены. Лицензия в предоставленных данных не указана.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Are you looking for a summarizer that can generate more human-preferred summaries across multiple domains?

Our SummLlama3.1-70B could be exactly what you need!

SummLlama3.1-70B is initialized from Llama3.1-70B-Instruct, with additional training using Direct Preference Optimization (DPO) based on large-scale (over 100K) summarization feedback.

The feedback encompasses a wide range of input documents, from short to lengthy texts, including both dialogue and non-dialogue formats, and spans across seven distinct domains:

  • Four non-dialouge domains: News, Lifestyle, Report, Medical
  • Three dialogue domains: Daily Life, Interview, Meeting

This is automated evaluation results:

Config.FaithfulnessCompletenessConcisenessAverage
Llama3-70B-Instruct0.9310.5960.4870.671
Llama3.1-70B-Instruct0.9270.6240.4580.670
GPT-4o0.9400.6570.4370.678
SummLlama3.1-70B0.9420.6370.9090.829

Please refer to our paper to catch up how to exploit LLM-generated feedback in the context of text summarization.

SummLlama3-70B,

https://huggingface.co/DISLab/SummLlama3-8B

https://huggingface.co/DISLab/SummLlama3-70B

SummLlama3.1-Series

https://huggingface.co/DISLab/SummLlama3.1-8B

https://huggingface.co/DISLab/SummLlama3.1-70B

SummLlama3.2-Series

https://huggingface.co/DISLab/SummLlama3.2-3B

Recommended Prompt for Text Summarization:

We recommend to use the prompt below to get the summary, since we trained the model using this.

def format_chat_template(document):
    instruction = "Please summarize the input documnet."
    row_json = [{"role": "user", "content": f"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Input:\n{document}\n\n### Response:\n"}]
    return tokenizer.apply_chat_template(row_json, tokenize=False)

Here is a brief overview of our summarizer:

Rather than relying on expensive human feedback, we utilize high-quality, multi-dimensional, and fine-grained feedback generated by large language models (LLMs).

This model excels at faithfulness, completeness, and conciseness, which are the three human-preferred aspects to judge what is a good summarizer.

  • Faithfulness: a summarizer does not manipulate the information in the input text and add any information not directly inferable from the input text.
  • Completeness: a summarizer ensures the inclusion of all key information from the input text in the output summary.
  • Conciseness: a summarizer refrains from incorporating information outside the key information in the output, maintaining a succinct and focused summary.

Based on our comprehensive evaluation, which included both human and automated assessments of summary quality, SummLlama3 demonstrated significant improvements over the original Llama3 series.

Here is the results:

Human Evaluation

Config.FaithfulnessCompletenessConcisenessAverage
Llama3-8B-Instruct0.9020.6360.7840.774
Llama3-70B-Instruct0.9530.6590.7920.801
SummLlama3-8B0.9800.6970.9590.879

Autoamted Evaluation using FineSurE

Config.FaithfulnessCompletenessConcisenessAverage
Llama3-8B-Instruct0.8640.5830.4500.632
Llama3-70B-Instruct0.9310.5960.4870.671
SummLlama3-8B0.9310.6140.6590.735
SummLlama3-70B0.9500.6320.7540.779

Example

See an example how the summary improved by SummLlama3-8B over Llama3-8/70B-Instruct on the document below:

SpeakerDialogue
Person 1Hey, Paul, you're still having Thanksgiving dinner at my house on Thursday, right?
Person 2Yeah, thanks again for the invitation. I was worried I'd have to spend it alone after my parents announced they'd be in Finland.
Person 1I think it's strange that you're not going with them. Is it because of the cold weather in Northern Europe?
Person 2Not exactly. I have a lot of work to do next week.
Person 1Well, I'm glad you won't be alone on a holiday. It'll be great to have you celebrate with us. The more the merrier!
Person 2Exactly, how many people will be there?
Person 1Let's see, my parents, my grandpa, my sister, my brother-in-law, my niece and my two cousins, plus us. So, ten people altogether.
Person 2Should I bring anything?
Person 1Nope, we've got it covered.
Person 2Come on, I hate to show up empty-handed. You are being so generous to have me. I know! I'll bring pie. I'll make a great pumpkin pie.
Person 1Sounds delicious, but my sister has already volunteered for dessert. Look, don't worry about it. There will be tons of food. Turkey, stuffing, green beans, sweet potatoes.
Person 2Wow, I'm getting hungry just thinking about it. How about this, I'll bring a nice bottle of wine. You can never have too much of that.
Person 1Well, isn't that the truth? Sounds good to me.
ModelSummary
Llama3-8B-InstructPerson1 invites Person2 to join them for Thanksgiving dinner at their house. Person2 accepts the invitation, citing that they were worried they would have to spend the holiday alone after their parents announced they would be in Finland. Person1 reassures Person2 that they are welcome and that the more the merrier. Person2 asks how many people will be attending and is told that there will be 10 people, including their family and cousins. Person2 offers to bring a gift, but Person1 declines, saying that they have everything covered. Person2 persists and offers to bring a bottle of wine or a pie, but Person1 suggests that their sister has already volunteered to bring dessert.
Llama3-70B-InstructPerson 1 invites Person 2 to their house for Thanksgiving dinner on Thursday. Person 2 is grateful for the invitation and explains they can't go to Finland with their parents due to work commitments. Person 1 is happy to have them celebrate with their family, which will consist of 10 people. When Person 2 offers to bring something, Person 1 declines, but eventually agrees to let them bring a bottle of wine.
SummLlama3-8BThe conversation is about Thanksgiving dinner arrangements, with Person2 (Paul) confirming his attendance at Person1's (host's) house on Thursday, discussing what to bring and what's already been taken care of, and finalizing the offer to bring wine instead of pie since someone else is handling desserts.

The summary of SummLlama3-8B can be considered a much human-preferred summary for the following reasons:

Core Focus: The summary accurately captures the main theme of the conversation, which revolves around the Thanksgiving dinner arrangements. It highlights how the two people confirm plans, discuss what to bring, and finalize the decision for Person2 to bring wine instead of pie. This maintains the core context.

Inclusion of Key-facts: The summary covers the important details of the conversation, including Person2's initial offer to bring dessert (pumpkin pie) and the shift to bringing wine due to another family member handling dessert. Other summaries tend to overlook or simplify this progression, while SummLlama3-8B fully captures the interaction’s key events.

Clarity and Conciseness: The summary is structured in a straightforward, concise manner, effectively summarizing the conversation without unnecessary details. It presents the flow and outcome of the discussion clearly, making it easy for readers to understand. The logical order of events is maintained, ensuring a smooth narrative.

Accurate Role Depiction: The summary clearly identifies Person1 as the host and Paul (Person2) as the guest, which helps clarify their relationship and the nature of the conversation. This distinction is more explicit in SummLlama3-8B compared to other summaries, which might leave these roles more ambiguous.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

vLLM

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
7f929e9

0 моделей