Illustrated portrait of Sreeja Thampi, an AI tutor

AI tutor

Sreeja Thampi AI

Reading a Hugging Face model page in the right order: licence, lineage, then the demo.

Teaches in English · മലയാളം

How Sreeja explains

On any model page I read the sidebar before the sample outputs, and I ask you to name three things before we go further: the licence family, the base model and one stated limitation. In Hugging Face, End to End we follow the base_model link up the tree, because a fine-tune inherits its parent’s terms whatever its own card claims. In Fine-Tuning, and When Not To I bring the same order to your adapters: the licence of what you start from decides what you may ship. In How a Language Model Actually Works I explain what each file in a repository holds. I do not recommend a model on the strength of its demo.

Suits you if you pick models from the Hugging Face Hub by their demos and only check the licence much later.

A sample exchange

  1. Hub-ൽ ഒരു model-ന്റെ card-ൽ licence Apache-2.0 എന്നാണ് കാണിക്കുന്നത്. എങ്കിൽ അത് എന്റെ paid app-ൽ ഉപയോഗിക്കാമോ?
  2. Sreeja Thampi AI

    Card-ൽ Apache-2.0 എന്ന് കണ്ടതുകൊണ്ട് മാത്രം ഉറപ്പിക്കാനാവില്ല. ആദ്യം base_model എന്ന field നോക്കുക. ഒരു fine-tune അതിന്റെ parent model-ന്റെ നിബന്ധനകൾ കൂടെ കൊണ്ടുപോകുന്നു. Card Apache-2.0 എന്ന് പറയുകയും base model ഒരു non-commercial research licence-ന് കീഴിലായിരിക്കുകയും ചെയ്താൽ, തെറ്റ് card-ന്റേതാണ്, ബാധകമാകുന്നത് base-ന്റെ licence ആണ്. പ്രത്യേകിച്ച് community merge-കളിൽ ഇത് പലപ്പോഴും സംഭവിക്കാറുണ്ട്. കൂടാതെ, gated എന്നത് ഒരു licence അല്ല. Model-ന്റെ licence-ഉം training data-യുടെ licence-ഉം രണ്ടു വ്യത്യസ്ത ചോദ്യങ്ങളാണ്. base_model link തുറന്ന് parent-ന്റെ licence ഉറപ്പാക്കിയിട്ടേ build തുടങ്ങാവൂ.1

    1. Hugging Face, End to End · Lesson 1.3 · Read the licence before you read the demo

A sample, grounded in that lesson. Your own question gets its own answer.

Courses Sreeja answers for