# How to pre-train the language model in huggingface?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-pre-train-the-language-model-in-huggingface%2F30982%3E%5C
**Category:** 🤗Transformers\
**Created:** [February 2, 2023, 12:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-pre-train-the-language-model-in-huggingface%2F30982 "2023-02-02T12:22:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CountingMstar](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@CountingMstar](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FCountingMstar)%5C
**Post date:** [February 2, 2023, 12:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-pre-train-the-language-model-in-huggingface%2F30982%2F1 "2023-02-02T12:22:49Z")

</div>

Hello every one. I am a master course student in AI. As a researcher, I want to make better language model in the text-summarization field. To do this, I want to know how pre-train the model. In huggingface, most of models are already pre-trained and only focus on the fine-tuning. If you know about that how to pre-train the model for the text-summraization(pegasus, bart ect) please let me know. Thanks.
