liveBook · Manning

Training from scratch

As explained in Starting Data Analytics with Generative AI and Python

Training from scratch is the process of learning a model's parameters from initialized parameters using task-relevant training data.

Training from scratch means learning a model’s parameters from initialized parameters with task-relevant data, rather than adapting an existing model. For sentiment analysis, this can tailor the model closely to a particular dataset and domain. section 6.2.4

Consider this approach when a standard or fine-tuned model cannot capture the task well, but weigh the practical costs:

  • Gathering enough labeled data requires substantial time and effort. section 6.2.4
  • Designing and training the model requires significant expertise, even with generative-AI assistance. section 6.2.4
  • Training demands substantial computational resources. section 6.2.4
  • Fine-tuning an existing model is another advanced option, while detailed from-scratch implementation lies beyond this treatment. section 6.2.4

How Starting Data Analytics with Generative AI and Python covers it

How deep it goes
Explains benefits, costs, and expertise demands but stops short of implementation guidance and training procedures.
Examples
Uses sentiment analysis, labeled datasets, model design, and computational training as the concrete setting.
What it assumes
Assumes access to substantial labeled data, model-design expertise, and computational resources.
What you can do after
Evaluate whether domain-specific accuracy justifies the data, expertise, time, and computational investment required.
How it connects
Connects training from scratch with machine learning, sentiment analysis, fine-tuning, labeled data, and generative AI.

Also explained in

Compare how 3 books explain training from scratch →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Starting Data Analytics with Generative AI and Python. The section links point to the parts of the book it draws on.