diff --git a/docs/source/quicktour.md b/docs/source/quicktour.md index fd571c861b3..b70cbb939e1 100644 --- a/docs/source/quicktour.md +++ b/docs/source/quicktour.md @@ -173,8 +173,9 @@ The `device_map` parameter determines where to place each model layer, and speci ```py from accelerate import load_checkpoint_and_dispatch +model_checkpoint = "your-local-model-folder" model = load_checkpoint_and_dispatch( - model, checkpoint="mistralai/Mixtral-8x7B-Instruct-v0.1", device_map="auto", no_split_module_classes=['Block'] + model, checkpoint=model_checkpoint, device_map="auto", no_split_module_classes=['Block'] ) ```