Concepts / Synthetic Data and Model Distillation

Synthetic Data and Model Distillation

Open training data supports retraining, deeper understanding, and auditing. Most open source models are currently open weight only, so the data question usually has a no as its answer.

  • Programming

A Team Downloads an Open Source Model

Suppose a team finds a model described as open source and downloads it. It is tempting to assume that the team has also received everything that went into building the model. The phrase is borrowed from software, where the source code is the complete recipe for a program. For models, the picture is more complicated, and the term has become contentious because the people who use it do not always mean the same thing by it.

What do you think happens?

A team downloads a model that is described as open source. Has the team also received the data that the model was trained on?

Reveal answer
Answer:

Not necessarily. In the usage this course follows, open source model means the model's weights are made public, regardless of whether the training data is available or what license applies.

The weights are the learned values the model uses to produce outputs. The training data is what the model learned from. The label open source, on its own, only tells you about the weights. Whether the training data is public is a separate property that you have to check.

This article separates the parts that a model label can refer to, explains why the difference matters, and shows how to read the license that governs a model's use. Understanding what these labels actually promise is the first step in choosing a model for an application.

Two Ingredients: Weights and Training Data

Two main ingredients are under discussion whenever people talk about open models. The first is the weights. The weights are the learned values that a model uses to produce its outputs. The second is the training data, which is what the model learned from. The labels open source, open weight, and open model are three different ways of describing how these two ingredients are shared.

Definition

Open source model, in the usage this course follows, means that the model's weights are made public, regardless of training data availability or license.

Because the weights are the minimum that an open source model guarantees, the label alone does not promise that the training data is public. The label is about one ingredient, and the other ingredient needs its own check.

Three Labels for Shared Ingredients

The three labels form a simple way to read a release. Downloadable weights are the minimum that an open source model guarantees. An open weight model has public weights but not public training data. An open model comes with open training data on top of the weights. Open weight models add nothing beyond the minimum, so the difference between the first two labels is about the training data, which an open weight model keeps private.

WeightspublicWeightspublicWeightspublicTraining datanot guaranteedTraining datanot publicTraining datapublic
Each column is one kind of model label. The weights are public in all three cases. The training data is public only for an open model, and it is private for an open weight model.

The table of differences makes the pattern concrete. Notice that the middle label is the one most often mistaken for the others. An open source label does not promise open training data, and an open weight label explicitly withholds it.

LabelPublic weightsPublic training dataWhat you can conclude
Open source modelYesNot guaranteedYou can download the weights. You must check the training data separately.
Open weight modelYesNoYou get the weights but not the data the model learned from.
Open modelYesYesYou get both the weights and the open training data.

Reading the three labels by their two ingredients

Weights, Data, and Licenses Are Independent

A useful habit is to treat the three properties of a release as independent questions. Whether the weights are public is one question. Whether the training data is public is a second question. Which license governs use is a third. Answering one does not answer the others. A model can have public weights while its training data stays private, and public weights still do not tell you what you are allowed to do with the model.

Model releasePublic weightsdownloadable valuesTraining datamay stay privateLicensegoverns what you may dohashashas
A single model release can have public weights, private training data, and a custom license at the same time. Each property is answered separately.

Why Training Data Often Stays Private

Training data matters because a model's performance depends largely on what it was trained on. Some people therefore argue that a model should count as open only if its training data is also public. Access to the data supports several activities that weights alone cannot, including retraining, deeper understanding of the model, and auditing.

Auditing is a practical reason to care about open data. It also explains why developers sometimes keep training data information private. Publishing details about training data can expose developers to public scrutiny and potential lawsuits. As a result, the vast majority of open source models are open weight only, which means their weights are public while their training data is not.

Key point

Open training data supports retraining, deeper understanding, and auditing. Most open source models are currently open weight only, so the data question usually has a no as its answer.

Reading a License in Three Questions

Public weights do not tell you what you are allowed to do with the model. That is the job of the license. Before foundation models, the software world already had many licenses, including MIT, Apache 2.0, the GNU General Public License, BSD, and Creative Commons. Models added to that confusion because many of them are released under their own custom licenses. Each license has its own conditions, so evaluating a license for your needs is your responsibility.

Three questions are a useful starting point when reading any model license. Each one addresses a different kind of condition. The first asks whether commercial use is allowed. The second asks which restrictions apply even when commercial use is allowed. The third asks whether the model's outputs may be used to train or improve other models.

