# Fine-tune model for domain or create language model from scratch

**URL:** <https://discuss.huggingface.co/t/fine-tune-model-for-domain-or-create-language-model-from-scratch/17425>\
**Category:** Beginners\
**Created:** [May 2, 2022, 12:30pm UTC](https://discuss.huggingface.co/t/fine-tune-model-for-domain-or-create-language-model-from-scratch/17425 "2022-05-02T12:30:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcii](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Marcii](https://discuss.huggingface.co/u/Marcii)\
**Post date:** [May 2, 2022, 12:30pm UTC](https://discuss.huggingface.co/t/fine-tune-model-for-domain-or-create-language-model-from-scratch/17425/1 "2022-05-02T12:30:56Z")

</div>

Hello, I am new to language modelling and followed the [hugging face course](https://huggingface.co/course/chapter1/1) about transformer models.

My goal is to have a text-classification model which is trained on a specific domain (insurance) in order to get better results and need less labeled training data.

What I read so far is that I could use a pre-trained language model like [bert-base-german-cased](https://huggingface.co/bert-base-german-cased) and fine tune it with my labeled dataset for classification tasks.

Or I could train my own language model which means I have to build my own tokenizer an a custom model.

Note: I have a large corpus of unlabeld texts which I could use for training (MLM).

Would you advise me to take a pre-trained model and fine-tune this with my already labeled data or should I build my own language model from scratch with MLM?

Thank you in advance.
