/ Модель

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

Контекст
8 192 токена
Размер весов
13,3 ГБ
Лицензия
Apache 2.0
Архитектура
mpt · dense
Опубликована
28 мая 2023

mpt-7b-storysummarizer

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

Дообученная MPT-модель для пересказа художественных произведений и анализа их сюжета.

102скачиваний за 30 дней18лайковвеса обновлены30 мая 2023

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

emozilla разработал эту дообученную версию mosaicml/mpt-7b-storywriter для создания кратких пересказов и литературного анализа художественных произведений. Модель построена на архитектуре MPT и выдаёт текст; примеры в карточке показывают анализ отдельных сюжетных глав и пересказ текста объёмом 6 287 токенов.

Модель подходит для подготовки краткого содержания рассказов и романов, а также для анализа персонажей, событий и тем повествования. Обучение проводилось на наборе emozilla/booksum-summary-analysis_gptneox-8192, адаптированном из kmfoda/booksum, с последовательностями длиной до 8 192 токенов. Для использования заявлена лицензия Apache-2.0.

Результаты зависят от входного текста и параметров генерации; примеры показывают возможные интерпретации сюжета, а не гарантированно точный литературоведческий вывод. README описывает загрузку с оптимизациями MPT и 8-битным режимом, но не приводит формальной оценки качества.

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

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

Ограничения

Модель ориентирована на художественные тексты; примеры не подтверждают точность анализа для других жанров или задач. Формальные результаты оценки качества в карточке не приведены.

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

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

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

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

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

Открыть на Hugging Face

mpt-7b-storysummarizer

This is a fine-tuned version of mosaicml/mpt-7b-storywriter intended for summarization and literary analysis of fiction stories.

The code for this model includes the adaptions from Birchlabs/mosaicml-mpt-7b-chat-qlora which allow MPT models to be loaded with device_map="auto" and load_in_8bit=True. It also has the latest key-value cache MPT code to allow for fast inference with transformers (thus, use_cache is set to True in config.json).

How to Use

SOME_FICTION

### SUMMARY:

or

SOME_FICTION

### ANALYSIS:
tokenizer = AutoTokenizer.from_pretrained("emozilla/mpt-7b-storysummarizer")
model = AutoModelForCausalLM.from_pretrained(
  "emozilla/mpt-7b-storysummarizer",
  load_in_8bit=True,
  trust_remote_code=True,
  device_map="auto")

Example outputs

Outputs on the text of Waystation City (6,287 tokens)

Summary

temperature=0.6, repetition_penalty=1.04, top_p=0.95, top_k=50, do_sample=True, max_new_tokens=1024

The Disappeared Twins asks Gerty to record their disappearance and she agrees on the condition that they tell her their story. After hearing their story, Gerty tells them that she will give them passage to the lower city and they accept. They board a late-night tram and Micheala joins them. At the end of the line, they bid goodbye to Gerty and Micheala advises them to wait patiently for their turn to disappear. The twins decide to wait and depart. As they descend the stairs leading into the lower city, they pass a sign warning them of the dangers awaiting them and arrive at the dock. Here, the twins paint a message on the wall reading "We Want To Stay What We Are" and then approach the ferry drivers. The ferry drivers notice them and prepare to attack, but Gerty warns them and they flee. The twins decide to follow the advice of the sign and wait. They watch the boats appear and disappear in the holes in the fabric of reality and eventually one appears that seems to be from the 1970's. The twins run forward and jump into the hole. However, as they leap into the hole, the boat disappears and the hole snaps shut. Claude calls out to Gerty to write down their story and then jumps into the hole. He lands in a field of wheat and waits for Gerty to catch up with him. When she arrives, he instructs her to write down the story of the Disappeared Twins. Claude then dissolves into the hole and Gerty watches as the field turns to sand, then rock, and then water. She sees him shaking his head and then he disappears.

Analysis

temperature=0.75, repetition_penalty=1.04, top_p=0.95, top_k=50, do_sample=True, max_new_tokens=1024

This chapter details the twins' journey to the Lower City, where the reader learns that it is not safe for anyone who wishes to leave to go. By describing the twins' experiences and thoughts, the reader gets a sense of what it feels like to be trapped in a seemingly permanent limbo, unable to move forward or backward in time. In addition, the readers realizes that despite the danger of staying, the twins cannot move on, nor do they seem interested in leaving. The twins seek out Gretel's expertise because they believe that she can help them get home and avoid dissolving entirely. However, Gretel explains that she can only help if they tell her their entire stories, including their pasts--something the twins have thus far avoided doing. Furthermore, they never speak of why they wish to return to the time in which they lived. The fact that they never explain their desire to leave suggests that this limbo is a sort of purgatory, meant to test the twins' resolve to stay or go. Thus, the twins may realize that they do not wish to leave Waystation City, but they have not quite figured out how to fully settle in.

Training

The model was trained on emozilla/booksum-summary-analysis_gptneox-8192, which is adapted from kmfoda/booksum. The training run was performed using llm-foundry on an 8xA100 80 GB node at 8,192 token sequence length using this configuration. The run can be viewed on wandb.

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

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

GPU в ailist

Универсальный рантайм

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

Подбираем GPU…

Класс архитектуры
MPTForCausalLM
Ревизия весов
bbaa409

0 моделей