liveBook · Manning

Transfer learning

As explained in Domain-Specific Small Language Models

The process of taking a model trained on one task or domain and applying it to a related task or domain, often with further tuning.

Transfer learning adapts a model trained on one task or domain to a related task or domain, usually by tuning it with domain-specific data. It specializes generalist or open-source language models without retraining every parameter from scratch. section 1.6 section 1.7

Molecule generation and captioning

Tuning an LLM on molecule descriptions and SMILES structures enables it to generate molecular structures from descriptions, or descriptions from structures. section 1.6

How Domain-Specific Small Language Models covers it

How deep it goes
Defines transfer learning and compares full, partial, and parameter-efficient tuning, without detailing implementation procedures.
Examples
Uses molecule descriptions and SMILES structures for generation and captioning.
What it assumes
Assumes a pretrained model and related target task, while defining how domain-specific data enables adaptation.
What you can do after
Apply domain-specific data to select a specialization strategy while weighing accuracy, computation, overfitting, and forgetting.
How it connects
Connects pretrained models with fine-tuning, parameter-efficient fine-tuning, catastrophic forgetting, and domain-specific LLMs.

Also explained in

Compare how 11 books explain transfer learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Domain-Specific Small Language Models. The section links point to the parts of the book it draws on.