Gemini Distillation Service

(docs.cloud.google.com)

18 points | by asawfofor 10 hours ago ago

6 comments

  • 10 hours ago ago
    [deleted]
  • moralestapia 9 hours ago ago

    Fine-tuning and distillation used to mean two different things. Now not so much anymore, I see.

    • bizzletk 7 hours ago ago

      Can you explain the difference?

      • nerdsniper 7 hours ago ago

        Fine-tuning is done against a dataset. Distillation is done against a model.

      • porridgeraisin 6 hours ago ago

        Distillation originally meant matching the distribution of the student model to the teacher model using something like a KL divergence.

        When you instead fine-tune the student on the samples from the teacher, which is what people mean by distillation today, you are in effect doing a monte-carlo version of the same thing. While in theory this is higher variance, given modern setups where the student and teacher are both large and are RLd heavily (leading to a sharp teacher distribution), and given that you typically use lots and lots of samples, it ends up OK.

  • 10 hours ago ago
    [deleted]