Unverified Commit 8be921f9 authored by Nicolas Patry's avatar Nicolas Patry Committed by GitHub
Browse files

Announcing the default model used by the pipeline (with a link). (#13276)

parent a75db353
...@@ -408,6 +408,7 @@ def pipeline( ...@@ -408,6 +408,7 @@ def pipeline(
if model is None: if model is None:
# At that point framework might still be undetermined # At that point framework might still be undetermined
model = get_default_model(targeted_task, framework, task_options) model = get_default_model(targeted_task, framework, task_options)
logger.warning(f"No model was supplied, defaulted to {model} (https://huggingface.co/{model})")
# Config is the primordial information item. # Config is the primordial information item.
# Instantiate config if needed # Instantiate config if needed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment