AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

Pre-training is a foundational technique in deep learning where a model learns broad features and patterns from massive amounts of data, often without labels. This process enables the model to develop a robust internal representation of the domain, such as language syntax in NLP or visual edges in computer vision. After pre-training, the model is typically fine-tuned on a smaller, labeled dataset specific to a downstream task, significantly improving performance and reducing the amount of task-specific data required.

Summary

The initial phase of training a machine learning model on a large, unlabeled dataset to learn general representations before fine-tuning on specific tasks.

Key Concepts

Use Cases

Code Example

1
2
3
from transformers import BertModel
model = BertModel.from_pretrained('bert-base-uncased')
# Model is now pre-trained and ready for fine-tuning