Read the licenseCommercial useallowed?User-count threshold?for example 700 millionOutputs may trainother models?Check fit for youruse caseNoncommercial useonlyDistillation notpermittedSpecial licenseneededabove the thresholdnoyesyesnonoyes
Read the license by asking about commercial use first, then about restrictions, then about training other models. A no at a decision point changes what you can do with the model.

Model Distillation as a Data Flow

One important use of model outputs is model distillation. In distillation, a student model, typically much smaller, is taught to mimic the behavior of a teacher model, typically much larger. The teacher's outputs serve as the material the student learns from. The path is the key idea: the teacher produces outputs, those outputs become training material, and the student learns from that material.

Teacher modeltypically much largerTeacher outputsgenerated responsesLicense permitstraining?Synthetic trainingmaterialStudent modeltypically much smallerproduceschecked againstyesstudent learns from
Outputs from the teacher become synthetic training material for the student. A license check sits on that path, because whether the route is permitted depends on the license.

The diagram describes the technique. The license determines whether you may take that route with a specific model. Licenses differ on this point. Mistral did not allow this use originally but later changed its license. As of the latest information available for this material, the Llama licenses still do not allow it.

Worked Example: Checking a Model for a Product

Worked example

Deciding whether a team can use a model and its outputs

A small team wants to build a commercial product on a model labeled open source. They also want to generate synthetic answers from that model and use them to train a smaller student model. The team expects a few thousand users at launch. What should they check?

  1. 1
    Check the weights

    The open source label means the weights are public. That answers only the first ingredient and says nothing about the training data or the license.

  2. 2
    Check the training data

    Open source does not promise open training data. The team should look for separate evidence of whether the training data is public, since most open source models are open weight only.

  3. 3
    Ask about commercial use

    The license must be read for whether commercial use is allowed. Public weights alone do not settle this.

  4. 4
    Ask about restrictions

    The team should check for user-count thresholds. A threshold of 700 million monthly active users is far above a launch with a few thousand users, but the license still has to be read for it and for any other conditions.

  5. 5
    Ask about training other models

    Generating synthetic answers and training a student model is a distillation route. The team must confirm in the license text whether outputs may be used this way before building the student model.

Result

The label alone is not enough. The team must check the weights, the training data, the commercial terms, the restrictions, and whether outputs may train another model. If the license does not allow distillation, the synthetic data plan cannot go ahead with that model.

Mistakes Beginners Make with Model Labels

  • Common mistake

    Assuming open source means the training data is public

    What it looks like

    A team reads open source on a model card and assumes it can see how the model was trained.

    Why it fails

    In the usage this course follows, open source refers to the weights. The training data is a separate property and is often private.

    Do this instead

    Check the training data separately and treat the open source label as a statement about the weights only.

  • Common mistake

    Treating open weight and open as the same thing

    What it looks like

    A reader sees that an open weight model can be downloaded and concludes it comes with its training data.

    Why it fails

    An open weight model has public weights but not public training data. An open model adds open training data.

    Do this instead

    Use the presence or absence of public weights and public training data to tell the labels apart.

  • Common mistake

    Assuming public weights mean any use is allowed

    What it looks like

    A team downloads public weights and starts a commercial product without reading the license.

    Why it fails

    Public weights do not tell you what you are allowed to do with the model. The license governs that.

    Do this instead

    Read the license for commercial use, restrictions, and whether outputs may train other models.

  • Common mistake

    Assuming a license with restrictions is always bad

    What it looks like

    A reader rejects a model because its license contains any restriction at all.

    Why it fails

    Nearly every sensible license has some restrictions, and the useful question is which restrictions apply.

    Do this instead

    Compare each restriction against your actual use case, such as your expected number of users.

  • Common mistake

    Assuming a model's outputs can always train another model

Practice: Reading a Model Label

EASY

A model's release notes say it is open source, its weights can be downloaded, and its license states that outputs may not be used to train other models. Without any further information, say which of the three labels fits best, whether its training data is known to be public, and whether you could use its synthetic outputs to train a student model.

Hints
  • Start by asking which ingredient the open source label describes.
  • Remember that the presence of public weights does not confirm public training data.
  • Check the third license question about training other models before deciding on distillation.

Key Takeaways

  • The phrase open source model, in the usage this course follows, means the weights are public. It does not by itself say whether the training data is public.
  • Open source, open weight, and open models are told apart by whether the weights and the training data are public. Most open source models are open weight only.
  • Public weights do not determine what you may do. Evaluate a license by asking about commercial use, restrictions such as user-count thresholds, and whether outputs may train other models.
  • Model distillation moves a teacher model's outputs into training material for a student model, and the license decides whether that route is permitted.

Related concepts

More concepts starting with S