• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Work with Long Contexts in Large Language Models (in Russian)

Student: Denisov Nikita

Supervisor: Mikhail Mukhin

Faculty: St. Petersburg School of Physics, Mathematics, and Computer Science

Educational Programme: Applied Mathematics and Information Science (Bachelor)

Final Grade: 8

Year of Graduation: 2024

The research field of large language models is actively evolving. One area of focus is the expansion of the model's context window. Another is improving the model's quality for a specific language. This work combines these two directions and addresses the task of summarization. This task was chosen because it is important for businesses, and models are already capable of generating text summaries with a certain level of quality instead of humans. The goal of this work is to explore the possibility of adapting large language models for summarizing long texts in Russian. To achieve this, the following tasks are undertaken: determining quality metrics for the results, collecting data with long texts, preparing models, and evaluating their quality. As a result of this work, quality metrics for summarization of diplomas and books (analogous to MMLU) were developed, over 10,000 diplomas from SPbU from the past 8 years were collected, and five models were trained using LoRA and LongLoRA methods. An analysis of the results of the trained models was conducted, and recommendations for further work were provided. All artifacts of this work are publicly available on GitHub, Hugging Face, and Yandex Disk.

Full text (added May 22, 2024)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses