Loading…
Glossary term
A release in which a model's trained weights are available to download.
With an open-weights release, the trained model parameters are published for anyone to download, run, inspect and often fine-tune. Training code and data are usually not included, and the license may restrict some uses.
Open weights let developers run models on their own hardware.
Load open weights from a hub
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("<model-id>")
model = AutoModelForCausalLM.from_pretrained("<model-id>")They shape competition and access to AI, and raise debates about safety when powerful models cannot be recalled.